-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
33 lines (25 loc) · 856 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
31
32
33
from setuptools import setup, find_packages
def readme():
with open("README.md") as f:
return f.read().strip()
def version():
with open("stgrid2area/__version__.py") as f:
loc = dict()
exec(f.read(), loc, loc)
return loc["__version__"]
def requirements():
with open("requirements.txt") as f:
return f.read().strip().split("\n")
setup(name="stgrid2area",
license="CC0-1.0 license",
version=version(),
author="Alexander Dolich",
author_email="[email protected]",
description="Extract and aggregate spatio-temporal data to a specified area.",
long_description=readme(),
long_description_content_type="text/markdown",
install_requires=requirements(),
packages=find_packages(),
include_package_data=True,
zip_safe=False
)