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

Conversation

180909
Copy link
Contributor

@180909 180909 commented Apr 2, 2024

No description provided.

.flake8 Outdated
[flake8]
exclude = static,.git,*migrations*,build,.tox,docs
max-line-length = 119
max-complexity = 7
Copy link
Member

Choose a reason for hiding this comment

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

Always add an empty line at the end of the file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

pyproject.toml Outdated
build-backend = "setuptools.build_meta"

[tool.setuptools.dynamic]
version = { attr = "flask.__version__" }
Copy link
Member

Choose a reason for hiding this comment

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

Why use Flask's version? We could use an explicit version field.

"WTForms",
]
dynamic = ["version"]

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 .

@greyli greyli merged commit 964ef8d into helloflask:master Apr 7, 2024
17 checks passed
@greyli
Copy link
Member

greyli commented Apr 7, 2024

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants