diff --git a/csoundengine/state.py b/csoundengine/state.py index dbcaeb7..b9933f9 100644 --- a/csoundengine/state.py +++ b/csoundengine/state.py @@ -5,7 +5,10 @@ import os -__all__ = ('state') +__all__ = ( + 'state', +) + _home = os.path.expanduser("~") @@ -66,5 +69,3 @@ def openSoundfont(filter="Soundfont (*.sf2)", title="Open Soundfont", ensureSele if not out and ensureSelection: raise ValueError("No soundfont selected") return out - - diff --git a/docs/renderjob.rst b/docs/renderjob.rst index e69de29..4b479bc 100644 --- a/docs/renderjob.rst +++ b/docs/renderjob.rst @@ -0,0 +1,3 @@ +.. autoclass:: csoundengine.renderjob.RenderJob + :members: + :autosummary: diff --git a/setup.py~ b/setup.py~ new file mode 100755 index 0000000..5ebd005 --- /dev/null +++ b/setup.py~ @@ -0,0 +1,71 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from setuptools import setup +import os + +version = (2, 10, 5) + +from os import path +this_directory = path.abspath(path.dirname(__file__)) +with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f: + long_description = f.read() + + +def package_files(directory): + paths = [] + for (path, directories, filenames) in os.walk(directory): + for filename in filenames: + paths.append(os.path.join('..', path, filename)) + return paths + + +datafiles = package_files('csoundengine/data') + + +setup( + name='csoundengine', + python_requires=">=3.9", + version=".".join(map(str, version)), + description='A synthesis framework using csound', + long_description=long_description, + author='Eduardo Moguillansky', + author_email='eduardo.moguillansky@gmail.com', + url='https://github.com/gesellkammer/csoundengine', + packages=[ + 'csoundengine', + ], + install_requires=[ + "numpy", + "scipy", + "matplotlib", + "cachetools", + "JACK-client", + "appdirs", + "pygments", + "sf2utils", + "ipywidgets", + "progressbar2", + "xxhash", + "docstring_parser", + "typing_extensions", + + "ctcsound7>=0.4.6", + "sndfileio>=1.9.4", + "emlib>=1.15.0", + "configdict>=2.10.0", + "bpf4>=1.10.1", + "numpyx>=1.3.3", + "pitchtools>=1.14.0", + "risset>=2.9.1", + "sounddevice" + ], + license="BSD", + classifiers=[ + 'Intended Audience :: Developers', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)' + ], + package_data={'csoundengine': datafiles}, + include_package_data=True, + zip_safe=False +)