From c5773e559c31401713a13e56bbefcfcfc54b24ef Mon Sep 17 00:00:00 2001 From: Daniel Tsvetkov Date: Mon, 23 Sep 2019 20:47:46 +0200 Subject: [PATCH] hack requirements for setup --- requirements.txt | 1 - setup.py | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2b32410..756a6f4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,6 @@ numpy==1.16.2 parso==0.3.4 pexpect==4.6.0 pickleshare==0.7.5 -pkg-resources==0.0.0 prompt-toolkit==2.0.9 ptyprocess==0.6.0 Pygments==2.3.1 diff --git a/setup.py b/setup.py index f970d48..d3eb68a 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,45 @@ from setuptools import setup + +def gen_from_file(): + return ['backcall==0.1.0', + 'dateparser==0.7.1', + 'decorator==4.3.2', + 'freezegun==0.3.11', + 'fuzzywuzzy==0.17.0', + 'geographiclib==1.49', + 'geopy==1.18.1', + 'importlib-resources==1.0.2', + 'ipython==7.3.0', + 'ipython-genutils==0.2.0', + 'jedi==0.13.3', + 'numpy==1.16.2', + 'parso==0.3.4', + 'pexpect==4.6.0', + 'pickleshare==0.7.5', + 'prompt-toolkit==2.0.9', + 'ptyprocess==0.6.0', + 'Pygments==2.3.1', + 'python-dateutil==2.8.0', + 'python-Levenshtein==0.12.0', + 'pytz==2018.9', + 'regex==2019.3.12', + 'six==1.12.0', + 'timezonefinder==4.0.1', + 'traitlets==4.3.2', + 'tzlocal==1.5.1', + 'wcwidth==0.1.7', + 'word2number==1.1'] + #with open("requirements.txt") as f: + # return [line.strip() for line in f.readlines()] + + setup(name='tww', version='0.1', description='Time When and Where', url='http://gitlab.com/pisquared/tww', author='Flying Circus', + install_requires=gen_from_file(), author_email='', license='MIT', packages=[''],