Skip to content

Commit

Permalink
ENH: include /*.txt etc. in source dist only, rather than installing it
Browse files Browse the repository at this point in the history
  • Loading branch information
pv committed Aug 4, 2010
1 parent b2a1666 commit 7eb6fa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 4 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
# data, etc files to distribution. Avoid using MANIFEST.in for that.
#
include MANIFEST.in
include LICENSE.txt
include COMPATIBILITY
include *.txt
include setupscons.py
include setupsconsegg.py
include setupegg.py
include site.cfg.example
include tools/py3tool.py
# Adding scons build related files not found by distutils
recursive-include numpy/core/code_generators *.py *.txt
recursive-include numpy/core *.in *.h
Expand Down
5 changes: 0 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,6 @@ def configuration(parent_package='',top_path=None):

config.add_subpackage('numpy')

config.add_data_files(('numpy','*.txt'),
('numpy','COMPATIBILITY'),
('numpy','site.cfg.example'),
('numpy/tools', 'tools/py3tool.py'))

config.get_version('numpy/version.py') # sets config.version

return config
Expand Down

0 comments on commit 7eb6fa7

Please sign in to comment.