Skip to content

Commit

Permalink
install dependencies in pypi package
Browse files Browse the repository at this point in the history
  • Loading branch information
MAfarrag committed Sep 23, 2022
1 parent 5ddce9a commit a409b97
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
12 changes: 5 additions & 7 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
channels:
- conda-forge
dependencies:
- python >=3.9,<3.10
- python >=3.9,<3.12
- pip >=22.2.2
- numpy >=1.21.2,<1.23.3
- numpy >=1.23.3
- netCDF4 >=1.5.5,<1.6.1
- gdal >=3.3.3,<3.5.1
- pandas >=1.3.2,<1.5.0
- pyramids >=0.2.2
- gdal >=3.4.3,<3.5.1
- pandas >=1.4.4,<1.5.0
- pyramids >=0.2.4
- ecmwf-api-client >=1.6.3
- earthengine-api >=0.1.324
- pip:
- loguru >=0.6.0
- pytest >=7.1.3
- pytest-cov >=3.0.0
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
earthengine-api >=0.1.324
ecmwf-api-client >=1.6.3
loguru >=0.6.0
netCDF4 >=1.6.1
numpy >=1.23.3
pandas >=1.4.4
pyramids-gis >=0.2.4
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@
with open("HISTORY.rst") as history_file:
history = history_file.read()

# requirements = [line.strip() for line in open("requirements.txt").readlines()]
# requirements = requirements[1:]
requirements = [line.strip() for line in open("requirements.txt").readlines()]

test_requirements = [
"pytest>=3",
]

setup(
name="earth2observe",
version="0.1.1",
version="0.1.2",
description="remote sensing package",
author="Mostafa Farrag",
author_email="[email protected]",
Expand All @@ -28,7 +27,7 @@
packages=find_packages(include=["earth2observe", "earth2observe.*"]),
test_suite="tests",
tests_require=test_requirements,
# install_requires=requirements,
install_requires=requirements,
# entry_points={
# 'console_scripts': [
# 'earth2observe=earth2observe.cli:main',
Expand Down

0 comments on commit a409b97

Please sign in to comment.