
Phillip J. Eby wrote :
At 04:14 PM 10/10/2006 -0400, Pierre Imbaud wrote:
Trying to put setuptools to work, from the svn workspace, with no previous experience of distutils or setuptools (previously had a script making a tarball). As often happens with very good tools, very well documented, some very simple, yet vital pieces of information is missing for the newcomer. ...
See:
http://python.org/doc/2.4.1/dist/manifest.html
and:
http://python.org/doc/2.4.1/dist/sdist-cmd.html#sdist-cmd
for the full doc on this.
The short version: create a MANIFEST.in file in 'root' with these two lines:
prune test prune doc
Setuptools will then remove anything under those subdirectories from its source lists. The files will not then be included in source distributions. Works fine! thanks a lot!