hack requirements for setup

This commit is contained in:
Daniel Tsvetkov 2019-09-23 20:47:46 +02:00
parent 0fb9915587
commit c5773e559c
2 changed files with 35 additions and 1 deletions

View File

@ -13,7 +13,6 @@ numpy==1.16.2
parso==0.3.4 parso==0.3.4
pexpect==4.6.0 pexpect==4.6.0
pickleshare==0.7.5 pickleshare==0.7.5
pkg-resources==0.0.0
prompt-toolkit==2.0.9 prompt-toolkit==2.0.9
ptyprocess==0.6.0 ptyprocess==0.6.0
Pygments==2.3.1 Pygments==2.3.1

View File

@ -1,10 +1,45 @@
from setuptools import setup 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', setup(name='tww',
version='0.1', version='0.1',
description='Time When and Where', description='Time When and Where',
url='http://gitlab.com/pisquared/tww', url='http://gitlab.com/pisquared/tww',
author='Flying Circus', author='Flying Circus',
install_requires=gen_from_file(),
author_email='', author_email='',
license='MIT', license='MIT',
packages=[''], packages=[''],