Skip to main content

Editable installs for packages developed with Poetry using Flit.

Project description

poetry-link

Poetry natively does not support editable installs (as of writing this on Jan 22, 2022). This command makes use of the Flit backend to leverage its excellent symlink support. Relevant parts of the Poetry configuration will by adpated such that no Flit related configuration needs to be added to pyproject.toml.

This package depends on Slam for the slam link command and exposes it as plugin in Poetry.

Example usage

$ poetry link
Discovered modules in /projects/my-package/src: my_package
Extras to install for deps 'all': {'.none'}
Symlinking src/my_package -> .venv/lib/python3.10/site-packages/my_package

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

poetry-link-0.1.6.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

poetry_link-0.1.6-py3-none-any.whl (2.2 kB view details)

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