Le 1 oct. 2011 à 19:10, Krishnakant Mane <[email protected]> a écrit :
> 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. If you develop your application inside a virtualenv, preferably using the --no-site-packages option, you can get the complete list of locally installed dependencies, along with their version number, using the "pip freeze -l" command. This can serve as a basis for a requirements.txt file for repeatably installing all those dependencies when you have a network connection. For the offline distribution of all those dependencies, you might want to try the "bundles" feature of pip: http://www.pip-installer.org/en/latest/usage.html#bundles (I have not used it my self, but it looks like it fits your use case). Regards, -- Ronan Amicel -- 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.
