Closed matcatc closed 14 years ago
According to this: http://stackoverflow.com/questions/1754966/how-can-i-run-a-makefile-in-setup-py/1763900#1763900, we can override what setup.py cmd's will do. This way we can override sdist (and others) to build the documentation before building the distributable.
paver claims to be able to build documentation as part of its build process, but the documentation is lacking. From what I can glean, it only works with sphinx.
Now working. Whenever setup.py sdist is invoked, all the documentation is completely rebuilt.
Would like to eventually make it so that it only rebuild necessary files, but that'll have to wait.
Need to include documentation in setup.py now.
included data files in setup.py
closed by 2d6ae365694f0a39536f537ae072b8eedf2e5ff7
It'd be nice if whenever we created a distributable, the documentation would be built and included.
This might require something more advanced like a MAKEFILE or a more complex build system (paver, buildout, setuptools, etc.)