Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move more stuff over to use numpy.distutils including the main setup.py
- Loading branch information
tim.leslie
committed
Feb 18, 2007
1 parent
d2186d9
commit e3bff88
Showing
6 changed files
with
58 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
def configuration(parent_package='',top_path=None): | ||
from numpy.distutils.misc_util import Configuration | ||
config = Configuration('formats', parent_package, top_path) | ||
|
||
config.add_data_dir('tests') | ||
|
||
from nifti1_ext import extension | ||
name, source, d = extension | ||
|
||
config.add_extension(name, source, **d) | ||
|
||
return config | ||
|
||
if __name__ == '__main__': | ||
from numpy.distutils.core import setup | ||
setup(**configuration(top_path='').todict()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
def configuration(parent_package='',top_path=None): | ||
from numpy.distutils.misc_util import Configuration | ||
config = Configuration('data_io', parent_package, top_path) | ||
|
||
config.add_data_dir('tests') | ||
|
||
config.add_subpackage('formats') | ||
|
||
|
||
return config | ||
|
||
if __name__ == '__main__': | ||
from numpy.distutils.core import setup | ||
setup(**configuration(top_path='').todict()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters