forked from acids-ircam/RAVE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (43 loc) · 1.24 KB
/
setup.py
File metadata and controls
50 lines (43 loc) · 1.24 KB
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
import subprocess
import setuptools
version = subprocess.check_output([
"git",
"describe",
"--abbrev=0",
]).strip().decode()
commit = subprocess.check_output([
"git",
"rev-parse",
"HEAD",
]).strip().decode()
with open('rave/__version__.py', 'w') as init:
init.write(f"version = \"{version}\"\n")
init.write(f"commit = \"{commit}\"\n")
with open("README.md", "r") as readme:
readme = readme.read()
with open("requirements.txt", "r") as requirements:
requirements = requirements.read()
setuptools.setup(
name="acids-rave",
version=version,
author="Antoine CAILLON",
author_email="caillon@ircam.fr",
description="RAVE: a Realtime Audio Variatione autoEncoder",
long_description=readme,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
package_data={
'rave/configs': ['*.gin'],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={"console_scripts": [
"rave = scripts.main_cli:main",
]},
install_requires=requirements.split("\n"),
python_requires='>=3.9',
include_package_data=True,
)