-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (59 loc) · 2.77 KB
/
setup.py
File metadata and controls
61 lines (59 loc) · 2.77 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
51
52
53
54
55
56
57
58
59
60
61
import os
import platform
from setuptools import setup,find_packages
# The text of the README file
f=open(os.path.join(os.path.dirname(os.path.abspath(__file__)),'README.md'))
README=f.read()
f.close()
if platform.architecture()[0]=='64bit':
setup(name='tdcosim',
version=open("tdcosim/_version.py").readlines()[-1].split()[-1].strip("\"'"),
packages=find_packages(),
include_package_data=True,
description='Transmission and Distribution Network co-Simulation for Power System',
long_description=README,
long_description_content_type="text/markdown",
url ='https://github.com/tdcosim/TDcoSim',
author = 'TDcoSim Team',
author_email='yim@anl.gov',
license= 'LICENSE.txt',
classifiers=[
'License :: OSI Approved :: BSD License',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
install_requires=['pywin32>=301','dss_python','matplotlib>=2.0.2','numpy>=1.16.2','scipy>=1.2.1',
'xlsxwriter>=1.1.8','psutil>=5.7.0','pandas>=1.1.0','dash>=1.21.0','pvder==0.5.0','click','tqdm','numba'],
extras_require={'diffeqpy': ['diffeqpy>=1.1.0','jill>=0.10.1']},
package_data={'tdcosim':['data/**/**/*','logs/.*','config/*','examples/*','dashboard/assets/*']},
entry_points={'console_scripts': ['tdcosimcli = tdcosim.tdcosimapp:main']}
)
else:
setup(name='tdcosim',
version=open("tdcosim/_version.py").readlines()[-1].split()[-1].strip("\"'"),
packages=find_packages(),
include_package_data=True,
description='Transmission and Distribution Network co-Simulation for Power System',
long_description=README,
long_description_content_type="text/markdown",
url ='https://github.com/tdcosim/TDcoSim',
author = 'TDcoSim Team',
author_email='yim@anl.gov',
license= 'LICENSE.txt',
classifiers=[
'License :: OSI Approved :: BSD License',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
install_requires=['pywin32==224','dss_python','matplotlib>=2.0.2','numpy>=1.16.2','scipy>=1.2.1',
'xlsxwriter==1.1.8','psutil==5.7.0','pandas>=0.24.2','dash>=1.21.0','pvder==0.5.0','click','tqdm','numba'],
extras_require={'diffeqpy': ['diffeqpy>=1.1.0','jill>=0.10.1']},
package_data={'tdcosim':['data/**/**/*','logs/.*','config/*','examples/*','dashboard/assets/*']},
entry_points={'console_scripts': ['tdcosimcli = tdcosim.tdcosimapp:main']}
)