Skip to content

Commit

Permalink
Make a separate fff2 setup, so that only users who actually need fff2…
Browse files Browse the repository at this point in the history
… get it.
  • Loading branch information
fperez committed Mar 28, 2009
1 parent e7033a8 commit dc5153e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/usr/bin/env python
from os.path import join
import sys

from neuroimaging import packages, __version__, __doc__

py_modules = ['fff2']

def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration

Expand Down Expand Up @@ -39,7 +38,6 @@ def main(packages):
#ext_package = 'neuroimaging',
#packages=packages,
#package_dir = package_dir,
py_modules = py_modules,
url = 'http://neuroimaging.scipy.org',
long_description = __doc__,
configuration = configuration)
Expand Down
15 changes: 15 additions & 0 deletions setup_fff2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env python
"""Special backwards-compatibility installer for standalone fff2 module.
Only use this if you have existing code with top-level fff2 imports that you
need to run without updating it to the new neuroimaging API.
"""

from distutils.core import setup

setup(name='fff2',
description='Fast and Furious fMRI - backwards compatibility',
license='BSD',
py_modules = ['fff2'],
url='http://www.lnao.fr',
)

0 comments on commit dc5153e

Please sign in to comment.