Adds the ability to build the project using locked dependencies.
Project description
pdm-buildlocked
Adds the ability to build the project using locked dependencies.
This is useful when distributing an application via PyPi. It should probably not be
used if you are developing a library. Packages built this way can cause version
conflicts when installed alongside other packages. It should be clearly documented that
projects built in this way should be installed with pipx
, or in their own isolated
virtual environment.
Installation
This pdm plugin can be installed with the command:
pdm plugin add pdm-buildlocked
Usage
This plugin modifies the built in pdm build
command to include the --locked
argument.
When specified the resulting artifacts will have all their dependencies (including
transitive ones) pinned to the versions specified in the lock file.
pdm build --locked
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 pdm_buildlocked-0.1.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 793819a401f84e5ee122908a8e36149626acc2d7bb7eab420cd72cad00d65db1 |
|
MD5 | 7bc5a718a6a8e629f0d608c1dce891ff |
|
BLAKE2b-256 | e0286a6c6a70cef1c5f59eea5a18d88ef1506be716f9aa9bb9086e794c38b5f0 |