update setup
This commit is contained in:
parent
f4075b7bb5
commit
31a30225fd
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ venv
|
||||
src/tww/data/.cache.csv
|
||||
__pycache__
|
||||
.idea
|
||||
tww.egg-info
|
@ -1,6 +1,6 @@
|
||||
backcall==0.1.0
|
||||
chardet==3.0.4
|
||||
Click==7.0
|
||||
click==7.1.1
|
||||
dateparser==0.7.2
|
||||
DateTimeRange==0.6.1
|
||||
decorator==4.4.1
|
||||
|
88
setup.py
88
setup.py
@ -2,56 +2,56 @@ from setuptools import setup
|
||||
|
||||
|
||||
def gen_from_file():
|
||||
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()]
|
||||
# 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()]
|
||||
|
||||
|
||||
setup(name='tww',
|
||||
version='0.2',
|
||||
description='Time When and Where',
|
||||
url='http://gitlab.com/pisquared/tww',
|
||||
author='Flying Circus',
|
||||
author='Daniel Tsvetkov',
|
||||
install_requires=gen_from_file(),
|
||||
author_email='',
|
||||
license='MIT',
|
||||
|
@ -3,4 +3,4 @@ from tww.tokenizer import parse_args, setup_logging_level, main
|
||||
if __name__ == "__main__":
|
||||
args = parse_args()
|
||||
setup_logging_level(args.debug)
|
||||
main(args)
|
||||
main(args)
|
||||
|
Loading…
Reference in New Issue
Block a user