Skip to content

Commit a605f49

Browse files
committed
python/setup.py: Convert to pyproject.toml
1 parent 2216e5b commit a605f49

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

python/pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "netsnmp-python"
7+
version = "1.0a1"
8+
description = "The Net-SNMP Python Interface"
9+
authors = [{name = "G. S. Marzot", email = "[email protected]"}]
10+
urls = {Homepage = "http://www.net-snmp.org"}
11+
dependencies = []
12+
13+
[tool.setuptools]
14+
packages = ["netsnmp"]

python/setup.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,6 @@
4141
libs = re.findall(r"(?:^|\s+)-l(\S+)", netsnmp_libs)
4242

4343
setup(
44-
name="netsnmp-python", version="1.0a1",
45-
description = 'The Net-SNMP Python Interface',
46-
author = 'G. S. Marzot',
47-
author_email = '[email protected]',
48-
url = 'http://www.net-snmp.org',
49-
license="BSD",
50-
packages=find_packages(),
51-
test_suite = "netsnmp.tests.test",
52-
5344
ext_modules = [
5445
Extension("netsnmp.client_intf", ["netsnmp/client_intf.c"],
5546
define_macros=defines,

0 commit comments

Comments
 (0)