Skip to content

Commit 763c7a9

Browse files
Ryan Whitmorebrandonwillard
authored andcommitted
Migrate the setup.py file contents to the pyproject.toml file.
1 parent cca96c7 commit 763c7a9

File tree

2 files changed

+51
-41
lines changed

2 files changed

+51
-41
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 = ["setuptools>=80.0.0", "versioneer[toml]"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "cons"
7+
dynamic = ["version"]
8+
description = "An implementation of Lisp/Scheme-like cons in Python."
9+
readme = "README.md"
10+
license = {file = "LICENSE.txt"}
11+
authors = [
12+
{name = "Brandon T. Willard", email = "brandonwillard+cons@gmail.com"}
13+
]
14+
requires-python = ">=3.6"
15+
dependencies = [
16+
"logical-unification>=0.4.0"
17+
]
18+
classifiers = [
19+
"Development Status :: 3 - Alpha",
20+
"Intended Audience :: Science/Research",
21+
"Intended Audience :: Developers",
22+
"License :: DFSG approved",
23+
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
24+
"Operating System :: OS Independent",
25+
"Programming Language :: Python",
26+
"Programming Language :: Python :: 3",
27+
"Programming Language :: Python :: 3.8",
28+
"Programming Language :: Python :: 3.9",
29+
"Programming Language :: Python :: 3.10",
30+
"Programming Language :: Python :: 3.11",
31+
"Programming Language :: Python :: Implementation :: CPython",
32+
"Programming Language :: Python :: Implementation :: PyPy",
33+
"Topic :: Software Development :: Libraries",
34+
]
35+
36+
[project.urls]
37+
Homepage = "https://github.com/pythological/python-cons"
38+
39+
[project.optional-dependencies]
40+
test = ["pytest"]
41+
42+
[tool.setuptools.packages.find]
43+
exclude = ["tests*"]
44+
45+
[tool.versioneer]
46+
VCS = "git"
47+
style = "pep440"
48+
versionfile_source = "cons/_version.py"
49+
versionfile_build = "cons/_version.py"
50+
tag_prefix = "v"
51+
parentdir_prefix = "cons-"

setup.py

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

0 commit comments

Comments
 (0)