Permalink
Browse files

switch to find_packages in setup

  • Loading branch information...
1 parent 52eccea commit 6fe19719e8f88169d1b787e9bb33202d23d0b109 @tyarkoni tyarkoni committed Nov 8, 2015
Showing with 3 additions and 12 deletions.
  1. +3 −12 setup.py
View
@@ -1,13 +1,7 @@
import os
import sys
-
-# Borrowing a trick from nibabel to enable some functionality coming
-# from setuptools.
-# For some commands, use setuptools
-if len(set(('test', 'easy_install')).intersection(sys.argv)) > 0:
- import setuptools
-
-from setuptools import setup
+import setuptools
+from setuptools import setup, find_packages
extra_setuptools_args = {}
if 'setuptools' in sys.modules:
@@ -31,10 +25,7 @@
download_url='https://github.com/neurosynth/neurosynth/tarball/%s' % __version__,
install_requires=['numpy', 'scipy', 'pandas', 'ply', 'scikit-learn',
'nibabel', 'six'],
- packages=["neurosynth",
- "neurosynth.base",
- "neurosynth.analysis",
- "neurosynth.tests"],
+ packages=find_packages(),
package_data={'neurosynth': ['resources/*'],
'neurosynth.tests': ['data/*']
},

0 comments on commit 6fe1971

Please sign in to comment.