Comments (11)
can confirm this.
However, I have never seen the use for the -e option for remote repositories, the only use really is if you have a subrepository which you want to install as source.
The above command could be changed to:
pip-accel install http://github.com/asavoy/django-mobile/archive/9dfae7664636de647bcfd71665b7bdf0c24a35d8.zip
It will do a normal python setup.py install instead of a python setup.py develop.
from pip-accel.
Thanks, I wasn't aware that -e
would do a different kind of install, to standard usage. (The long option form --editable
is suggestive of that, yet somehow I missed it!)
And in light of this, I'd agree it's not as valuable a use case to support. I've switched to zip archive URLs without issue, under pip and pip-accel.
from pip-accel.
that would work for github, but does bitbucket offer a similar option as well?
from pip-accel.
Yes, that also works:
https://bitbucket.org/hpk42/pytest/get/ef299e5.tar.bz2
from pip-accel.
I eventually settled upon a different method, because PyCharm kept insisting on refetching the archive file:
pip-accel install git+https://github.com/asavoy/django-mobile.git@b6088e1c#egg=django-mobile
It's simply removing the -e
option altogether -- pip and pip-accel both work fine when given a VCS location to install. This is indeed installing from a source repository (it should even work with private repos), so I think this issue should be considered invalid. Perhaps pip-accel could simply state it doesn't support the -e
option and leave it at that.
from pip-accel.
Nice, if that works it's great.
I think however the -e is still viable for some cases and it would be nice to support it.
from pip-accel.
Hmm somehow my comment from yesterday got lost: I think the problem simply is that pip-accel does not create the *.egg-info file in venv/lib/python2.7/site-packages
which contains the path to venv/src/cloned-repo-name
from pip-accel.
In the beginning I blindly added support for pip install --editable
but it really doesn't make sense at all, so I'm considering removing it. The point is that pip install --editable
is like python setup.py develop
IIUC; it just creates Python style symbolic links. If pip-accel
caches a binary distribution created like this, the cached binary distribution will forever be tied to the location of the original files; if you remove them the cached binary distribution will also break. That was not how I envisioned pip-accel
working; once a binary distribution is cached it should be independent from the state of the local system (except where not otherwise possible, i.e. binary dependencies). Does anyone have thoughts about this?
from pip-accel.
Having the same problem using pip-accel system-wide with a requirements file. For some reasons, I had it working for a few days, then ran into that issue. Not sure how to bypass it though.
from pip-accel.
I previously suggested I might simply remove support for editable packages, but that would make pip-accel less compatible with pip. What I've now done instead (in eccf0ba) is to add explicit support for editable packages. With this change editable packages bypass the binary cache and are installed using pip install --no-deps --editable $url
(to avoid me having to reimplement the same logic pip already has). Can someone try this out and tell me if it resolves this issue? Thanks for the feedback everyone!
from pip-accel.
I believe the problems reported here have been resolved for quite a while now so I'm going to close this issue. If anyone is still having problems with this then feel free to reopen the issue or open a new one. Thanks for the feedback everyone!
from pip-accel.
Related Issues (20)
- pip-accel not updating package HOT 3
- Doesn't work with pip 7+ HOT 2
- Add option for terse logging. HOT 5
- Windows / Appveyor - same version of cached file - invalidated and built again HOT 5
- is_wheel fails when source_directory is None HOT 6
- Not able to use pip-accel both globally and inside a virtual environment HOT 4
- Support custom pip command HOT 7
- Upgrade to pip 8 HOT 4
- Disabling S3CacheBackend because it failed HOT 2
- pip-accel does not support running as a module HOT 6
- Is there any way to use pip-accel without installing to virtualenv?
- pip-accel is not compatible with `-e` editable installs of packages that use `setuptools_scm` HOT 2
- Why does `pip-accel` make an sdist (?) archive when I `pip-accel install -e .`? HOT 3
- pip-accel doesn't support the newest pip? HOT 4
- Not compatible with alternative install locations, e.g. `--user`? HOT 2
- [need advice] Do not cache development versions
- Failed to install some packages
- pip-accel should honor settings in pip.conf
- Is this project still alive? HOT 2
- Trying to install pip-accel, it insists on downgrading pip to 2.7. How can I get it to respect the current version, 21.1.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pip-accel.