Browse Source

update conda packaging

pip
Sebastian Heimann 2 months ago
parent
commit
7d79ba6cf7
  1. 7
      maintenance/conda/build/meta.yaml
  2. 2
      maintenance/conda/build_packages_windows.sh
  3. 1
      requirements-conda.txt
  4. 1
      requirements.txt

7
maintenance/conda/build/meta.yaml

@ -30,20 +30,19 @@ requirements:
- progressbar2
- requests
- jinja2
- nose
build:
script: {{PYTHON}} setup.py install
script: {{PYTHON}} -m pip install --no-deps --no-build-isolation .
test:
source_files:
- test
requires:
- nose
- pytest
imports:
- pyrocko
commands:
- python -m nose --verbosity=2 --detailed-errors test.base.test_util
- python -m pytest test/base/test_util.py test/base/test_guts.py test/base/test_eikonal.py
about:
home: https://pyrocko.org

2
maintenance/conda/build_packages_windows.sh

@ -35,7 +35,7 @@ else
conda config --set anaconda_upload no
fi
conda-build --python 3.6 build
# conda-build --python 3.6 build
conda-build --python 3.7 build
conda-build --python 3.8 build
conda-build --python 3.9 build

1
requirements-conda.txt

@ -6,6 +6,5 @@ pyyaml
matplotlib
progressbar2
requests
nose
jinja2
pyqt

1
requirements.txt

@ -4,4 +4,3 @@ pyyaml
matplotlib
progressbar2
requests
nose

Loading…
Cancel
Save