diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..61310652 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,28 @@ +# TODO To be updated? +'branca~=0.4.0' +# 'Flask', # TODO Add once finished with file reports +# TODO To be updated? +'folium~=0.12.1' +# TODO To be updated? +'geopy~=1.21.0' +# TODO To be updated? +'Jinja2~=3.1.2' +# TODO To be updated? +'matplotlib~=3.2.1' +# TODO To be updated? +'missingno~=0.5.2' +'numpy~=1.25.2' +'pandas~=2.2.2' +'pydantic' +'pytest' +# TODO To be updated? +'PyYAML==5.3.1' +'requests' +'scipy' +'scikit-learn' +'seaborn' +'smartcitizen-connector' +'termcolor==1.1.0' +'tqdm~=4.50.2' +'timezonefinder~=6.1.9' +'urllib3' \ No newline at end of file diff --git a/setup.py b/setup.py index ce91ee45..8b70a7c6 100755 --- a/setup.py +++ b/setup.py @@ -15,6 +15,8 @@ "Source Code": "https://github.com/fablabbcn/smartcitizen-data", } +REQUIREMENTS = [i.strip() for i in open("requirements.txt").readlines()] + setup( name='scdata', version='0.9.1', @@ -36,29 +38,7 @@ 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 'Programming Language :: Python :: 3', ], - install_requires=[ - 'branca~=0.4.0', # TODO To be updated? - # 'Flask', # TODO Add once finished with file reports - 'folium~=0.12.1', # TODO To be updated? - 'geopy~=1.21.0', # TODO To be updated? - 'Jinja2~=3.1.2', # TODO To be updated? - 'matplotlib~=3.2.1', # TODO To be updated? - 'missingno~=0.5.2', # TODO To be updated? - 'numpy~=1.25.2', - 'pandas~=2.2.2', - 'pydantic', - 'pytest', - 'PyYAML==5.3.1', # TODO To be updated? - 'requests', - 'scipy', - 'scikit-learn', - 'seaborn', - 'smartcitizen-connector', - 'termcolor==1.1.0', - 'tqdm~=4.50.2', - 'timezonefinder~=6.1.9', - 'urllib3', - ], + install_requires=[REQUIREMENTS], setup_requires=['wheel'], python_requires=">=3.6", include_package_data=True,