[Distutils] setuputils cvs based source detection?

S Joshua Swamidass swamidass at gmail.com
Sun Oct 15 04:55:15 CEST 2006


Here is the situation:

I have a large project in one big cvs tree.  i want to be able to
release in differen't packages from this tree using different
setup.py's. My project is organized like:

./ (root dir)
setup_A.py  #package = ['A']
setup_B.py  #package = ['B']
A/
    __init__.py
    moduleA.py
B/
    __init__.py
   moduleB.py

The bdist command works fine with this setup. If i use the
distutils.core.setup, the sdist command works correctly too. So here
is the problem: using setuputils.setup, the sdist command will package
the WHOLE source tree (both directories A and B) when using either of
the setup_*.py.

I'm quite certain this is because both A/ and B/ are under cvs source
control, and setup assumes that the whole source tree is required for
the sdist. How do i turn this behaivior off or develop a work around?

Thanks!

S Joshua Swamidass


More information about the Distutils-SIG mailing list