Skip to content

Commit

Permalink
setup/testing tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tyarkoni committed Sep 17, 2015
1 parent 1c285e4 commit 5246386
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ env:
global: global:
- TEST_RUN_FOLDER="/tmp" # folder where the tests are run from - TEST_RUN_FOLDER="/tmp" # folder where the tests are run from
- DEFAULT_TO_LATEST=true # use latest package versions if not explicitly set - DEFAULT_TO_LATEST=true # use latest package versions if not explicitly set
- NIBABEL_VERSION="2.0.0" # temporary--remove after fixing install_requires
matrix: matrix:
- DISTRIB="conda" PYTHON_VERSION="2.7" - DISTRIB="conda" PYTHON_VERSION="2.7"
# - DISTRIB="neurodebian" PYTHON_VERSION="2.7" # - DISTRIB="neurodebian" PYTHON_VERSION="2.7"
Expand All @@ -28,8 +27,6 @@ before_script:
- rm -rf build - rm -rf build
- rm -f tags - rm -f tags


clean: clean-build clean-pyc clean-so clean-ctags

script: script:
- python ci/show-python-package-versions.py - python ci/show-python-package-versions.py
- (cd "$TEST_RUN_FOLDER" && nosetests -s neurosynth) - (cd "$TEST_RUN_FOLDER" && nosetests -s neurosynth)
Expand Down
4 changes: 2 additions & 2 deletions ci/show-python-package-versions.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys import sys


DEPENDENCIES = ['numpy', 'scipy', 'sklearn', 'matplotlib', 'nibabel', DEPENDENCIES = ['numpy', 'scipy', 'sklearn', 'matplotlib', 'nibabel',
'sklearn', 'ply', 'pandas'] 'ply', 'pandas']




def print_package_version(package_name, indent=' '): def print_package_version(package_name, indent=' '):
Expand All @@ -24,4 +24,4 @@ def print_package_version(package_name, indent=' '):
print('Dependencies versions') print('Dependencies versions')
for package_name in DEPENDENCIES: for package_name in DEPENDENCIES:
print_package_version(package_name) print_package_version(package_name)
print('=' * 120) print('=' * 120)
5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Original file line Diff line number Diff line change
@@ -1,2 +1,5 @@
[metadata] [metadata]
description-file = README.md description-file = README.md

[bdist_wheel]
universal = 1
4 changes: 3 additions & 1 deletion setup.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
maintainer='Tal Yarkoni', maintainer='Tal Yarkoni',
maintainer_email='tyarkoni@gmail.com', maintainer_email='tyarkoni@gmail.com',
url='http://github.com/neurosynth/neurosynth', url='http://github.com/neurosynth/neurosynth',
download_url = 'https://github.com/neurosynth/neurosynth/tarball/%s' % __version__, download_url='https://github.com/neurosynth/neurosynth/tarball/%s' % __version__,
install_requires=['numpy', 'scipy', 'pandas', 'ply', 'sklearn',
'nibabel', 'six']
packages=["neurosynth", packages=["neurosynth",
"neurosynth.base", "neurosynth.base",
"neurosynth.analysis", "neurosynth.analysis",
Expand Down

0 comments on commit 5246386

Please sign in to comment.