[Distutils] setuptools: ALL source tree?

Pierre Imbaud pierre at saiph.com
Tue Oct 10 22:14:06 CEST 2006


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.
my source tree:
root
   setup.py
   package
   scripts
   test
   doc

I dont want to distribute test: internal non-regression tools and
data. dont want to distribute doc either.
I found NO WAY, with setup.py at the top, to get these files out of
the tarball. Am I supposed to make ONE tree with all I want to
distribute, and all I dont want distributed in some other tree? Like:

root
   dist
     setup.py
     package
     scripts
   test
   doc

Its no big deal, Im redesigning the layering.
But then, the only way to say: "I dont want this distributed any more"
is by moving the file?
Or did I miss some point?
Thanks for answering



More information about the Distutils-SIG mailing list