[Python] [ANN] BPT (Boxed Package Tool) 0.4a -- now with PIP support
Giuseppe Ottaviano
giuott a gmail.com
Ven 15 Maggio 2009 01:15:59 CEST
Hi all,
I am happy to announce BPT 0.4a
http://pypi.python.org/pypi/bpt
This release is particularly interesting for python users, since it
includes a modified version of PIP that installs the packages inside
the box. So, at least for python packages, installation (including
dependency resolution) is fully automated.
Version 0.4
===========
- Included a forked version of `PIP
<http://pypi.python.org/pypi/pip>`_ 0.3.1 that installs packages in
the current box. Installing python packages is now as easy as
``easy_install``
- Implemented the ``autoremove`` command that removes all the disabled
packages (unless they match given patterns)
- Written some new documentation, added a TODO list
What is BPT
===========
BPT is a Python library (``bpt``) and a command line application
(``box``) to create and manage isolated enviroments, or *boxes*.
- Boxes are *relocatable*, which means that they can be moved to a
different directory or even distributed to other machines (provided
that the architecture is compatible).
- Packages inside the box can be easily disabled, enabled and removed,
so that different versions of the same software can be installed
simultaneously, allowing to switch between them.
- Boxes can be *nested*, in the sense that it is possible to activate
a box environment while inside another box environment, so that all
the packages installed in both boxes are available, and so on.
BPT is similar in some ways to `virtualenv
<http://pypi.python.org/pypi/virtualenv>`_, but it is not restricted
to Python packages, allowing to install virtually any Unix
software. It also takes some ideas from `jhbuild
<http://live.gnome.org/Jhbuild>`_, but without the dependency
resolution and automatic downloading machinery, and the ``bpt-rules``
format is inspired by `Gentoo <http://www.gentoo.org/>`_'s ebuilds.
A fork of PIP_ is included to make installation of python packages
easier, and as an example of use of the BPT API.
Enjoy,
Giuseppe Ottaviano
Maggiori informazioni sulla lista
Python