Building EGGs

1 view
Skip to first unread message

gsandorx

unread,
Nov 10, 2009, 10:33:10 AM11/10/09
to pylons-discuss
Hi,
When building egg packages, do I need to run the command “python
setup.py bdist_egg” with every python executable corresponding to my
desired supported versions? Doing so would require me to have virtual
enviroments for at least 3 python versions (2.4, 2.5, 2.6), wouldn’t?
Isn’t there an easy way?
(I’m currently using python26)
Thanks,
Sandor

tom.w...@gmail.com

unread,
Nov 10, 2009, 11:46:18 AM11/10/09
to pylons-...@googlegroups.com
python setup.py sdist has given me the most benefit. I think this is ok, unless you have platform specific c code or something.
Sent from my BlackBerry device from Cincinnati Bell Wireless

Philip Jenvey

unread,
Nov 12, 2009, 6:50:39 PM11/12/09
to pylons-...@googlegroups.com


Pretty much, but as Tom mentions you rare should need to do this, sdist should be enough. Otherwise I've done this on OS X using MacPorts installations of Python, which will install the non-default Python as python2.x. Then I've just ran python setup.py bdist_egg, python2.3 setup.py bdist_egg, etc


--
Philip Jenvey

Reply all
Reply to author
Forward
0 new messages