On Fri, 09 Oct 2009 04:03:52 -0700, Chris Withers <[email protected]> wrote:

Sridhar Ratnakumar wrote:
This release includes a new packaging tool by activestate called Python
Package Manager (PyPM).

Is PyPM available separately?

No, PyPM comes only with ActivePython (just like PPM does with ActivePerl).

Here's a sample command line output::
     $ pypm install lxml

Where does this get lxml from?

From the binary repository:

$ pypm -vv install lxml
[...]
Downloading http://pypm.activestate.com/root/2.6/macosx/pool/l/lx/lxml-2.2.2_macosx_2.6_2.pypm

How can I control that?

$site-packages/pypm/client/client.conf OR the -L option

Where does this put the package on disk?

"PyPM follows the PEP 370 specification and installs packages by default in ~/.local on Unix and Mac and %APPDATA%\Python on Windows;"

http://docs.activestate.com/activepython/2.6/pypm.html#installing-packages

$ pypm files lxml
[...]
/Users/sridharr/.local/lib/python2.6/site-packages/lxml/objectify.so
/Users/sridharr/.local/lib/python2.6/site-packages/lxml/pyclasslookup
[...]

How can I have separate package requirements for different python projects on the same box?

Hmm, I don't understand this question.

How can I specify the version of lxml required?

It is currently not possible (not exposed as command line argument), but should be implemented in subsequent releases.

How can I reproduce the environment required for a particular project?

If by that you mean something like 'pip bundle', this is currently not available. Please open a ticket at http://workspace.activestate.com/sridharr/pypm/report/1

-srid
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to