diff --git a/.gitignore b/.gitignore index 82fed252..eb1a541b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ **/*.DS_STORE # Python precompiled files *.pyc +# Builds dir +dist/ # PyCharm config files .idea/ # PyCharm Virtual Environment diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..03107489 --- /dev/null +++ b/setup.py @@ -0,0 +1,39 @@ +from setuptools import setup, find_packages + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + +setup( + name='miditok', + author='Nathan Fradet', + url='https://github.com/Natooz/MidiTok', + packages=find_packages(exclude=("tests",)), + version='0.0.1', + license='MIT', + description='A convenient MIDI tokenizer for Deep Learning networks, with multiple encoding strategies', + long_description=long_description, + long_description_content_type="text/markdown", + keywords=[ + 'artificial intelligence', + 'deep learning', + 'transformer', + 'midi', + 'tokenization', + 'music', + 'mir' + ], + install_requires=[ + 'numpy>=1.21', + 'miditoolkit>=0.1.14' + ], + classifiers=[ + 'Intended Audience :: Developers', + 'Intended Audience :: Science/Research', + 'Topic :: Scientific/Engineering :: Artificial Intelligence', + 'Topic :: Multimedia :: Sound/Audio :: MIDI', + 'License :: OSI Approved :: MIT License', + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Operating System :: OS Independent" + ], +)