-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
53 lines (49 loc) · 1.61 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
from setuptools import setup
import os
packages = []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
with open(os.path.join(root_dir, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
for dirpath, dirnames, filenames in os.walk("dieterpy"):
# Ignore dirnames that start with '.'
if "__init__.py" in filenames:
pkg = dirpath.replace(os.path.sep, ".")
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, ".")
packages.append(pkg)
setup(
name="dieterpy",
version="0.3.3",
packages=packages,
author="Carlos Gaete-Morales",
author_email="[email protected]",
install_requires=[
"exceltogdx>=0.0.3",
"numpy == 1.19.5",
"xlrd == 1.2.0",
"pandas== 1.0.0",
"pyyaml == 5.3.1",
"psutil",
"six>=1.11.0",
"python-dateutil==2.6.1",
"mgzip",
],
include_package_data=True,
entry_points={"console_scripts": ["dieterpy = dieterpy.__main__:main",],},
long_description=long_description,
long_description_content_type="text/x-rst",
description="DIETERpy GAMS-Python framework of a power system model DIETER",
classifiers=[
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering",
],
)