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()] setup(name='tww', version='0.2', description='Time When and Where', url='http://gitlab.com/pisquared/tww', author='Daniel Tsvetkov', install_requires=gen_from_file(), author_email='', license='MIT', packages=['tww'], package_dir={'tww': 'src/tww'}, package_data={'tww': ['data/*.csv']}, zip_safe=False)