Fork of poetry-core, with some relaxations
Project description
About This Fork
This is a poetry-core fork with some relaxations and additional features Please see Relaxed Poetry for more information
The rest of this README left as is from the original Poetry Core README
Poetry Core
A PEP 517 build backend implementation developed for Poetry. This project is intended to be a light weight, fully compliant, self-contained package allowing PEP 517 compatible build frontends to build Poetry managed projects.
Usage
In most cases, the usage of this package is transparent to the end-user as it is either made use by Poetry itself
or a PEP 517 frontend (eg: pip
).
In order to enable the use poetry-core
as your build backend, the following snippet must be present in your
project's pyproject.toml
file.
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Once this is present, a PEP 517 frontend like pip
can build and install your project from source without the need
for Poetry or any of it's dependencies.
# install to current environment
pip install /path/to/poetry/managed/project
# build a wheel package
pip wheel /path/to/poetry/managed/project
Why is this required?
Prior to the release of version 1.1.0
, Poetry was a build as a project management tool that included a PEP 517
build backend. This was inefficient and time consuming in majority cases a PEP 517 build was required. For example,
both pip
and tox
(with isolated builds) would install Poetry and all dependencies it required. Most of these
dependencies are not required when the objective is to simply build either a source or binary distribution of your
project.
In order to improve the above situation, poetry-core
was created. Shared functionality pertaining to PEP 517 build
backends, including reading lock file, pyproject.toml
and building wheel/sdist, were implemented in this package. This
makes PEP 517 builds extremely fast for Poetry managed packages.
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
Built Distribution
File details
Details for the file pkm-buildsys-0.2.2.tar.gz
.
File metadata
- Download URL: pkm-buildsys-0.2.2.tar.gz
- Upload date:
- Size: 329.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.4.0 CPython/3.6.9 Linux/5.4.0-84-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 620ad9c4fd1b05875d3a844555b92417caa2e41d4adba0daa108955280215580 |
|
MD5 | 97a7a3a0e981bc6939e9dadedfeee02e |
|
BLAKE2b-256 | cd248d3fdccfa0b0dfedcb8209b2b3c163f12ebf96459478e5964c9a0dc78ced |
File details
Details for the file pkm_buildsys-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: pkm_buildsys-0.2.2-py3-none-any.whl
- Upload date:
- Size: 404.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.4.0 CPython/3.6.9 Linux/5.4.0-84-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad069f3942eec6b71803cf1425ca9f6e600874a862302dba4b9819de2728b7bd |
|
MD5 | 6a036ad60c103757f66bbe9b6acb5295 |
|
BLAKE2b-256 | 72808fe6dc700b1cbb68711636f39056ce35e96ad06e620d49e0162d5b76d8c9 |