Skip to content

Commit

Permalink
switch to find_packages in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tyarkoni committed Nov 8, 2015
1 parent 52eccea commit 6fe1971
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions setup.py
Original file line number Original file line Diff line number Diff line change
@@ -1,13 +1,7 @@
import os import os
import sys import sys

import setuptools
# Borrowing a trick from nibabel to enable some functionality coming from setuptools import setup, find_packages
# from setuptools.
# For some commands, use setuptools
if len(set(('test', 'easy_install')).intersection(sys.argv)) > 0:
import setuptools

from setuptools import setup


extra_setuptools_args = {} extra_setuptools_args = {}
if 'setuptools' in sys.modules: if 'setuptools' in sys.modules:
Expand All @@ -31,10 +25,7 @@
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', 'scikit-learn', install_requires=['numpy', 'scipy', 'pandas', 'ply', 'scikit-learn',
'nibabel', 'six'], 'nibabel', 'six'],
packages=["neurosynth", packages=find_packages(),
"neurosynth.base",
"neurosynth.analysis",
"neurosynth.tests"],
package_data={'neurosynth': ['resources/*'], package_data={'neurosynth': ['resources/*'],
'neurosynth.tests': ['data/*'] 'neurosynth.tests': ['data/*']
}, },
Expand Down

0 comments on commit 6fe1971

Please sign in to comment.