-
Notifications
You must be signed in to change notification settings - Fork 3k
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
support local directory as repository, just like easy_install #111
Comments
|
2 similar comments
|
|
We can use local files :) For that, you should use --no-index (not look at
file:///tmp/issue153_dir/ should-dsl
/home/hugo/.virtualenvs/issue153/lib/python2.6/site-
Pip always use source files, it can't handle eggs. You can create what we call
Every dependency is in that pybundle, so we don't need anyhing else :) If you want to install the packages (it is platform-independent, because they
Now, I am not sure, at least at this moment, how you can generate a bundle or
|
I missed the outputs. They are attached.
|
I don't need bundles or anything, I have a directory full of .tar.gz's as I locates dependencies from the local tar.gz's, so I guess the new file: feature is in fact working.
|
mmm scratch that, pip is still insistent on going out to the network. We are Downloading/unpacking WebTest>=1.1 (from pylons) Downloading still downloading ! I know I can work around this particular thing but I'd
|
So if the requirements file is used, then it seems to obey the rules. Might I
|
So, to clarify, at this point the ticket is simply asking for docs for this
|
If you want it to be just about documentation, then that's fine. If you Pip defines itself as a "replacement for easy_install...meant to improve on The "bundle" story is fine, I experimented with bundles and watched it work The ancillary issues I came across through this process are that its not
|
I agree with zzzeek in that it'd be super if pip had an "-H None" like option Presently, WebTest (for example) spams the repo lists with a find_links option
|
This is no longer valid as pip no longer hits the network at all by default with |
The feature is described here: http://peak.telecommunity.com/DevCenter/EasyInstall#installing-on-un-networked-machines .
This makes it easy to include tar.gzs of all the libraries a project needs in the source tree, and to tack on a Makefile that will build out the whole project (internal projects shared among a group of developers). There's no risk of packages no longer being available (this has happened to me before), no need for network access, no need for an "index" server, and I know that "file:" urls are now supported but I don't understand why creating an index.html file should be necessary (I also cannot find any examples of the format of such a file and none of my reasonable guesses work). With easy_install's "-H None -f
" its very easy.The text was updated successfully, but these errors were encountered: