Skip to content

Commit 744ea94

Browse files
authored
Merge pull request #133 from robotpy/hatchling
Migrate to hatchling
2 parents 23cf0ac + 9858e94 commit 744ea94

File tree

2 files changed

+51
-79
lines changed

2 files changed

+51
-79
lines changed

pyproject.toml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
[build-system]
2+
requires = ["hatchling", "hatch-vcs"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "cxxheaderparser"
7+
dynamic = ["version"]
8+
description = "Modern C++ header parser"
9+
readme = "README.md"
10+
requires-python = ">=3.6"
11+
license = "BSD-3-Clause"
12+
license-files = ["LICENSE.txt"]
13+
authors = [
14+
{name = "Dustin Spicuzza", email = "robotpy@googlegroups.com"},
15+
]
16+
maintainers = [
17+
{ name = "RobotPy Development Team", email = "robotpy@googlegroups.com" },
18+
]
19+
classifiers = [
20+
"Development Status :: 4 - Beta",
21+
"Operating System :: OS Independent",
22+
"Programming Language :: Python",
23+
"Programming Language :: Python :: 3",
24+
"Programming Language :: C++",
25+
"License :: OSI Approved :: BSD License",
26+
"Intended Audience :: Developers",
27+
"Topic :: Software Development",
28+
"Topic :: Software Development :: Code Generators",
29+
"Topic :: Software Development :: Compilers",
30+
]
31+
dependencies = [
32+
"dataclasses; python_version < '3.7'",
33+
]
34+
35+
[project.optional-dependencies]
36+
pcpp = ["pcpp~=1.30"]
37+
38+
[project.urls]
39+
"Source code" = "https://github.com/robotpy/cxxheaderparser"
40+
41+
[tool.hatch.version]
42+
source = "vcs"
43+
44+
[tool.hatch.build.targets.sdist.hooks.vcs]
45+
version-file = "cxxheaderparser/version.py"
46+
47+
[tool.hatch.build.targets.sdist]
48+
packages = ["cxxheaderparser"]
49+
50+
[tool.black]
51+
target-version = ["py36"]

setup.py

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

0 commit comments

Comments
 (0)