Skip to content

Commit 5a5da58

Browse files
Replace setup.py with pyproject.toml (#16)
* Replace setup.py with pyproject.toml pyproject.toml is the modern way of listing package metadata. Since this library is not doing anything complex in the build process the setup.py is no longer needed. * Fix find packages
1 parent 00b5ca2 commit 5a5da58

File tree

2 files changed

+28
-19
lines changed

2 files changed

+28
-19
lines changed

pyproject.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "pybind11-stubgen"
7+
description = "PEP 561 type stubs generator for pybind11 modules"
8+
version = "2.5.5"
9+
requires-python = "~=3.7"
10+
authors = [
11+
{name = "Sergei Izmailov", email = "sergei.a.izmailov@gmail.com"},
12+
]
13+
license = "BSD-3-Clause"
14+
license-files = ["LICENSE"]
15+
dynamic = ["readme"]
16+
17+
[project.urls]
18+
Repository = "https://github.com/sizmailov/pybind11-stubgen"
19+
Issues = "https://github.com/sizmailov/pybind11-stubgen/issues"
20+
21+
[tool.setuptools.packages]
22+
find = {}
23+
24+
[tool.setuptools.dynamic]
25+
readme = {file = ["README.md"], content-type = "text/markdown"}
26+
27+
[project.entry-points.console_scripts]
28+
pybind11-stubgen = "pybind11_stubgen.__init__:main"

setup.py

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

0 commit comments

Comments
 (0)