flit-scm-1.7.0
توضیحات
A PEP 518 build backend that uses setuptools_scm to generate a version file from your version control system, then flit to build the package.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flit-scm-1.7.0 |
| نام | flit-scm |
| نسخه کتابخانه | 1.7.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Will Da Silva <will@willdasilva.xyz> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/flit-scm/ |
| مجوز | - |
# flit_scm
A PEP 518 build backend that uses [`setuptools_scm`](https://github.com/pypa/setuptools_scm) to generate a version file from your version control system, then [`flit_core`](https://flit.readthedocs.io/en/latest/index.html) to build the package.
To use it, set the `build-system` table in your `pyproject.toml` to as follows:
```toml
[build-system]
requires = ["flit_scm"]
build-backend = "flit_scm:buildapi"
```
Flit and `setuptools_scm` can be configured as normal (refer to their documentation). Example:
```toml
[build-system]
requires = ["flit_scm"]
build-backend = "flit_scm:buildapi"
[tool.flit.sdist]
exclude = [".gitignore"]
[tool.setuptools_scm]
write_to = "src/_version.py"
```
نیازمندی
| مقدار | نام |
|---|---|
| - | flit-core~=3.5 |
| - | setuptools_scm>=6.4 |
| ython_versio | tomli; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl flit-scm-1.7.0:
pip install flit-scm-1.7.0.whl
نصب پکیج tar.gz flit-scm-1.7.0:
pip install flit-scm-1.7.0.tar.gz