diff options
author | David Cournapeau <cournape@gmail.com> | 2008-12-21 16:19:14 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-12-21 16:19:14 +0000 |
commit | 13ad7269de41edb67b786bbeb7605c1702003e84 (patch) | |
tree | 19b729a18937a5f3cf761f4d57f6d3b9ad6a1fff /setup.py | |
parent | a80dfe7c7abd95ba351b909b1de9212bd22438ca (diff) | |
download | numpy-13ad7269de41edb67b786bbeb7605c1702003e84.tar.gz |
Add doc sources so that sdist tarball contains them.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -44,6 +44,14 @@ if os.path.exists('MANIFEST'): os.remove('MANIFEST') # a lot more robust than what was previously being used. __builtin__.__NUMPY_SETUP__ = True +def setup_doc_files(configuration): + # Add doc sources + configuration.add_data_dir("doc/release") + configuration.add_data_dir("doc/source") + configuration.add_data_dir("doc/sphinxext") + configuration.add_data_files(("doc/Makefile"), ("doc/postprocess.py")) + + def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration @@ -61,6 +69,8 @@ def configuration(parent_package='',top_path=None): config.get_version('numpy/version.py') # sets config.version + setup_doc_files(config) + return config def setup_package(): |