-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
36 lines (31 loc) · 1.03 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
from setuptools import setup, find_packages
try:
with open("requirements/base.txt", encoding="utf-8") 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", encoding="utf-8") as readme:
README = readme.read()
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
VERSION = "1.3.0"
setup(
name="gsy-framework",
description="GSy Framework",
long_description=README,
author="GridSingularity",
author_email="[email protected]",
url="https://github.com/gridsingularity/gsy-framework",
version=VERSION,
packages=find_packages(where=".", exclude=["tests"]),
package_dir={"gsy_framework": "gsy_framework"},
package_data={
"gsy_framework": [
"resources/*.csv",
"resources/aggregated_ssp/*.csv",
"schema/avro_schemas/*.json",
]
},
install_requires=REQUIREMENTS,
zip_safe=False,
)