Skip to content

Commit 8ccb63f

Browse files
committed
chore: use pyproject.toml instead of setup.cfg
1 parent 907ed10 commit 8ccb63f

File tree

3 files changed

+48
-44
lines changed

3 files changed

+48
-44
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ example/example.sqlite3
1313
coverage.xml
1414
.coverage
1515
.tox
16+
build

pyproject.toml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,53 @@ requires = [
55
"setuptools_scm[toml]>=3.4",
66
]
77

8+
[project]
9+
name = "django-simple-menu"
10+
description = "Simple, yet powerful, code-based menus for Django applications"
11+
readme = "README.rst"
12+
license = {text = "BSD 2-Clause"}
13+
authors = [{"name"= "Evan Borgstrom", "email"="[email protected]"}]
14+
requires-python = ">=3.6"
15+
classifiers =[
16+
"Development Status :: 5 - Production/Stable",
17+
"Framework :: Django",
18+
"Framework :: Django :: 3.2",
19+
"Framework :: Django :: 4.0",
20+
"Framework :: Django :: 4.1",
21+
"Framework :: Django :: 4.2",
22+
"Intended Audience :: Developers",
23+
"License :: OSI Approved :: BSD License",
24+
"Natural Language :: English",
25+
"Operating System :: OS Independent",
26+
"Programming Language :: Python",
27+
"Programming Language :: Python :: 3 :: Only",
28+
"Programming Language :: Python :: 3.6",
29+
"Programming Language :: Python :: 3.7",
30+
"Programming Language :: Python :: 3.8",
31+
"Programming Language :: Python :: 3.9",
32+
"Programming Language :: Python :: 3.10",
33+
"Programming Language :: Python :: 3.11",
34+
"Topic :: Software Development :: Libraries",
35+
"Topic :: Software Development :: Libraries :: Python Modules",
36+
]
37+
dynamic = [
38+
"version",
39+
]
40+
dependencies = [
41+
"Django>=3.2",
42+
'importlib_metadata; python_version < "3.8"',
43+
]
44+
[project.urls]
45+
"Source Code" = "https://github.com/jazzband/django-simple-menu"
46+
47+
[tool.setuptools]
48+
packages =[
49+
"simple_menu",
50+
"menu",
51+
]
52+
include-package-data = true
53+
license-files = ["LICENSE"]
54+
855
[tool.setuptools_scm]
956
# this empty section means: use_scm_version=True
1057
version_scheme = "guess-next-dev"

setup.cfg

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

0 commit comments

Comments
 (0)