Swap name instead.

Package is named pytables on conda.
This commit is contained in:
Eddie Hebert
2017-01-04 10:58:21 -05:00
committed by Eddie Hebert
parent 2af8e5520a
commit ca07dfb8fb
2 changed files with 4 additions and 3 deletions
+2 -3
View File
@@ -70,7 +70,7 @@ install:
- sed -i "s/scipy==.*/scipy==%SCIPY_VERSION%/" etc/requirements.txt
- conda info -a
- conda install conda=4.1.11 conda-build=1.21.11 anaconda-client=1.5.1 hdf5=1.8.17 --yes -q
- conda install conda=4.1.11 conda-build=1.21.11 anaconda-client=1.5.1 --yes -q
# https://blog.ionelmc.ro/2014/12/21/compiling-python-extensions-on-windows/ for 64bit C compilation
- ps: copy .\ci\appveyor\vcvars64.bat "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64"
- "%CMD_IN_ENV% python .\\ci\\make_conda_packages.py"
@@ -80,9 +80,8 @@ install:
- ps: $env:BCOLZ_VERSION=(sls "bcolz==(.*)" .\etc\requirements.txt -ca).matches.groups[1].value
- ps: $env:NUMEXPR_VERSION=(sls "numexpr==(.*)" .\etc\requirements.txt -ca).matches.groups[1].value
- ps: $env:TABLES_VERSION=(sls "tables==(.*)" .\etc\requirements.txt -ca).matches.groups[1].value
- ps: $env:TALIB_VERSION=(sls "TA-Lib==(.*)" .\etc\requirements_talib.txt -ca).matches.groups[1].value
- conda create -n testenv --yes -q --use-local pip python=%PYTHON_VERSION% numpy=%NUMPY_VERSION% scipy=%SCIPY_VERSION% ta-lib=%TALIB_VERSION% bcolz=%BCOLZ_VERSION% numexpr=%NUMEXPR_VERSION% tables=%TABLES_VERSION% -c quantopian -c https://conda.anaconda.org/quantopian/label/ci
- conda create -n testenv --yes -q --use-local pip python=%PYTHON_VERSION% numpy=%NUMPY_VERSION% scipy=%SCIPY_VERSION% ta-lib=%TALIB_VERSION% bcolz=%BCOLZ_VERSION% numexpr=%NUMEXPR_VERSION% -c quantopian -c https://conda.anaconda.org/quantopian/label/ci
- activate testenv
- SET CACHE_DIR=%LOCALAPPDATA%\pip\Cache\pip_np%CONDA_NPY%py%CONDA_PY%
- pip install -r etc/requirements.txt --cache-dir=%CACHE_DIR%
+2
View File
@@ -189,6 +189,8 @@ def _conda_format(req):
name = m.group('name').lower()
if name == 'numpy':
return 'numpy x.x'
if name == 'tables':
name = 'pytables'
formatted = '%s %s%s' % ((name,) + m.group('comp', 'spec'))
pycomp, pyspec = m.group('pycomp', 'pyspec')