-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
executable file
·25 lines (23 loc) · 788 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
from setuptools import setup, find_packages
import os, time
if os.path.exists("VERSION.txt"):
# this file can be written by CI tools (e.g. Travis)
with open("VERSION.txt") as version_file:
version = version_file.read().strip().strip("v")
else:
version = str(time.time())
# Run
setup(
name="knesset-data-pipelines",
version=version,
packages=find_packages(exclude=["tests", "test.*"]),
install_requires=["datapackage-pipelines", "knesset-data==2.1.5", "fuzzywuzzy[speedup]"],
extras_require={'develop': ["tox", "pytest"]},
url='https://github.com/hasadna/knesset-data-pipelines',
license='MIT',
entry_points={
'console_scripts': [
'dpp_send_metrics = datapackage_pipelines_knesset.cli:dpp_send_metrics',
]
},
)