forked from gridsingularity/gsy-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (25 loc) · 854 Bytes
/
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
from setuptools import setup, find_packages
try:
with open('requirements/base.txt') as req:
REQUIREMENTS = [r.partition('#')[0] for r in req if not r.startswith('-e')]
except OSError:
# Shouldn't happen
REQUIREMENTS = []
with open("README.md", "r") as readme:
README = readme.read()
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
VERSION = '0.8.0'
setup(
name="d3a-interface",
description="D3A interface",
long_description=README,
author='GridSingularity',
author_email='d3a@gridsingularity.com',
url='https://github.com/gridsingularity/d3a-interface',
version=VERSION,
packages=find_packages(where=".", exclude=["tests"]),
package_dir={"d3a_interface": "d3a_interface"},
package_data={},
install_requires=REQUIREMENTS,
zip_safe=False,
)