Skip to content

Commit 94671fa

Browse files
Ryan Whitmorebrandonwillard
authored andcommitted
Migrate setup.py to a pyproject.toml file.
1 parent d9f1e1f commit 94671fa

File tree

2 files changed

+52
-39
lines changed

2 files changed

+52
-39
lines changed

pyproject.toml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
[build-system]
2+
requires = ["setuptools>=45", "wheel", "versioneer[toml]==0.28"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "etuples"
7+
description = "Python S-expression emulation using tuple-like objects."
8+
authors = [
9+
{ name = "Brandon T. Willard", email = "brandonwillard+etuples@gmail.com" },
10+
]
11+
maintainers = [
12+
{ name = "Brandon T. Willard", email = "brandonwillard+etuples@gmail.com" },
13+
]
14+
readme = "README.md"
15+
requires-python = ">=3.9"
16+
license = "Apache-2.0"
17+
classifiers = [
18+
"Development Status :: 4 - Beta",
19+
"Intended Audience :: Science/Research",
20+
"Intended Audience :: Developers",
21+
"Operating System :: OS Independent",
22+
23+
"Programming Language :: Python",
24+
"Programming Language :: Python :: 3",
25+
"Programming Language :: Python :: 3.9",
26+
"Programming Language :: Python :: 3.10",
27+
"Programming Language :: Python :: 3.11",
28+
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: Implementation :: CPython",
30+
"Programming Language :: Python :: Implementation :: PyPy",
31+
]
32+
dependencies = ["cons", "multipledispatch"]
33+
dynamic = ["version"]
34+
35+
[project.urls]
36+
Homepage = "http://github.com/pythological/etuples"
37+
Repository = "http://github.com/pythological/etuples"
38+
"Bug Tracker" = "http://github.com/pythological/etuples/issues"
39+
40+
[tool.setuptools]
41+
packages = ["etuples"]
42+
43+
[tool.setuptools.package-data]
44+
etuples = ["py.typed"]
45+
46+
[tool.versioneer]
47+
VCS = "git"
48+
style = "pep440"
49+
versionfile_source = "etuples/_version.py"
50+
versionfile_build = "etuples/_version.py"
51+
tag_prefix = "v"
52+
parentdir_prefix = "etuples-"

setup.py

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

0 commit comments

Comments
 (0)