Commit b1b14e58 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added missing anaconda-client. Added conda_build_config.yaml

parent 5e5220f5
Pipeline #1683 passed with stages
in 14 minutes and 14 seconds
......@@ -126,14 +126,15 @@ deploy_anaconda:
#- deploy_pypi
script:
- source /root/miniconda3/bin/activate
- conda install -y -q conda-build
- conda install -y -q conda-build anaconda-client
- yum install -y patch # https://stackoverflow.com/questions/40392161/building-conda-skeleton-from-pypi-package-throws-error
# - conda skeleton pypi py_tools_ds --output-dir public/conda.recipe/py_tools_ds # create recipe
- conda config --set anaconda_upload yes # enable auto-upload to anaconda
#- anaconda logout
#- anaconda login --username ${ANACONDA_USER} --password ${ANACONDA_PASSWORD}
- conda build -c conda-forge -c defaults --token ${ANACONDA_TOKEN} --py=3.6 conda_recipe/meta.yaml
- conda build -c conda-forge -c defaults --token ${ANACONDA_TOKEN} --py=2.7 conda_recipe/meta.yaml
# - conda build -c conda-forge -c defaults --token ${ANACONDA_TOKEN} --py=3.6 conda_recipe/meta.yaml
# - conda build -c conda-forge -c defaults --token ${ANACONDA_TOKEN} --py=2.7 conda_recipe/meta.yaml
- conda build -c conda-forge -c defaults --token ${ANACONDA_TOKEN} conda_recipe/meta.yaml
# - conda build -c conda-forge --token ${ANACONDA_TOKEN} public/conda.recipe/py_tools_ds # --output returns package name
# - conda build -c conda-forge --token ${ANACONDA_TOKEN} --python 3.6 --python 3.5 --python 3.4 --python 2.7 public/conda.recipe/py_tools_ds # --output returns package name
#- conda convert --platform all /home/jsmith/miniconda/conda-bld/linux-64/pyinstrument-0.13.1-py27_0.tar.bz2
......
......@@ -17,7 +17,7 @@ build:
requirements:
build:
- python
- python {{ python }} # reads python versions to build from conda_build_config.yaml
- setuptools
- sphinx-argparse
run:
......@@ -36,23 +36,23 @@ requirements:
test:
imports:
- py_tools_ds
- py_tools_ds.compatibility
- py_tools_ds.compatibility.python
- py_tools_ds.compression
- py_tools_ds.convenience
- py_tools_ds.db_tools
- py_tools_ds.dtypes
- py_tools_ds.environment
- py_tools_ds.geo
- py_tools_ds.geo.raster
- py_tools_ds.geo.vector
- py_tools_ds.io
- py_tools_ds.io.raster
- py_tools_ds.io.vector
- py_tools_ds.numeric
- py_tools_ds.processing
- py_tools_ds.similarity
- py_tools_ds.web
# - py_tools_ds.compatibility
# - py_tools_ds.compatibility.python
# - py_tools_ds.compression
# - py_tools_ds.convenience
# - py_tools_ds.db_tools
# - py_tools_ds.dtypes
# - py_tools_ds.environment
# - py_tools_ds.geo
# - py_tools_ds.geo.raster
# - py_tools_ds.geo.vector
# - py_tools_ds.io
# - py_tools_ds.io.raster
# - py_tools_ds.io.vector
# - py_tools_ds.numeric
# - py_tools_ds.processing
# - py_tools_ds.similarity
# - py_tools_ds.web
requires:
- coverage
- nose
......
......@@ -17,6 +17,7 @@ dependencies:
- ipython
- conda-build # for conda deployment
- conda-build-all
- anaconda-client # for conda upload
- pip:
- sphinx-argparse
- six
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment