From ca07dfb8fb255bfee507980b89d7d5f95aed04df Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Wed, 4 Jan 2017 10:58:21 -0500 Subject: [PATCH] Swap name instead. Package is named pytables on conda. --- appveyor.yml | 5 ++--- setup.py | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 14f19894e..58e54f6b1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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% diff --git a/setup.py b/setup.py index 1189f9900..860cd9d1a 100644 --- a/setup.py +++ b/setup.py @@ -189,6 +189,8 @@ def _sub(m): 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')