[Distutils] programatically making eggs
Tarek Ziadé
ziade.tarek at gmail.com
Fri Apr 18 15:36:03 CEST 2008
On Fri, Apr 18, 2008 at 3:11 PM, David Pratt <fairwinds at eastlink.ca> wrote:
> It looks like what I should be doing is subclassing Command from
> setuptools, then passing in user options. I'll be trying a few things
> out this way but any additional info would be helpful. Many thanks.
or you can use distutils.core.run_setup, which allows you to call setup()
with your arguments, in a realistic way.
in any case, it just consists of calling setup() with a sys.argv
correctly filled
That would be simpler imho instead of creating a new command
Tarek
>
> Regards,
> David
>
>
>
> David Pratt wrote:
> > Hi. What would be the best way of programatically making eggs as opposed
> > to python setup.py bdist_egg sdist on the command line. Many thanks.
> > _______________________________________________
> > Distutils-SIG maillist - Distutils-SIG at python.org
> > http://mail.python.org/mailman/listinfo/distutils-sig
> >
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
--
Tarek Ziadé | Association AfPy | www.afpy.org
Blog FR | http://programmation-python.org
Blog EN | http://tarekziade.wordpress.com/
More information about the Distutils-SIG
mailing list