[Distutils] RFC: Barely minimal CI + tests + packaging in Python WAS: Guidelines for where to put tests & how to package them

P.J. Eby pje at telecommunity.com
Thu Feb 25 18:00:06 CET 2010


At 10:41 AM 2/25/2010 -0500, Olemis Lang wrote:
>PS: BTW, how could I trigger easy_install(ation) at a given point
>while implementing a distutils command, and let the command perform
>further actions if deps are installed correctly ?

Setuptools' "Distribution" object has a method for fetching 
dependencies.  See setuptools' "test" command for an example.  (This 
doesn't install the dependencies globally, just drops eggs into the 
build directory.  But they're there and available to be reused for 
installation in a later phase, under normal circumstances.)



More information about the Distutils-SIG mailing list