Thanks,
This seems to be promising idea.
Happy hacking.
Krishnakant.
On 02/10/11 02:23, Carsten Senger wrote:
Am Samstag, den 01.10.2011, 22:40 +0530 schrieb Krishnakant Mane:
Hello all,
I want to create a cd distribution for my pylons based app.
I will certainly come across situations where there is bad or even no
internet for easy_install to work online.
I would like a perfect list with proper url's to download all the
dependencies for Pylons version 1.0 with correct versions of all modules.
I will then download them and write a script with the -i parameter to
get the eggs or tarballs from local directory.
So can some one help me on this?
I request this because not all latest packages might be on pypi and some
are on their own independent url.
When you use zc.buildout [1] you can zip up the buildout directory that
contains the downloaded eggs and run it anywhere again with `buildout -N
-o` (N = non-newest mode, o = offline).
The dumppickedversions extension[2] prints out the picked versions which
you can then insert in the buildout configuration to pin the packages to
that version.
You can combine buildout with virtualenv with --no-site-packages to
isolate the installation from the systems python.
Buildout is heavier than pip and has it's own downsides, especially the
verbose output and sometimes cryptic error messages, but it's darn easy
to repeat even complicated deployment even without a network connection.
You might look at the buildout of the karl project or from this project
[3] to see a buildout configuration of a pyramid project.
..Carsten
[1] http://www.buildout.org/
[2] http://pypi.python.org/pypi/buildout.dumppickedversions
[3] https://bitbucket.org/csenger/designhub/src
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.