2019-09-23 20:39:59 +02:00
|
|
|
from setuptools import setup
|
|
|
|
|
2019-09-23 20:47:46 +02:00
|
|
|
|
|
|
|
def gen_from_file():
|
2020-03-18 12:06:53 +01:00
|
|
|
# return [
|
|
|
|
# 'backcall==0.1.0',
|
|
|
|
# 'chardet==3.0.4',
|
|
|
|
# 'Click==7.0',
|
|
|
|
# 'dateparser==0.7.2',
|
|
|
|
# 'DateTimeRange==0.6.1',
|
|
|
|
# 'decorator==4.4.1',
|
|
|
|
# 'Flask==1.1.1',
|
|
|
|
# 'freezegun==0.3.14',
|
|
|
|
# 'fuzzywuzzy==0.18.0',
|
|
|
|
# 'geographiclib==1.50',
|
|
|
|
# 'geopy==1.21.0',
|
|
|
|
# 'importlib-resources==1.0.2',
|
|
|
|
# 'ipython==7.12.0',
|
|
|
|
# 'ipython-genutils==0.2.0',
|
|
|
|
# 'isodate==0.6.0',
|
|
|
|
# 'itsdangerous==1.1.0',
|
|
|
|
# 'jedi==0.16.0',
|
|
|
|
# 'Jinja2==2.11.1',
|
|
|
|
# 'MarkupSafe==1.1.1',
|
|
|
|
# 'mbstrdecoder==0.8.4',
|
|
|
|
# 'numpy==1.18.1',
|
|
|
|
# 'parso==0.6.1',
|
|
|
|
# 'pexpect==4.8.0',
|
|
|
|
# 'pickleshare==0.7.5',
|
|
|
|
# 'prompt-toolkit==3.0.3',
|
|
|
|
# 'ptyprocess==0.6.0',
|
|
|
|
# 'Pygments==2.5.2',
|
|
|
|
# 'python-dateutil==2.8.1',
|
|
|
|
# 'python-Levenshtein==0.12.0',
|
|
|
|
# 'pytz==2019.3',
|
|
|
|
# 'regex==2020.1.8',
|
|
|
|
# 'six==1.14.0',
|
|
|
|
# 'timezonefinder==4.2.0',
|
|
|
|
# 'traitlets==4.3.3',
|
|
|
|
# 'typepy==0.6.5',
|
|
|
|
# 'tzlocal==2.0.0',
|
|
|
|
# 'wcwidth==0.1.8',
|
|
|
|
# 'Werkzeug==1.0.0',
|
|
|
|
# 'word2number==1.1',
|
|
|
|
# ]
|
|
|
|
with open("requirements.txt") as f:
|
|
|
|
return [line.strip() for line in f.readlines()]
|
2019-09-23 20:47:46 +02:00
|
|
|
|
|
|
|
|
2019-09-23 20:39:59 +02:00
|
|
|
setup(name='tww',
|
2019-12-09 15:26:11 +01:00
|
|
|
version='0.2',
|
2019-09-23 20:39:59 +02:00
|
|
|
description='Time When and Where',
|
|
|
|
url='http://gitlab.com/pisquared/tww',
|
2020-03-18 12:06:53 +01:00
|
|
|
author='Daniel Tsvetkov',
|
2019-09-23 20:47:46 +02:00
|
|
|
install_requires=gen_from_file(),
|
2019-09-23 20:39:59 +02:00
|
|
|
author_email='',
|
|
|
|
license='MIT',
|
2019-09-23 21:05:32 +02:00
|
|
|
packages=['tww'],
|
|
|
|
package_dir={'tww': 'src/tww'},
|
|
|
|
package_data={'tww': ['data/*.csv']},
|
2019-09-23 20:39:59 +02:00
|
|
|
zip_safe=False)
|