Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to pyproject.toml #354

Merged
merged 4 commits into from
Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "[email protected]" }]
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"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the CI error output, adding a packages or py_modules field is necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is caused by tool.setuptools.dynamic .

[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.

Loading