-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
executable file
·59 lines (56 loc) · 1.44 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
"""
Build and install the project.
"""
from setuptools import setup, find_packages
NAME = "nygrid"
VERSION = "0.1.2"
FULLNAME = "NYgrid Python Tools"
AUTHOR = "The NYgrid-python Developers"
AUTHOR_EMAIL = "[email protected]"
MAINTAINER = "Bo Yuan"
MAINTAINER_EMAIL = AUTHOR_EMAIL
LICENSE = "MIT License"
URL = "https://github.com/boyuan276/NYgrid-python"
DESCRIPTION = "A python version of the NYgrid model"
KEYWORDS = "Power system, Renewable energy, Optimization"
CLASSIFIERS = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 3 :: Only",
]
PLATFORMS = "Any"
PACKAGES = find_packages()
SCRIPTS = []
PACKAGE_DATA = {}
INSTALL_REQUIRES = [
"numpy",
"scipy",
"pandas",
"pyomo",
"pypower",
"matplotlib",
"openpyxl"
]
PYTHON_REQUIRES = ">=3.7"
if __name__ == "__main__":
setup(
name=NAME,
version=VERSION,
fullname=FULLNAME,
description=DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
license=LICENSE,
url=URL,
platforms=PLATFORMS,
scripts=SCRIPTS,
packages=PACKAGES,
package_data=PACKAGE_DATA,
classifiers=CLASSIFIERS,
keywords=KEYWORDS,
install_requires=INSTALL_REQUIRES,
python_requires=PYTHON_REQUIRES,
)