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 install --user pip-compile-cross-platform
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd5f613b083d62226170a1e680ad270641e4a77a4e8a37ffc65926476b65dee5 |
|
MD5 | c1bb4363dc8175ef77e7bef45e031618 |
|
BLAKE2b-256 | 57aab2e0d0b017b43e44753e7c2534cf555e732495719bf5c84b9108fa23aade |
Hashes for pip_compile_cross_platform-0.9.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 900b7678097aca1128819d02abc2de9584cd76e815d2bb5d20b2721a83cc7e4a |
|
MD5 | a0d204772d513d5724b1ff164028f31d |
|
BLAKE2b-256 | b60e6dd07cc007f6d85bdfe3ccf027efe67e5ce34515469935a3fc45aa87e23a |