Skip to content

Commit

Permalink
Add requirements and parsing into setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oscgonfer committed May 9, 2024
1 parent 9fa8e9d commit 997b057
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 23 deletions.
28 changes: 28 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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'
26 changes: 3 additions & 23 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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,
Expand Down

0 comments on commit 997b057

Please sign in to comment.