setup.py install dependency too?
        Posted  
        
            by Jason Sundram
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jason Sundram
        
        
        
        Published on 2010-05-07T15:55:10Z
        Indexed on 
            2010/05/07
            15:58 UTC
        
        
        Read the original article
        Hit count: 460
        
I have a python source distribution, and it depends on some other modules that I've also made. The directory tree looks like this.
I've written a setup.py file for one of those modules (pydirac225, for those of you who are following along at home), and I want to have that setup.py called from the main setup.py?
Another module dependency (pysoundtouch14) has a setup.py file, but the contents of it are basically pasted into the main setup.py script. It seems more modular to allow each of these components to specify how they are set up, and allow the main setup file to invoke their setup scripts individually. Is there a standard way to deal with this issue?
To recap: I have some code that depends on other modules: should the other module's setup code go in the main setup.py, or is there a way to have my code's setup.py invoke their setup.py files?
© Stack Overflow or respective owner