[py-dev] 0.9.2 alpha eggs - please test
Hi all, i am experimenting with building eggs and installation improvements, particularly for windows but also for unix. Would be great if you could give "easy_install" with one of these packages a try and report back any problems: http://codespeak.net/~hpk/py/dist/ This should work nicely out of the box, including accessing "py.magic.greenlet" (the stackless light c-extension) and running "py.test" on the command line on your project. You should be able to remove all previous hacks, additions to the PATH environment setting. thanks & best, holger -- collaborative expert contracting: http://merlinux.eu PyPy Python/Compiler tool chain: http://codespeak.net/pypy pylib py.test/greenlets/svn APIs: http://pylib.org
On Mon, Aug 18, 2008 at 15:52 +0200, holger krekel wrote:
i am experimenting with building eggs and installation improvements, particularly for windows but also for unix. Would be great if you could give "easy_install" with one of these packages a try and report back any problems:
i assume you know that you can do "easy_install URL_TO_EGG". holger
Holger,
i assume you know that you can do "easy_install URL_TO_EGG".
Thanks for typing out the assumption :) I did an easy install, and it worked, also copied a greenlet test from the documentation and it printed as expected. Improvement suggestion: Put out a small .html with the total file names. Actually Firefox only lists the name as py-0.9.2_alpha_7-py2..> so some mousing over is required to judge if it fits for 2.5 or 2.4 ... best wishes, Harald -- GHUM Harald Massa persuadere et programmare Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 no fx, no carrier pigeon - EuroPython 2009 will take place in Birmingham - Stay tuned!
Holger, other test results: ----> py-0.9.2_alpha_7-py2..> installs flawless. But: there are a lot of useless things copied to python25\scripts: py.cleanup.cmd py.countloc.cmd py.lookup.cmd py.rest.cmd py.test.cmd do not have ANY use on windows, as windows tries to open "py.cleanup" when typin py.cleanup; which of course fails. Recommendation: rename those to pycleanup.cmd, pycountloc.cmd etc. Best wishes, Harald -- GHUM Harald Massa persuadere et programmare Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 no fx, no carrier pigeon - EuroPython 2009 will take place in Birmingham - Stay tuned!
Hi Harald, On Tue, Aug 19, 2008 at 09:25 +0200, Harald Armin Massa wrote:
other test results:
----> py-0.9.2_alpha_7-py2..>
installs flawless.
But: there are a lot of useless things copied to python25\scripts:
py.cleanup.cmd py.countloc.cmd py.lookup.cmd py.rest.cmd py.test.cmd
do not have ANY use on windows, as windows tries to open "py.cleanup" when typin py.cleanup; which of course fails.
hum, i think this relates to earlier installs and/or your PATH settings. the above egg does not install "py.*". What it does is this (see "def run" at the end of http://codespeak.net/svn/py/release/0.9.x/setup.py): rename py.test, py.rest, etc. to py_test, py_rest, etc. in the Python25/Scripts dir and create py.test.cmd, py.rest.cmd, ... helpers which calls the underscore scripts. But indeed, if one installs 0.9.1 and then 0.9.2-alpha one cannot use "py.test" out of the box. This relates to the old PATH hacks. The new egg does not need to add to PATH which i think is good. So i guess I am going to work to try to fix things by going through the PATH and pruning out "py/bin/" PATHS if they look like py lib ones. Actually i think it makes sense to try to undo this PATH addition while upgrading, anyway.
Recommendation: rename those to pycleanup.cmd, pycountloc.cmd etc.
i'd like to have uniforming naming if possible. on two sidenotes, i wonder why setuptools does not automatically delete the old py lib version and if there is a setuptool-supported way of uninstalling packages. many thanks for noting this, holger
Hi Harald, Ralf, so i created an egg with a function that tries to undo the path changes done with 0.9.1. I checked that the code works but i think that setuptools does not execute my code at runtime, only at bdist_egg time. I guess i need to investigate how i can have some code executed at install time. Anybody has hints? best, holger On Tue, Aug 19, 2008 at 10:57 +0200, holger krekel wrote:
Hi Harald,
On Tue, Aug 19, 2008 at 09:25 +0200, Harald Armin Massa wrote:
other test results:
----> py-0.9.2_alpha_7-py2..>
installs flawless.
But: there are a lot of useless things copied to python25\scripts:
py.cleanup.cmd py.countloc.cmd py.lookup.cmd py.rest.cmd py.test.cmd
do not have ANY use on windows, as windows tries to open "py.cleanup" when typin py.cleanup; which of course fails.
hum, i think this relates to earlier installs and/or your PATH settings. the above egg does not install "py.*". What it does is this (see "def run" at the end of http://codespeak.net/svn/py/release/0.9.x/setup.py): rename py.test, py.rest, etc. to py_test, py_rest, etc.
in the Python25/Scripts dir and create py.test.cmd, py.rest.cmd, ... helpers which calls the underscore scripts.
But indeed, if one installs 0.9.1 and then 0.9.2-alpha one cannot use "py.test" out of the box. This relates to the old PATH hacks. The new egg does not need to add to PATH which i think is good. So i guess I am going to work to try to fix things by going through the PATH and pruning out "py/bin/" PATHS if they look like py lib ones. Actually i think it makes sense to try to undo this PATH addition while upgrading, anyway.
Recommendation: rename those to pycleanup.cmd, pycountloc.cmd etc.
i'd like to have uniforming naming if possible.
on two sidenotes, i wonder why setuptools does not automatically delete the old py lib version and if there is a setuptool-supported way of uninstalling packages.
many thanks for noting this, holger _______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev
-- collaborative expert contracting: http://merlinux.eu PyPy Python/Compiler tool chain: http://codespeak.net/pypy pylib py.test/greenlets/svn APIs: http://pylib.org
On Tue, Aug 19, 2008 at 2:36 PM, holger krekel <holger@merlinux.eu> wrote:
Hi Harald, Ralf,
so i created an egg with a function that tries to undo the path changes done with 0.9.1. I checked that the code works but i think that setuptools does not execute my code at runtime, only at bdist_egg time. I guess i need to investigate how i can have some code executed at install time. Anybody has hints?
no, sorry.
On Tue, Aug 19, 2008 at 9:17 AM, Harald Armin Massa <haraldarminmassa@gmail.com> wrote:
Holger,
i assume you know that you can do "easy_install URL_TO_EGG".
Thanks for typing out the assumption :) I did an easy install, and it worked, also copied a greenlet test from the documentation and it printed as expected.
same here, everything seems to work. I've tested (a litte bit) with OS X (python 2.5) and with python 2.6 on a linux box... - Ralf
participants (3)
-
Harald Armin Massa -
holger krekel -
Ralf Schmitt