Skip to content

Commit

Permalink
Building script for conda packages fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dprada committed Jul 2, 2023
1 parent ed55478 commit 4e76661
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 22 deletions.
2 changes: 1 addition & 1 deletion devtools/conda-build/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
echo "Building"
$PYTHON setup.py install --single-version-externally-managed --record=record.txt
$PYTHON -m pip install --no-deps .
echo "Done"
11 changes: 6 additions & 5 deletions devtools/conda-build/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ build:
requirements:
build:
- python
- setuptools
- numpy
- pip
- setuptools >=61.0
- versioningit ~=2.0
run:
- python
- setuptools
- pip
- setuptools >=61.0
- versioningit ~=2.0
- numpy
- matplotlib
- tqdm
- scikit-learn
about:
home: https://uibcdf.org
Expand Down
9 changes: 5 additions & 4 deletions devtools/conda-envs/development_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ channels:
- defaults
dependencies:
- python
- setuptools
- pip
- setuptools >=61.0
- versioningit ~=2.0
- numpy
- matplotlib
- tqdm
- scikit-learn
- pytest
- pip
- pytest-cov
- codecov
- sphinx
Expand All @@ -19,6 +18,8 @@ dependencies:
- sphinx-remove-toctrees
- sphinx-copybutton
- myst-nb
- tqdm
- matplotlib
- jupyterlab
- mamba
- ipympl
Expand Down
8 changes: 5 additions & 3 deletions devtools/conda-envs/docs_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ channels:
- defaults
dependencies:
- python
- setuptools
- pip
- setuptools >=61.0
- versioningit ~=2.0
- numpy
- matplotlib
- tqdm
- scikit-learn
- sphinx
- sphinx_rtd_theme
- sphinxcontrib-bibtex
- sphinx-remove-toctrees
- sphinx-copybutton
- myst-nb
- tqdm
- matplotlib
6 changes: 3 additions & 3 deletions devtools/conda-envs/production_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ channels:
- defaults
dependencies:
- python
- setuptools
- pip
- setuptools >=61.0
- versioningit ~=2.0
- numpy
- matplotlib
- tqdm
- scikit-learn
5 changes: 3 additions & 2 deletions devtools/conda-envs/setup_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ channels:
- defaults
dependencies:
- python
- setuptools
- numpy
- pip
- setuptools >=61.0
- versioningit ~=2.0
7 changes: 3 additions & 4 deletions devtools/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ channels:
- defaults
dependencies:
- python
- setuptools
- pip
- setuptools >=61.0
- versioningit ~=2.0
- numpy
- matplotlib
- tqdm
- scikit-learn
- pytest
- pip
- pytest-cov
- codecov
1 change: 1 addition & 0 deletions devtools/requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ production:
- *setup_channels
dependencies: &production_dependencies
- *setup_dependencies
- numpy
- scikit-learn

test:
Expand Down

0 comments on commit 4e76661

Please sign in to comment.