CreativePython 0.1.2__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. {creativepython-0.1.2 → creativepython-0.1.4}/MANIFEST.in +0 -1
  2. {creativepython-0.1.2/src/CreativePython.egg-info → creativepython-0.1.4}/PKG-INFO +1 -1
  3. {creativepython-0.1.2 → creativepython-0.1.4}/pyproject.toml +1 -12
  4. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/_creativepythonSetup.py +5 -5
  5. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/_soundfont.py +6 -5
  6. {creativepython-0.1.2 → creativepython-0.1.4/src/CreativePython.egg-info}/PKG-INFO +1 -1
  7. {creativepython-0.1.2 → creativepython-0.1.4}/LICENSE +0 -0
  8. {creativepython-0.1.2 → creativepython-0.1.4}/README.md +0 -0
  9. {creativepython-0.1.2 → creativepython-0.1.4}/setup.cfg +0 -0
  10. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/__init__.py +0 -0
  11. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/.DS_Store +0 -0
  12. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/ArvoPart.CantusInMemoriam.py +0 -0
  13. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/ConcretPH_Xenakis.py +0 -0
  14. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/DeepPurple.SmokeOnTheWater.py +0 -0
  15. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/JS_Bach.Canon.TriasHarmonica.BWV1072.py +0 -0
  16. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/JS_Bach.Canon_1.GoldbergGround.BWV1087.py +0 -0
  17. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/Mozart.MusikalischesWurfelspiel.py +0 -0
  18. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/PierreCage.StructuresPourDeuxChances.py +0 -0
  19. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/RGB_Display.py +0 -0
  20. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/TerryRiley.InC.py +0 -0
  21. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/arpeggiator1.py +0 -0
  22. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/arpeggiator2.py +0 -0
  23. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/autumnLeaves.py +0 -0
  24. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/axelF.py +0 -0
  25. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/biosignals.txt +0 -0
  26. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/boids.py +0 -0
  27. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/brownianMelody.py +0 -0
  28. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/changesByTupac.py +0 -0
  29. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/clementine.py +0 -0
  30. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/continuousPitchInstrumentAudio.py +0 -0
  31. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/drumExample.py +0 -0
  32. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/drumMachinePattern1.py +0 -0
  33. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/drumsComeAlive.py +0 -0
  34. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/fibonacci.py +0 -0
  35. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/findPitchOctave.py +0 -0
  36. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/furElise.py +0 -0
  37. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/generativeMusic.py +0 -0
  38. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/goldenTree.py +0 -0
  39. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/guidoWordMusic.py +0 -0
  40. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/harmonicesMundi.py +0 -0
  41. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/harmonicesMundiRevisisted.py +0 -0
  42. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/harmonographLateral.py +0 -0
  43. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/harmonographRotary.py +0 -0
  44. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/iPianoBlackDown.png +0 -0
  45. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/iPianoOctave.png +0 -0
  46. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/iPianoParallel.py +0 -0
  47. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/iPianoSimple.py +0 -0
  48. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/iPianoWhiteCenterDown.png +0 -0
  49. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/iPianoWhiteLeftDown.png +0 -0
  50. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/iPianoWhiteRightDown.png +0 -0
  51. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/midiIn1.py +0 -0
  52. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/midiIn2.py +0 -0
  53. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/midiIn3.py +0 -0
  54. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/midiOut.a.py +0 -0
  55. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/midiOut.b.py +0 -0
  56. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/midiSynthesizer.py +0 -0
  57. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/midiSynthesizer2.py +0 -0
  58. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/moondog-bird_slament.wav +0 -0
  59. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/musicalSphere.py +0 -0
  60. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/note.py +0 -0
  61. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/octoplus.py +0 -0
  62. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/oscIn1.py +0 -0
  63. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/oscIn2.py +0 -0
  64. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/pentatonicMelody.py +0 -0
  65. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/pianoPhase.py +0 -0
  66. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/pianoRollGenerator.py +0 -0
  67. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/playNote.py +0 -0
  68. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/proteinMusic.py +0 -0
  69. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/randomCircles.py +0 -0
  70. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/randomCirclesThroughMidiInput.py +0 -0
  71. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/randomCirclesTimed.py +0 -0
  72. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/retrograde.a.py +0 -0
  73. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/retrograde.b.py +0 -0
  74. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/retrograde.c.py +0 -0
  75. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/rowYourBoat.py +0 -0
  76. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/scaleTutor.py +0 -0
  77. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/sierpinskiTriangle.py +0 -0
  78. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/simpleButtonInstrument.py +0 -0
  79. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/simpleCircleInstrument.py +0 -0
  80. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/sineMelody.py +0 -0
  81. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/sineMelodyPlus.py +0 -0
  82. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/sliderControl.py +0 -0
  83. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/sonifyBiosignals.py +0 -0
  84. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/sonifyImage.py +0 -0
  85. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/soundscapeLoutrakiSunset.jpg +0 -0
  86. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/stringQuartet.py +0 -0
  87. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/textMusic.py +0 -0
  88. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/theWayItIs.py +0 -0
  89. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/themeAndVariations.py +0 -0
  90. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/throwingDice.py +0 -0
  91. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/windChimes.py +0 -0
  92. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/examples/zipfMetrics.py +0 -0
  93. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/resources/.DS_Store +0 -0
  94. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/resources/550973__luizguilherme_a__clean-guitarr-riff.mp3 +0 -0
  95. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/resources/chopper.jpg +0 -0
  96. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython/resources/de-brazzas-monkey.jpg +0 -0
  97. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython.egg-info/SOURCES.txt +0 -0
  98. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython.egg-info/dependency_links.txt +0 -0
  99. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython.egg-info/requires.txt +0 -0
  100. {creativepython-0.1.2 → creativepython-0.1.4}/src/CreativePython.egg-info/top_level.txt +0 -0
  101. {creativepython-0.1.2 → creativepython-0.1.4}/src/_RealtimeAudioPlayer.py +0 -0
  102. {creativepython-0.1.2 → creativepython-0.1.4}/src/gui.py +0 -0
  103. {creativepython-0.1.2 → creativepython-0.1.4}/src/iannix.py +0 -0
  104. {creativepython-0.1.2 → creativepython-0.1.4}/src/image.py +0 -0
  105. {creativepython-0.1.2 → creativepython-0.1.4}/src/markov.py +0 -0
  106. {creativepython-0.1.2 → creativepython-0.1.4}/src/midi.py +0 -0
  107. {creativepython-0.1.2 → creativepython-0.1.4}/src/music.py +0 -0
  108. {creativepython-0.1.2 → creativepython-0.1.4}/src/osc.py +0 -0
  109. {creativepython-0.1.2 → creativepython-0.1.4}/src/timer.py +0 -0
  110. {creativepython-0.1.2 → creativepython-0.1.4}/src/zipf.py +0 -0
@@ -1,5 +1,4 @@
1
1
  recursive-include src/CreativePython/resources *
2
2
  recursive-include src/CreativePython/examples *
3
- recursive-include src/CreativePython/scripts *
4
3
  recursive-exclude */.DS_Store
5
4
  recursive-exclude */__pycache__/*
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CreativePython
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: A Python-based software environment for developing algorithmic art projects.
5
5
  Author-email: "Dr. Bill Manaris" <manaris@cofc.edu>, Taj Ballinger <ballingertj@g.cofc.edu>, Trevor Ritchie <ritchiets@g.cofc.edu>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "CreativePython"
7
- version = "0.1.2"
7
+ version = "0.1.4"
8
8
  description = "A Python-based software environment for developing algorithmic art projects."
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
@@ -35,16 +35,5 @@ dependencies = [
35
35
  [project.urls]
36
36
  Homepage = "https://jythonmusic.me"
37
37
 
38
- [tool.setuptools.package-data]
39
- CreativePython = [
40
- "examples/*",
41
- "scripts/*",
42
- "resources/*",
43
- # "bin/windows/*",
44
- # "bin/macos/*",
45
- # "licenses/*",
46
- # "wheels/*.whl"
47
- ]
48
-
49
38
  [project.optional-dependencies]
50
39
  dev = ["build", "twine"]
@@ -16,14 +16,14 @@ class SetupError(Exception):
16
16
  def _print(text):
17
17
  print(f"[CreativePython Setup]: {text}")
18
18
 
19
- def _run(cmd, env=os.environ, log=None, check=True):
19
+ def _run(cmd, env=os.environ, log=None, check=True, quiet=True):
20
20
  if debug: _print(f"Running: {' '.join(cmd)}")
21
21
  result = subprocess.run(
22
22
  cmd,
23
23
  check=False,
24
24
  text=True,
25
- stdout=subprocess.PIPE,
26
- stderr=subprocess.PIPE,
25
+ stdout=subprocess.PIPE if quiet else None,
26
+ stderr=subprocess.PIPE if quiet else None,
27
27
  env=env
28
28
  )
29
29
 
@@ -109,10 +109,10 @@ def _installCreativePython():
109
109
 
110
110
  with open(LOG_PATH, "w", encoding="utf-8", errors="replace") as log:
111
111
  # find the python interpreter location
112
- py = sys.executable.replace("pythonw.exe", "python.exe")
112
+ py = sys.executable
113
113
 
114
114
  _run([py, '-m', 'pip', 'install', '--upgrade', 'pip', 'setuptools', 'wheel'], log=log, check=False)
115
- _run([py, '-m', 'pip', 'install', '--user', 'CreativePython'], log=log)
115
+ _run([py, '-m', 'pip', 'install', '--no-cache-dir', 'CreativePython'], log=log, quiet=True)
116
116
 
117
117
  if debug: _print("CreativePython installed successfully.")
118
118
 
@@ -41,6 +41,7 @@ def _findSoundfont(candidate=None):
41
41
  c = candidates[i]
42
42
  if c and c.exists():
43
43
  soundfontPath = str(c)
44
+ i = i + 1
44
45
 
45
46
  return soundfontPath
46
47
 
@@ -55,7 +56,7 @@ def _downloadSoundfont(destination=SOUNDFONT_PATH):
55
56
  path = retrieve(
56
57
  url=SF2_URL,
57
58
  known_hash=f"sha256:{SF2_SHA256}",
58
- progressbar=True,
59
+ progressbar=False,
59
60
  fname=destination.name,
60
61
  path=str(destination.parent)
61
62
  )
@@ -65,8 +66,8 @@ def _downloadSoundfont(destination=SOUNDFONT_PATH):
65
66
  def _installSoundfont():
66
67
  soundfontPath = _findSoundfont()
67
68
  if not soundfontPath:
68
- print(f"[CreativePython Setup]: Downloading MIDI Soundfont...")
69
- _soundfontPath = _downloadSoundfont()
70
- print(f"[CreativePython Setup]: Soundfont downloaded to {_soundfontPath}")
69
+ print(f"[CREATIVEPYTHON SETUP]: Downloading MIDI Soundfont...")
70
+ soundfontPath = _downloadSoundfont()
71
+ print(f"[CREATIVEPYTHON SETUP]: Soundfont downloaded to {soundfontPath}")
71
72
 
72
- return _soundfontPath
73
+ return soundfontPath
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CreativePython
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: A Python-based software environment for developing algorithmic art projects.
5
5
  Author-email: "Dr. Bill Manaris" <manaris@cofc.edu>, Taj Ballinger <ballingertj@g.cofc.edu>, Trevor Ritchie <ritchiets@g.cofc.edu>
6
6
  License: MIT License
File without changes
File without changes
File without changes