Skip to content

Commit

Permalink
Merge pull request #88 from mochic/bug/dist-requirements
Browse files Browse the repository at this point in the history
update setup.py install_requires, test wheels in appveyor
  • Loading branch information
neuromusic authored Apr 19, 2018
2 parents 1bc99ef + 2b018de commit 0709689
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
13 changes: 9 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,27 @@ install:
- "git clone git://github.com/astropy/ci-helpers.git"
- "powershell ci-helpers/appveyor/install-miniconda.ps1"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "conda create -q -n build-environment python=%PYTHON_VERSION% %CONDA_DEPENDENCIES%"
- "conda create -q -n test-environment python=%PYTHON_VERSION% %CONDA_DEPENDENCIES%"
- activate test-environment
- activate build-environment
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- activate test-environment
- pip install pytest pytest-cov
- pip install codecov

build_script:
- activate build-environment
- python setup.py build_ext --inplace
- python setup.py bdist_wheel
- activate test-environment
- pip install --find-links=dist neuroglia

test_script:
- activate test-environment
- pytest --cov=neuroglia
- codecov

after_test:
- python setup.py sdist bdist_wheel

artifacts:
- path: dist\*.whl

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@
),

install_requires=[
'numpy',
'scipy',
'pandas',
'xarray',
'scikit-learn',
],

classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Programming Language :: Python',
Expand Down

0 comments on commit 0709689

Please sign in to comment.