Skip to content

Commit

Permalink
update requirements file path
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Dec 29, 2024
1 parent 5a3f6ea commit 496a6db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion environments/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL url="https://osmnx.readthedocs.io"
LABEL description="OSMnx is a Python package to easily download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap."

# copy the package files needed for installation
COPY --chmod=0755 ./environments/requirements.txt ./osmnx/
COPY --chmod=0755 ./environments/requirements/requirements-all.txt ./osmnx/
COPY --chmod=0755 ./osmnx/ ./osmnx/osmnx/
COPY --chmod=0755 ./pyproject.toml ./osmnx/
COPY --chmod=0755 ./README.md ./osmnx/
Expand Down
2 changes: 1 addition & 1 deletion environments/unix-create-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PACKAGE=osmnx
eval "$(conda shell.bash hook)"
conda activate base
conda env remove --yes -n $ENV || true
mamba create --yes -c conda-forge --strict-channel-priority -n $ENV --file requirements.txt
mamba create --yes -c conda-forge --strict-channel-priority -n $ENV --file ./requirements/requirements-all.txt
conda activate $ENV
python -m pip --python $ENV_PATH uninstall $PACKAGE --yes
python -m pip --python $ENV_PATH install -e ../.
Expand Down
2 changes: 1 addition & 1 deletion environments/windows-create-env.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SET PACKAGE=osmnx
CALL %CONDA_ROOT%\Scripts\activate.bat && ^
conda activate base && ^
conda env remove --yes -n %ENV% && ^
mamba create --yes -c conda-forge --strict-channel-priority -n %ENV% --file requirements.txt && ^
mamba create --yes -c conda-forge --strict-channel-priority -n %ENV% --file requirements\requirements-all.txt && ^
conda activate %ENV% && ^
python -m pip --python %ENV_PATH%\python.exe uninstall %PACKAGE% --yes && ^
python -m pip --python %ENV_PATH%\python.exe install -e ../. && ^
Expand Down

0 comments on commit 496a6db

Please sign in to comment.