fraymio / modis-tools

Tools for working with the MODIS API and MODIS data.
Apache License 2.0
23 stars 12 forks source link

Fix: Added setuptools as a dependency #49

Closed waitasecant closed 6 months ago

waitasecant commented 7 months ago

Description

From my end, now the package is getting installed without any error without breaking any change.

Closes Issue #48

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Click to expand the installation results ``` (env) PS D:\modis-tools> pip install . Processing d:\modis-tools Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: requests==2.* in d:\modis-tools\env\lib\site-packages (from modis_tools==1.1.3) (2.31.0) Requirement already satisfied: pydantic==1.* in d:\modis-tools\env\lib\site-packages (from modis_tools==1.1.3) (1.10.15) Requirement already satisfied: python-dateutil==2.* in d:\modis-tools\env\lib\site-packages (from modis_tools==1.1.3) (2.9.0.post0) Requirement already satisfied: shapely==2.* in d:\modis-tools\env\lib\site-packages (from modis_tools==1.1.3) (2.0.3) Requirement already satisfied: tqdm>=4.42.0 in d:\modis-tools\env\lib\site-packages (from modis_tools==1.1.3) (4.66.2) Requirement already satisfied: setuptools==69.2.0 in d:\modis-tools\env\lib\site-packages (from modis_tools==1.1.3) (69.2.0) Requirement already satisfied: typing-extensions>=4.2.0 in d:\modis-tools\env\lib\site-packages (from pydantic==1.*->modis_tools==1.1.3) (4.11.0) Requirement already satisfied: six>=1.5 in d:\modis-tools\env\lib\site-packages (from python-dateutil==2.*->modis_tools==1.1.3) (1.16.0) Requirement already satisfied: charset-normalizer<4,>=2 in d:\modis-tools\env\lib\site-packages (from requests==2.*->modis_tools==1.1.3) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in d:\modis-tools\env\lib\site-packages (from requests==2.*->modis_tools==1.1.3) (3.6) Requirement already satisfied: urllib3<3,>=1.21.1 in d:\modis-tools\env\lib\site-packages (from requests==2.*->modis_tools==1.1.3) (2.2.1) Requirement already satisfied: certifi>=2017.4.17 in d:\modis-tools\env\lib\site-packages (from requests==2.*->modis_tools==1.1.3) (2024.2.2) Requirement already satisfied: numpy<2,>=1.14 in d:\modis-tools\env\lib\site-packages (from shapely==2.*->modis_tools==1.1.3) (1.26.4) Requirement already satisfied: colorama in d:\modis-tools\env\lib\site-packages (from tqdm>=4.42.0->modis_tools==1.1.3) (0.4.6) Building wheels for collected packages: modis_tools Building wheel for modis_tools (pyproject.toml) ... done Created wheel for modis_tools: filename=modis_tools-1.1.3-py3-none-any.whl size=26819 sha256=d94d8c36f42fb8defddbfa13799f0e8589950793348ef7687319a84ed2036a90 Stored in directory: c:\users\himanshu\appdata\local\pip\cache\wheels\01\e1\2a\2c600359deaa0de3e210b32c566ec0bf5f9c5251a2cf9efc8d Successfully built modis_tools Installing collected packages: modis_tools Successfully installed modis_tools-1.1.3 ```
Click to expand the testing results ``` (env) PS D:\modis-tools> pytest ============================================================================ test session starts ============================================================================= platform win32 -- Python 3.12.1, pytest-8.1.1, pluggy-1.4.0 rootdir: D:\modis-tools configfile: pytest.ini testpaths: tests collected 38 items tests\test_api.py .......... [ 26%] tests\test_auth.py .......... [ 52%] tests\test_models.py .. [ 57%] tests\test_request_helpers.py .........ssss... [100%] ======================================================================= 34 passed, 4 skipped in 0.47s ======================================================================== ```

Checklist:

Next Steps

On behalf of the Modis Tools Dev Team, thank you for your hard work! ✨