[Distutils] setup.py develop un-egg-spected result

Phillip J. Eby pje at telecommunity.com
Tue Mar 25 18:22:28 CET 2008


At 12:52 PM 3/25/2008 -0400, Oliver Schoenborn wrote:
>I still need to use package_dir:
>
>setup(...
>     packages     = [''],
>     package_dir  = {'': 'src'},
>     ...
>)

That's fine - that layout is fully supported by the 'develop' command.

>How would you do it without package_dir?

If we were replacing the distutils, I'd simply have a "source root" 
option, rather than a dictionary with a magic key.



More information about the Distutils-SIG mailing list