forked from hasadna/knesset-data-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·24 lines (22 loc) · 833 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os, sys
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 = "0.0.0"
setup(
name='knesset-data',
version=version,
description='API for access to available Israeli Parliament (Knesset) data',
author='Ori Hoch',
author_email='ori@uumpa.com',
license='GPLv3',
url='https://github.com/hasadna/knesset-data-python',
packages=find_packages(exclude=["tests", "test.*"]),
install_requires=['beautifulsoup4', 'pyslet', 'requests', 'simplejson', 'pyth',
'python-hebrew-numbers', 'cached-property', 'six'],
extras_require={'develop': ["tox"]},
)