-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #454 from pv/setup-cleanups
MAINT: setup.py cleanups and additions
- Loading branch information
Showing
8 changed files
with
74 additions
and
72 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 |
---|---|---|
@@ -1,38 +1,20 @@ | ||
# Use .add_data_files and .add_data_dir methods in a appropriate | ||
# setup.py files to include non-python files such as documentation, | ||
# data, etc files to distribution. Avoid using MANIFEST.in for that. | ||
# | ||
include MANIFEST.in | ||
include *.txt | ||
include setupscons.py | ||
include setupegg.py | ||
include setup.py | ||
include scipy/*.py | ||
# Cython generation | ||
include cythonize.dat | ||
include tools/cythonize.py | ||
include scipy/cluster/_vq_rewrite.c # unused, but ship still | ||
# Add Cython files | ||
recursive-include scipy *.pyx *.pyx.in *.pxd *.pxi | ||
# Add swig files | ||
recursive-include scipy *.i | ||
# Adding scons build related files not found by distutils | ||
recursive-include scipy SConstruct SConscript | ||
recursive-include scipy README | ||
# Add files to allow Bento build | ||
include f2py.py | ||
include interface_gen.py | ||
include bscript bento.info | ||
recursive-include scipy bscript bento.info | ||
# Top-level build scripts | ||
include setup.py setupscons.py bscript bento.info | ||
# All source files | ||
recursive-include scipy * | ||
# All documentation | ||
recursive-include doc * | ||
# Add build and testing tools | ||
include tools/py3tool.py | ||
include tox.ini | ||
include tools/test-installed-scipy.py | ||
# Add documentation: we don't use add_data_dir since we do not want to include | ||
# this at installation, only for sdist-generated tarballs | ||
include doc/Makefile doc/postprocess.py | ||
recursive-include doc/release * | ||
recursive-include doc/source * | ||
recursive-include doc/sphinxext * | ||
recursive-include tools * | ||
# Cached Cython signatures | ||
include cythonize.dat | ||
# Exclude what we don't want to include | ||
prune scipy/special/tests/data/boost | ||
include scipy/special/Faddeeva.hh | ||
prune scipy/special/tests/data/gsl | ||
prune doc/build | ||
prune doc/source/generated | ||
prune */__pycache__ | ||
global-exclude *.pyc *~ *.bak *.swp *.pyo |
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 |
---|---|---|
@@ -1,12 +1,20 @@ | ||
SciPy Reference Guide | ||
===================== | ||
SciPy Documentation | ||
=================== | ||
|
||
Instructions | ||
------------ | ||
How to build it | ||
--------------- | ||
The easy way to build the documentation is to run | ||
|
||
python setup.py build_sphinx | ||
|
||
This will first build Scipy in-place, and then generate documentation for it. | ||
|
||
Another way | ||
----------- | ||
1. Optionally download an XML dump of the newest docstrings from the doc wiki | ||
at ``/pydocweb/dump`` and save it as ``dump.xml``. | ||
2. Run ``make html`` or ``make dist`` | ||
|
||
You can also run ``summarize.py`` to see which parts of the Numpy | ||
namespace are documented. | ||
Note that ``make html`` builds the documentation for the currently installed | ||
version of Scipy, not the one corresponding to the source code here. | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.