Ever did a mistake to pip install in the terminal when installing packages from requirements.txt file like following?
$ pip install requirements.txt Collecting requirements.txt Could not find a version that satisfies the requirement requirements.txt (from versions: ) No matching distribution found for requirements.txt
Now you wont. Thanks to some nasty hacks and tricks there is a package on PyPI that handles that. It finds the desired requirements file and installs it in your current environment.
echo "gevent" > requirements-dev.txt pip install requirements-dev.txt
This package was made only for trolling so do not expect it to work. It may work on Linux and Mac OS X but was not extensively tested.
PyPI (fortunately) does not allow to upload package named requirements.txt so the only supported name is currently a requirements-dev.txt. It still should be quite popular though.
Metadata
Release files for requirements-dev.txt 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| requirements-dev.txt-0.0.6.tar.gz | 2.8 kB | Details |
Release files / requirements-dev.txt-0.0.6.tar.gz
| Download URL | requirements-dev.txt-0.0.6.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b1ed1bcffd7fd406e940c0ec8f7158440569a26a3a18cba6769b569ef85158b
|
|
BLAKE2b-256 checksum How to use checksums |
277c6d25de37101588a31739cb350c7f0992c026ae3e67e676b5350e566d450f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |