libselinux: add pyproject.toml file
PATCH v3 1/2 libselinux: add pyproject.toml file
From: Stephen Smalley <[email protected]>
Add a pyproject.toml file for the libselinux python bindings.
---
same as v2
libselinux/src/pyproject.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libselinux/src/pyproject.toml
libselinux/src/pyproject.toml new file +24 -0
@@ -0,0 +1,24 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "selinux" +version = "3.11" +description = "Python bindings for libselinux (SELinux userspace library)" +readme = "../README.md" +license = "libselinux-1.0" +authors = [ + { name = "SELinux Project", email = "[email protected]" } +] +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: POSIX :: Linux", + "Topic :: Security", +] + +[project.urls] +Homepage = "https://github.com/SELinuxProject/selinux" + +# The actual .so is produced by a custom build_ext (SWIG + libselinux.so), +# driven from setup.py.
Signature · 1 line
2.54.0
PATCH v3 2/2 python/sepolicy: add a pyproject.toml file
From: Stephen Smalley <[email protected]>
Add a pyproject.toml file for the sepolicy python module. This required also updating setup.py to avoid defining author outside of pyproject.toml, and I further updated the authors to refer to the list like libselinux since Dan is enjoying retirement.
---
dropped scripts section
python/sepolicy/pyproject.toml | 12 ++++++++++++ python/sepolicy/setup.py | 2 -- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 python/sepolicy/pyproject.toml
python/sepolicy/pyproject.toml new file +12 -0
@@ -0,0 +1,12 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "sepolicy" +version = "3.11" +description = "Python tools for SELinux policy analysis (sepolicy, sepolgen)" +license = "GPL-2.0-or-later" +authors = [ + { name = "SELinux Project", email = "[email protected]" } +]
python/sepolicy/setup.py +0 -2
@@ -8,8 +8,6 @@ setup( name="sepolicy", version="3.11", description="Python SELinux Policy Analyses bindings", - author="Daniel Walsh", - author_email="[email protected]", packages=[ "sepolicy", "sepolicy.templates",
Signature · 1 line
2.54.0
Re: [PATCH v3 2/2] python/sepolicy: add a pyproject.toml file
Quoted 10 lines · Cathy Hu
From: Stephen Smalley <[email protected]>
Add a pyproject.toml file for the sepolicy python module. This required also updating
setup.pyto avoid defining author outside of pyproject.toml, and I further updated the authors to refer to the list like libselinux since Dan is enjoying retirement.
Verified via https://github.com/SELinuxProject/selinux/tree/pyprojecttoml
Quoted 41 lines
---
dropped scripts sectionpython/sepolicy/pyproject.toml | 12 ++++++++++++ python/sepolicy/setup.py | 2 -- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 python/sepolicy/pyproject.tomlpython/sepolicy/pyproject.toml new file +12
-0@@ -0,0 +1,12 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "sepolicy" +version = "3.11" +description = "Python tools for SELinux policy analysis (sepolicy, sepolgen)" +license = "GPL-2.0-or-later" +authors = [ + { name = "SELinux Project", email = "[email protected]" } +]python/sepolicy/setup.py +0
-3@@ -8,8 +8,6 @@ setup( name="sepolicy", version="3.11", description="Python SELinux Policy Analyses bindings", - author="Daniel Walsh", - author_email="[email protected]", packages=[ "sepolicy", "sepolicy.templates", --2.54.0
Stephen Smalley
maintainerRe: [PATCH v3 2/2] python/sepolicy: add a pyproject.toml file
Quoted 10 lines · Stephen Smalley
Quoted 8 lines · Cathy Hu
From: Stephen Smalley <[email protected]>
Add a pyproject.toml file for the sepolicy python module. This required also updating
setup.pyto avoid defining author outside of pyproject.toml, and I further updated the authors to refer to the list like libselinux since Dan is enjoying retirement.
Quoted 6 lines
Quoted 2 lines
Verified via https://github.com/SELinuxProject/selinux/tree/pyprojecttoml
Acked-by Stephen Smalley <[email protected]>
Merged.
Quoted 7 lines · Cathy Hu
From: Stephen Smalley <[email protected]>
Add a pyproject.toml file for the libselinux python bindings.
Verified via https://github.com/SELinuxProject/selinux/tree/pyprojecttoml
Quoted 39 lines
---
same as v2libselinux/src/pyproject.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libselinux/src/pyproject.tomllibselinux/src/pyproject.toml new file +24
-1@@ -0,0 +1,24 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "selinux" +version = "3.11" +description = "Python bindings for libselinux (SELinux userspace library)" +readme = "../README.md" +license = "libselinux-1.0" +authors = [ + { name = "SELinux Project", email = "[email protected]" } +] +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: POSIX :: Linux", + "Topic :: Security", +] + +[project.urls] +Homepage = "https://github.com/SELinuxProject/selinux" + +# The actual .so is produced by a custom build_ext (SWIG + libselinux.so), +# driven from setup.py. --2.54.0