Skip to content

Commit 5174f6d

Browse files
committed
Modernize build stuff
1 parent 2650dd0 commit 5174f6d

4 files changed

Lines changed: 35 additions & 36 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
rev: v3.9.0
1818
hooks:
1919
- id: pyupgrade
20-
args: ['--py310-plus']
20+
args: ['--py311-plus']
2121

2222
- repo: https://github.com/pycqa/isort
2323
rev: 5.12.0

Pipfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ requests = ">=2.27.1"
88
xmltodict = ">=0.12.0"
99

1010
[dev-packages]
11-
types-requests = ">=2.27.11"
12-
ipython = "*"
11+
build = "*"
1312
ipdb = "*"
13+
ipython = "*"
1414
pre-commit = "*"
15+
pyupgrade = "*"
16+
types-requests = ">=2.27.11"
1517

1618
[requires]
1719
python_version = "3.11"

pyproject.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,33 @@ requires = [
66
"wheel"
77
]
88
build-backend = "setuptools.build_meta"
9+
10+
[bdist_wheel]
11+
universal = 1
12+
13+
[project]
14+
name = "hnap"
15+
version = "1.0.1a0"
16+
dependencies = [
17+
"requests>=2.27.1",
18+
"xmltodict>=0.12.0",
19+
"importlib-metadata; python_version >= '3.11'",
20+
]
21+
authors = [
22+
{ name="Luis Lopez", email=" luis@cuarentaydos.com" },
23+
]
24+
description = "Python clients for HNAP devices"
25+
readme = "README.md"
26+
requires-python = ">=3.11"
27+
classifiers = [
28+
"Programming Language :: Python :: 3",
29+
"License :: OSI Approved :: MIT License",
30+
"Operating System :: OS Independent",
31+
]
32+
33+
[project.urls]
34+
"Homepage" = "https://github.com/ldotlopez/python-hnap"
35+
"Bug Tracker" = "https://github.com/ldotlopez/python-hnap/issues"
36+
37+
[project.scripts]
38+
hnap = "hnap.cli:main"

setup.cfg

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)