Skip to content

Commit 964ef8d

Browse files
authored
switch to pyproject.toml (#354)
* switch to pyproject.toml * Add an empty line at the end of the file * fix ci * fix ci
1 parent ce852e4 commit 964ef8d

4 files changed

Lines changed: 50 additions & 86 deletions

File tree

.flake8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
exclude = static,.git,*migrations*,build,.tox,docs
3+
max-line-length = 119
4+
max-complexity = 7

pyproject.toml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
[project]
2+
name = "Bootstrap-Flask"
3+
description = "Bootstrap 4 & 5 helper for your Flask projects."
4+
readme = "README.md"
5+
license = { text = "MIT" }
6+
authors = [{ name = "Grey Li", email = "withlihui@gmail.com" }]
7+
classifiers = [
8+
'Development Status :: 5 - Production/Stable',
9+
'Environment :: Web Environment',
10+
'Intended Audience :: Developers',
11+
'License :: OSI Approved :: MIT License',
12+
'Operating System :: OS Independent',
13+
'Programming Language :: Python',
14+
'Programming Language :: Python :: 3',
15+
'Programming Language :: Python :: 3.8',
16+
'Programming Language :: Python :: 3.9',
17+
'Programming Language :: Python :: 3.10',
18+
'Programming Language :: Python :: 3.11',
19+
'Programming Language :: Python :: 3.12',
20+
'Framework :: Flask',
21+
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
22+
'Topic :: Software Development :: Libraries :: Python Modules',
23+
]
24+
dependencies = ["Flask", "WTForms"]
25+
version = "2.3.3"
26+
27+
[project.urls]
28+
Documentation = "https://bootstrap-flask.readthedocs.io/en/stable/"
29+
Changes = "https://bootstrap-flask.readthedocs.io/en/stable/changelog/"
30+
"Source Code" = "https://github.com/helloflask/bootstrap-flask/"
31+
"Issue Tracker" = "https://github.com/helloflask/bootstrap-flask/issues/"
32+
Funding = "https://opencollective.com/bootstrap-flask"
33+
Discussions = "https://github.com/helloflask/bootstrap-flask/discussions/"
34+
35+
[build-system]
36+
requires = ["setuptools"]
37+
build-backend = "setuptools.build_meta"
38+
39+
[tool.pytest.ini_options]
40+
testpaths = ["tests"]
41+
42+
[tool.coverage.run]
43+
source = ["flask_bootstrap"]
44+
45+
[tool.coverage.report]
46+
exclude_lines = ["pragma: no cover", " except ImportError:"]

setup.cfg

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

setup.py

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

0 commit comments

Comments
 (0)