Skip to content

Commit

Permalink
Merge pull request #73 from fcurella/master
Browse files Browse the repository at this point in the history
fixed setup.py to include all subpackages
  • Loading branch information
marcelcaraciolo committed Feb 1, 2012
2 parents 330625d + ff08032 commit 21f85bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def configuration(parent_package='', top_path=None):
quiet=True,
)

config.add_subpackage('scikits')
config.add_subpackage(DISTNAME)
subpackages = ['.'.join(i[0].split('/')) for i in os.walk('scikits') if '__init__.py' in i[2]]
[config.add_subpackage(sub_package) for sub_package in subpackages]
config.add_data_files('scikits/__init__.py')

return config
Expand Down

0 comments on commit 21f85bc

Please sign in to comment.