-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (62 loc) · 2.28 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
from setuptools import setup, find_packages
import os
# Install fluidsynth using apt
os.system('apt-get update && apt-get install -y fluidsynth')
# Read the contents of your README file
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="tegridymidi",
version="24.9.8",
description="Tools for reading, writing, and manipulating MIDIs",
long_description=long_description,
long_description_content_type="text/markdown",
author="Alex Lev",
author_email="[email protected]",
url="https://github.com/asigalov61/tegridymidi", # Add the URL of your project
project_urls={
"Examples": "https://github.com/asigalov61/tegridymidi/tegridymidi/example",
"Issues": "https://github.com/asigalov61/tegridymidi/issues",
"Documentation": "https://github.com/asigalov61/tegridymidi/docs",
"Discussions": "https://github.com/asigalov61/tegridymidi/discussions",
"Source Code": "https://github.com/asigalov61/tegridymidi",
},
packages=find_packages(), # Automatically find and include all packages
include_package_data=True,
package_data={
'tegridymidi': ['sample_midis/*', 'examples/*'],
},
install_requires=[
'tqdm',
'pillow',
'numpy',
'matplotlib',
'scipy',
'networkx',
'scikit-learn',
],
extras_require={
'cuda': [
'torch',
'einops',
'cupy-cuda12x',
'torch-summary',
],
},
keywords=['MIDI', 'tegridy', 'tools'], # Add your keywords here
python_requires='>=3.6', # Specify the Python version
license='Apache Software License 2.0', # Specify the license
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
],
)