Skip to content

Commit 87f8869

Browse files
committed
Add pyproject
1 parent 8ef5716 commit 87f8869

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

pyproject.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[project]
2+
name = "mockup"
3+
authors = [
4+
{ name="Jakob Nybo Nissen", email="[email protected]" },
5+
]
6+
description = "A small example package"
7+
# This means: Load the version from the package itself.
8+
# See the section below: [tools.setuptools.dynamic]
9+
dynamic = ["version"]
10+
readme = "README.md"
11+
# We use features for Python 3.11, so we test it here.
12+
requires-python = ">=3.11"
13+
# These are keywords
14+
classifiers = [
15+
"Programming Language :: Python :: 3",
16+
"License :: OSI Approved :: MIT License",
17+
"Operating System :: OS Independent",
18+
]
19+
20+
[project.urls]
21+
"Homepage" = "https://github.com/RasmussenLab/python_package"
22+
"Bug Tracker" = "https://github.com/RasmussenLab/python_package/issues"
23+
24+
25+
[tool.setuptools.dynamic]
26+
version = {attr = "mockup.__version__"}
27+
28+
# Configure the Ruff linter: Ignore error number 501
29+
[tool.ruff]
30+
ignore = ["E501"]

0 commit comments

Comments
 (0)