Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install carton

How to install carton

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install carton
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2.3 Available View build log
0.2.2 Available View build log
0.2.1 Available View build log
0.2 Available View build log
0.1 Available View build log
Windows (64-bit)
0.2.3 Available View build log
0.2.2 Available View build log
0.2.1 Available View build log
0.2 Available View build log
0.1 Available View build log
Mac OS X (10.5+)
0.2.3 Available View build log
0.2.2 Available View build log
0.2.1 Available View build log
0.2 Available View build log
0.1 Available View build log
Linux (32-bit)
0.2.3 Available View build log
0.2.2 Available View build log
0.2.1 Available View build log
0.2 Available View build log
0.1 Available View build log
Linux (64-bit)
0.2.3 Available View build log
0.2.2 Available View build log
0.2.1 Available View build log
0.2 Available View build log
0.1 Available View build log
 
Author
License
MPL
Imports
Lastest release
version 0.2.3 on May 23rd, 2012

make a self-extracting virtualenv from directories or URLs of packages

To package up all files in a virtualenvs source directory (e.g.):

python path/to/carton.py myproject project/src/*

This will create a self-extracting file, myproject.py, that will unfold a virtualenv with the specified packages setup for development

The sources may be directories, local or HTTP-accessible tarballs, or ordinary files. The setup.py`s found in the `src directory after extraction will be run (via python setup.py develop) in the order they are provided. This makes it possible to have completely local dependencies (without touching the net) by correctly specifying the source order. If a setup.py is overwritten from a later source, it will not be rerun (known limitation).

The extracted virtualenv will be created in the current directory and will have the same name as provided initially (e.g. myproject) unless --env is specified.

Normally, the entire contents of source directories are compressed and packaged as-is. When running with the --package flag, a source tarball is produced via python setup.py sdist if the directory contains a top-level setup.py.

Since directories are compressed as-is, portable file-based VCS repositories, such a mercurial and git, may be cartoned this way (though note that newer repositories may not be backwards-compatible with older clients).

Subscribe to package updates

Last updated May 23rd, 2012

Download Stats

Last month:4

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.