Skip to content

Commit

Permalink
switch to pyproject.toml (#354)
Browse files Browse the repository at this point in the history
* switch to pyproject.toml

* Add an empty line at the end of the file

* fix ci

* fix ci
  • Loading branch information
180909 authored Apr 7, 2024
1 parent ce852e4 commit 964ef8d
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 86 deletions.
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
exclude = static,.git,*migrations*,build,.tox,docs
max-line-length = 119
max-complexity = 7
46 changes: 46 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[project]
name = "Bootstrap-Flask"
description = "Bootstrap 4 & 5 helper for your Flask projects."
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "Grey Li", email = "withlihui@gmail.com" }]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Framework :: Flask',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
]
dependencies = ["Flask", "WTForms"]
version = "2.3.3"

[project.urls]
Documentation = "https://bootstrap-flask.readthedocs.io/en/stable/"
Changes = "https://bootstrap-flask.readthedocs.io/en/stable/changelog/"
"Source Code" = "https://github.com/helloflask/bootstrap-flask/"
"Issue Tracker" = "https://github.com/helloflask/bootstrap-flask/issues/"
Funding = "https://opencollective.com/bootstrap-flask"
Discussions = "https://github.com/helloflask/bootstrap-flask/discussions/"

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
testpaths = ["tests"]

[tool.coverage.run]
source = ["flask_bootstrap"]

[tool.coverage.report]
exclude_lines = ["pragma: no cover", " except ImportError:"]
24 changes: 0 additions & 24 deletions setup.cfg

This file was deleted.

62 changes: 0 additions & 62 deletions setup.py

This file was deleted.

0 comments on commit 964ef8d

Please sign in to comment.