Skip to content

Commit 25900f0

Browse files
committed
1 parent 713ef22 commit 25900f0

File tree

1 file changed

+4
-70
lines changed

1 file changed

+4
-70
lines changed

pyproject.toml

Lines changed: 4 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,20 @@
11
#
22
#
33
# See also https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
4+
#
5+
# General idea taken from
6+
# https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/
47

58
[build-system]
69
requires = [
710
# sync with setup.py until we discard non-pep-517/518
8-
"setuptools>=62.0",
11+
"setuptools",
912
"setuptools-scm",
1013
"wheel",
1114
"build",
1215
]
1316
build-backend = "setuptools.build_meta"
1417

15-
[project]
16-
name = "semver"
17-
description = "Python helper for Semantic Versioning (http://semver.org/)"
18-
requires-python = ">=3.6"
19-
license = {file = "LICENSE.txt"}
20-
keywords = ["semantic versioning", "version", "semver",]
21-
authors = [
22-
{name = "Kostiantyn Rybnikov", email = "k-bx@k-bx.com"}
23-
]
24-
maintainers = [
25-
{name = "Sebastien Celles", email = "s.celles@gmail.com"},
26-
{name = "Tom Schraitle", email = "tom_schr@web.de"},
27-
]
28-
classifiers=[
29-
# See https://pypi.org/pypi?%3Aaction=list_classifiers
30-
"Environment :: Web Environment",
31-
"Intended Audience :: Developers",
32-
"License :: OSI Approved :: BSD License",
33-
"Operating System :: OS Independent",
34-
"Programming Language :: Python",
35-
"Programming Language :: Python :: 3",
36-
"Programming Language :: Python :: 3.6",
37-
"Programming Language :: Python :: 3.7",
38-
"Programming Language :: Python :: 3.8",
39-
"Programming Language :: Python :: 3.9",
40-
"Programming Language :: Python :: 3.10",
41-
"Programming Language :: Python :: 3.11",
42-
"Topic :: Software Development :: Libraries :: Python Modules",
43-
]
44-
dynamic = ["version"]
45-
46-
[tool.setuptools.dynamic]
47-
version = {attr = "semver.__about__.__version__"}
48-
49-
[project.readme]
50-
file = "README.rst"
51-
content-type = "text/x-rst"
52-
53-
[project.urls]
54-
Homepage = "https://github.com/python-semver/python-semver"
55-
Changelog = "https://python-semver.readthedocs.io/en/latest/changelog.html"
56-
Documentation = "https://python-semver.rtfd.io"
57-
Releases = "https://github.com/python-semver/python-semver/releases"
58-
"Bug Tracker" = "https://github.com/python-semver/python-semver/issues"
59-
60-
[project.scripts]
61-
pysemver = "semver.cli:main"
62-
63-
[tool.setuptools]
64-
# package-dir = {"" = "src"}
65-
include-package-data = true
66-
67-
[tool.setuptools.packages.find]
68-
where = ["src"]
69-
namespaces = false
70-
71-
[tool.setuptools.package-data]
72-
semver = ["py.typed"]
73-
74-
75-
[project.optional-dependencies]
76-
test = [
77-
"pytest",
78-
"pytest-cov[all]",
79-
]
80-
doc = [
81-
"sphinx",
82-
"sphinx-argparse",
83-
]
8418

8519

8620
[tool.black]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy