Skip to content

Commit 8a834b9

Browse files
committed
migrate to pyproject.toml
1 parent 02251e6 commit 8a834b9

File tree

5 files changed

+28
-53
lines changed

5 files changed

+28
-53
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
TWINE_USERNAME: __token__
2828
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2929
run: |
30-
python setup.py sdist bdist_wheel
30+
pipx run build
3131
twine upload dist/*

MANIFEST

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

pyproject.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[project]
2+
name = "kin"
3+
version = "2.1.9"
4+
description = "A simple project.pbxproj verifier"
5+
keywords = ["xcode", "project.pbxproj", "lint", "objective-c", "swift", "ios"]
6+
readme = "README.rst"
7+
authors = [{ name = "Serchinastico", email = "oss@serchinastico.com" }]
8+
classifiers = [
9+
"Development Status :: 4 - Beta",
10+
"Intended Audience :: Developers",
11+
"License :: OSI Approved :: Apache Software License",
12+
"Programming Language :: Python :: 3",
13+
"Topic :: Software Development :: Build Tools",
14+
]
15+
dependencies = ["antlr4-python3-runtime==4.13.1"]
16+
license = { text = "Apache Software" }
17+
requires-python = ">=3.8"
18+
19+
[project.urls]
20+
Homepage = "https://github.com/Serchinastico/Kin"
21+
22+
[project.scripts]
23+
kin = "kin.kin:main"
24+
25+
[build-system]
26+
requires = ["flit_core >=3.2,<4"]
27+
build-backend = "flit_core.buildapi"

setup.cfg

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

setup.py

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

0 commit comments

Comments
 (0)