-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
76 lines (67 loc) · 1.96 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
66
67
68
69
70
71
72
73
74
75
76
from distutils.command.install import INSTALL_SCHEMES
import json
import os
import platform
import shutil
import sys
import setuptools
def is_windows():
return platform.system().lower().find("windows") != -1
if "update_interfaces" in sys.argv:
os.system(
"python -m py_ts_interfaces.cli ./MelodieStudio/models.py -o src/models/models.ts"
)
sys.exit()
if os.path.exists("build"):
shutil.rmtree("build")
INSTALL_REQUIRES = [
"chardet",
"websockets",
"sqlalchemy",
"flask",
"flask_cors",
"astunparse",
"pprintast",
"psutil",
"watchdog",
"flask_sock",
"py_ts_interfaces",
"jedi",
"rpyc",
"pywinpty; os_name=='nt'",
"websocket-client",
"brotli"
]
with open('README.md', encoding='utf8', errors='replace') as f:
long_description = f.read()
setuptools.setup(
name="MelodieStudio",
version="0.6.1",
description="A web-based toolbox for Melodie ABM package.",
long_description=long_description,
long_description_content_type="text/markdown",
# url='https://github.com/SongminYu/Melodie',
author="ABM4ALL",
author_email="[email protected]",
license="BSD 3",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
project_urls={
"Documentation": "https://Melodie.readthedocs.io/en/latest/index.html",
},
packages=setuptools.find_namespace_packages(
include=["MelodieStudio", "MelodieStudio.*"]
),
install_requires=INSTALL_REQUIRES,
python_requires=">3.5",
entry_points={"console_scripts": ["Melodie=Melodie.scripts.scripts:cli"]},
include_package_data=True,
)