update setup

This commit is contained in:
Daniel Tsvetkov 2020-03-18 12:06:53 +01:00
parent f4075b7bb5
commit 31a30225fd
4 changed files with 47 additions and 46 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ venv
src/tww/data/.cache.csv src/tww/data/.cache.csv
__pycache__ __pycache__
.idea .idea
tww.egg-info

View File

@ -1,6 +1,6 @@
backcall==0.1.0 backcall==0.1.0
chardet==3.0.4 chardet==3.0.4
Click==7.0 click==7.1.1
dateparser==0.7.2 dateparser==0.7.2
DateTimeRange==0.6.1 DateTimeRange==0.6.1
decorator==4.4.1 decorator==4.4.1

View File

@ -2,56 +2,56 @@ from setuptools import setup
def gen_from_file(): def gen_from_file():
return [ # return [
'backcall==0.1.0', # 'backcall==0.1.0',
'chardet==3.0.4', # 'chardet==3.0.4',
'Click==7.0', # 'Click==7.0',
'dateparser==0.7.2', # 'dateparser==0.7.2',
'DateTimeRange==0.6.1', # 'DateTimeRange==0.6.1',
'decorator==4.4.1', # 'decorator==4.4.1',
'Flask==1.1.1', # 'Flask==1.1.1',
'freezegun==0.3.14', # 'freezegun==0.3.14',
'fuzzywuzzy==0.18.0', # 'fuzzywuzzy==0.18.0',
'geographiclib==1.50', # 'geographiclib==1.50',
'geopy==1.21.0', # 'geopy==1.21.0',
'importlib-resources==1.0.2', # 'importlib-resources==1.0.2',
'ipython==7.12.0', # 'ipython==7.12.0',
'ipython-genutils==0.2.0', # 'ipython-genutils==0.2.0',
'isodate==0.6.0', # 'isodate==0.6.0',
'itsdangerous==1.1.0', # 'itsdangerous==1.1.0',
'jedi==0.16.0', # 'jedi==0.16.0',
'Jinja2==2.11.1', # 'Jinja2==2.11.1',
'MarkupSafe==1.1.1', # 'MarkupSafe==1.1.1',
'mbstrdecoder==0.8.4', # 'mbstrdecoder==0.8.4',
'numpy==1.18.1', # 'numpy==1.18.1',
'parso==0.6.1', # 'parso==0.6.1',
'pexpect==4.8.0', # 'pexpect==4.8.0',
'pickleshare==0.7.5', # 'pickleshare==0.7.5',
'prompt-toolkit==3.0.3', # 'prompt-toolkit==3.0.3',
'ptyprocess==0.6.0', # 'ptyprocess==0.6.0',
'Pygments==2.5.2', # 'Pygments==2.5.2',
'python-dateutil==2.8.1', # 'python-dateutil==2.8.1',
'python-Levenshtein==0.12.0', # 'python-Levenshtein==0.12.0',
'pytz==2019.3', # 'pytz==2019.3',
'regex==2020.1.8', # 'regex==2020.1.8',
'six==1.14.0', # 'six==1.14.0',
'timezonefinder==4.2.0', # 'timezonefinder==4.2.0',
'traitlets==4.3.3', # 'traitlets==4.3.3',
'typepy==0.6.5', # 'typepy==0.6.5',
'tzlocal==2.0.0', # 'tzlocal==2.0.0',
'wcwidth==0.1.8', # 'wcwidth==0.1.8',
'Werkzeug==1.0.0', # 'Werkzeug==1.0.0',
'word2number==1.1', # 'word2number==1.1',
] # ]
# with open("requirements.txt") as f: with open("requirements.txt") as f:
# return [line.strip() for line in f.readlines()] return [line.strip() for line in f.readlines()]
setup(name='tww', setup(name='tww',
version='0.2', version='0.2',
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='Daniel Tsvetkov',
install_requires=gen_from_file(), install_requires=gen_from_file(),
author_email='', author_email='',
license='MIT', license='MIT',

View File

@ -3,4 +3,4 @@ from tww.tokenizer import parse_args, setup_logging_level, main
if __name__ == "__main__": if __name__ == "__main__":
args = parse_args() args = parse_args()
setup_logging_level(args.debug) setup_logging_level(args.debug)
main(args) main(args)