-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
51 lines (45 loc) · 1.37 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
from setuptools import setup
import configparser
import os
config = configparser.ConfigParser()
curr_dir = os.getcwd()
config.read(os.path.join(curr_dir, 'configs.ini'))
USE_TORCH = config['LIBRARY'].getboolean('use_torch')
base_dependencies = [
"bs4 >= 0.0.1",
"dash >= 2.4.0",
"dash-bootstrap-components >= 1.2.1",
"dash-core-components >= 2.0.0",
"dash-html-components >= 2.0.0",
"kaleido == 0.0.1",
"matplotlib >= 3.5.1",
"numpy >= 1.22.3",
"pandas >= 1.4.2",
"plotly == 5.5.0",
# "plotly-orca == 1.3.1",
"pyinstaller >= 5.2",
"psutil == 5.9.0",
"scipy >= 1.8.0",
"simplejson >= 3.17.6",
"sklearn >= 0.0",
"statsmodels >= 0.13.2",
"steamctl >= 0.9.1",
"tqdm >= 4.64.0",
"typing_extensions >= 4.3.0",
"waitress >= 2.1.2"
]
if USE_TORCH:
base_dependencies.append("torch >= 1.11.0")
setup(
name='PCGSEPy',
version='0.0.1',
author='Roberto Gallotta',
author_email='[email protected]',
packages=['pcgsepy'],
scripts=[],
url='https://github.com/arayabrain/space-engineers-ai-spaceship-generator',
license='LICENSE.md',
description='PCG Python package for Space Engineers',
long_description='This package provides methods and classes to run a Procedural Content Generation task in the videogame Space Engineers.',
install_requires=base_dependencies
)