-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·30 lines (27 loc) · 919 Bytes
/
Copy pathsetup.py
File metadata and controls
executable file
·30 lines (27 loc) · 919 Bytes
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
with open("traffik/__init__.py") as f:
for line in f:
if "__version__" in line:
version = line.split("=")[1].strip().strip('"').strip("'")
continue
with open("requirements.txt") as f:
requirements = f.read().splitlines()
setup(
name="traffik",
version=version,
description=u"Experimenting with traffic data, mobility, graph nets",
keywords="machine learning, deep learning, traffic",
author=u"Bhavika Tekwani",
author_email="bhavicka@protonmail.com",
url="https://github.com/bhavika/traffik",
license="BSD",
packages=find_packages(),
exclude_package_data={"": ["data/*"]},
zip_safe=False,
install_requires=requirements,
extras_require={"test": ["pytest", "mock", "black", "pre-commit"]},
entry_points="""
[console_scripts]
traffik=traffik.scripts:cli
""",
)