Skip to main content

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdm-buildlocked-0.1.0a1.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

pdm_buildlocked-0.1.0a1-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page