-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Add docs on how to distribute standalone packages (and install them with no internet connection) #742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I agree. each version will get a subfolder of the main package folder in the local cache. Setting up Virtual env after Virtual env is making this functionality necessary Does this warrant a new issue being filed? |
btw, the pip docs rewrite I'm working on has a cookbook, which includes a section for this. regarding a "local package cache", I have a gist for this idea I wrote up awhile back, but other priorities keep getting in the way of trying this. https://gist.github.com/3828762 |
@jcrubino, even with what you want implemented you would still need to compile packages that have C parts - like lxml. Every time I create a virtualenv and need to install lxml I whine... |
@hitbra lol. Regardless pip having a local cache search path first would be ideal standard option (no flag) for many people. |
looks like this topic is a different angle than the new "Fast & Local Installs" cookbook entry: leaving this open to add another cookbook topic specifically with the title of "Distributing standalone packages" or something similar. |
@htlbra try wheel ( https://github.com/pypa/pip/tree/wheel ), now PEP 427. On my machine lxml installs from a wheel in 0.819 seconds; lxml specifically was a big motivator for the project. |
I'm going to close this, I think the existing "Fast & Local Installs" cookbook entry covers this just fine. |
I've seen a lot of people asking how to distribute packages and install them with no internet connection (both on #pip@freenode and StackOverflow), it is a recurring question and there are lots of answers to this problem.
I just answered a similar question on StackOverflow and I mentioned
bundles
and a--no-install
+--download-dir
trick.I think we should have an official and easy to find documentation on this topic.
(Maybe related to #236 and #111)
The text was updated successfully, but these errors were encountered: