Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #519 (closed task: fixed)

Opened 13 years ago

Last modified 12 years ago

Offline install egg bundle

Reported by: kevin Owned by: anonymous
Priority: normal Milestone: 1.0
Component: Installation Version:
Severity: normal Keywords:


Phillip Eby explains how we can easily gather the eggs to create a tarball with everything required for installation:

The '--always-copy' or '-a' option to easy_install will copy all needed
eggs to a given directory, so something like this will work on a
machine that has all the eggs already:

  easy_install -axd tempdir TurboGears

(The -x is short for --exclude-scripts.)  Anyway, this will basically
just dump all the eggs you need in one directory for you, with no
manual fiddling required.  You can then copy them to the other machine
and use -f to find them.

Change History

comment:1 Changed 13 years ago by Karl

From  eby's blog

Use "easy_install -maxd .". "-m" says not to add to a .pth file.
"-a" means to always copy eggs to the target directory, even if 
they're already installed somewhere else on your machine. "-x" 
excludes scripts, and "-d ." sets the current directory as the 
target location.

Once you've done this, you can transfer that directory to your 
arget machine, where you can use "easy_install -f. *.egg" to 
install them.

comment:2 Changed 13 years ago by Karl

Having done a few offline installations, the magic incantation is:

easy_install -zmaxd .

This works with setuptools 0.6a10 (not a9).

comment:3 Changed 13 years ago by Karl

And for the install,

easy_install -f . TurboGears

comment:4 Changed 13 years ago by jorge.vargas

why this is a ticket?

comment:5 Changed 13 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from 0.9 to 1.0
Note: See TracTickets for help on using tickets.