Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python
python-radon
add-scripts-to-pyproject.toml.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File add-scripts-to-pyproject.toml.patch of Package python-radon
From d88d9f5651aab064b5535e3b33d923771dcceeea Mon Sep 17 00:00:00 2001 From: Steve Kowalik <steven@wedontsleep.org> Date: Fri, 1 Sep 2023 14:37:06 +1000 Subject: [PATCH] Add radon CLI script to pyproject.toml The pyproject.toml is missing the tool.poetry.scripts section, which means that builds that rely only on pyproject.toml will not install it. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 0e869cf..c25f1bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,9 @@ argparse = "*" nbformat = "*" tox = "^4.4.7" +[tool.poetry.scripts] +radon = "radon:main" + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor