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

Missing [project] in pyproject.toml #135

Closed
dansbandit opened this issue Dec 8, 2023 · 2 comments
Closed

Missing [project] in pyproject.toml #135

dansbandit opened this issue Dec 8, 2023 · 2 comments

Comments

@dansbandit
Copy link

dansbandit commented Dec 8, 2023

Building in nix results in this error pypa/setuptools#3197 due to the upgraded version of setuptools. This can be fixed by adding the following to pyproject.toml as per https://stackoverflow.com/questions/76652773/how-to-fix-configuration-error-project-must-contain-name-properties-in

[project]
name = 'project name'
requires-python = ">=3.9"
version = "1.0.0"
authors = [
    {name = "Your Name", email = "[email protected]"},
]

Thanks for creating this software!

@dansbandit
Copy link
Author

Solved it by building with pyproject instead of setuptools. This can be closed.

@gtronset
Copy link
Owner

@dansbandit thanks for the issue and comment about how you resolved it. This plugin switched to using Poetry for builds, but the documentation is a bit outdated for devs and there is some clutter that I'm working to resolve in a PR soon.

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

No branches or pull requests

2 participants