`download` attempts to build instead of just downloading
See original GitHub issue- Pip version: 9.0.1
- Python version: 2.7
- Operating System: CentOS 7.3.1611
Description:
I’m attempting to use the download
option to download a tar.gz
from pypi of the GDAL package
What I’ve run:
.venv/bin/pip download GDAL==2.1.0 --verbose --no-cache-dir --no-dependencies -d ./
Saved ./GDAL-2.1.0.tar.gz
Running setup.py (path:/tmp/pip-build-Gk23rl/GDAL/setup.py) egg_info for package GDAL
Running command python setup.py egg_info
running egg_info
creating pip-egg-info/GDAL.egg-info
writing pip-egg-info/GDAL.egg-info/PKG-INFO
InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-T9q_eG/GDAL/
Pip appears to be running setup.py
which isn’t what I want. I need to build the GDAL package with some optional flags that point to other header files.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Setting up maven to compile (instead of downloading ...
Question: How do I configure maven to always build all modules that are in the git repository and download only "true" dependencies, which...
Read more >Why gradle always downloads large files when trying to build ...
I am trying to learn IDEA plugin creation. I found some gradle based plugin sourse codes on github and tried to build them...
Read more >DownloadBuildArtifacts@1 - Download build artifacts v1 task
If true , this build task tries to download artifacts from the triggering build. If there is no triggering build from the specified...
Read more >Why whenever I try to print it automatically downloads it instead?
Only when I'm in firefox, I open a document (doesn't matter what program I'm in), hit print, it automatically downloads instead of printing....
Read more >Artifact not found using Download Pipeline Artifact task and ...
All artifacts from the 'primary' artifact are located and downloaded fine. ... artifact clones when the first build artifact is attempting to be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@xavfernandez But doesn’t the issue description show
--no-dependencies
still executingsetup.py
? I’m inclined to think this is an error on pip’s part (unless the metadata is needed for some other aspect ofpip download
’s behaviour).Duplicate of #1884.