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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38995975f71144155d39e0e35013de59025fc0a2f2ccc855b643b869df0ea3ef |
|
MD5 | bd0fe8913b2bf9b1820e1d0f4664f5b0 |
|
BLAKE2b-256 | fbe0e3324fe90925645f492e13bbb661bf5f8339a09d7430ed610e4f4ab949b0 |
Hashes for pip_compile_cross_platform-0.9.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df9a2a35372f94b44c994295463d26a3748202c8a46d6dd01e0c95f72dde33b2 |
|
MD5 | 5916892a87e00b90e66c294f8a743df2 |
|
BLAKE2b-256 | 80a99cce6f6c05571ba4300aa347516a804f2b5ac037479ae54569e711216a1b |