Lock your dependencies once, use your lockfile everywhere
Project description
pip-compile-cross-platform
🚨 This is early-stage software, it's currently recommended to verify outputted changes 🚨
Usage
pip-compile-cross-platform requirements.in
Description
pip-compile
is an incredible tool built by
the Jazzband crew. However, there's one main limitation: cross-environment usage is
unsupported.
As the resulting requirements.txt can differ for each environment, users must execute pip-compile on each Python environment separately to generate a requirements.txt valid for each said environment.
pip-compile-cross-platform
is planned to act as a stand-in replacement for pip-compile
that can produce a
single, source-of-truth requirements.txt
file that can be used in any target environment.
Note that compatibility with pip-compile
is still weak, and help to improve the state of
compatibility would be much appreciated.
How it works
Environment-specific dependencies are defined using environment markers.
pip-compile
processes environment markers up-front according to the current environment.
poetry
, another fantastic project, can export a requirements.txt
file while tracking the state of all environment markers.
Essentially, pip-compile-cross-platform
is a thin wrapper around poetry
that mimicks the interface of pip-compile
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pip-compile-cross-platform-0.9.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d9e0022f51de518f37e43eb0703e8bbb6a0455fad8cea7821ee7c3da095a111 |
|
MD5 | a408180f1e6a28f8185101b08d4ff1d6 |
|
BLAKE2b-256 | 816c6103f25d0307466c36128c0ed4497918215dfcaec46e16943c5c09984cc7 |
Hashes for pip_compile_cross_platform-0.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df8addbc1a720845456e11ad081fa9bc54c199a6bfed310d63bc95dd1220857e |
|
MD5 | ff09af4fffa8b0e6f63af5ca68b27ec8 |
|
BLAKE2b-256 | c68063cf6949b5fdd5a311ca572829110b08580b2a6cbd229003e7b6b99a3fb8 |