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

Check dependency installation section in pyproject.toml #207

Open
bobleesj opened this issue Sep 3, 2024 · 0 comments
Open

Check dependency installation section in pyproject.toml #207

bobleesj opened this issue Sep 3, 2024 · 0 comments

Comments

@bobleesj
Copy link

bobleesj commented Sep 3, 2024

Problem

Previously, cookiecutter-generated projects didn't install dependencies during pip install <package-name>.

Solution

Check whether the following section exists in pyproject.toml.

[project]
name = "<package-name>"
dynamic=['version', 'dependencies']

...

[tool.setuptools.dynamic]
dependencies = {file = ["requirements/run.txt"]}

For more info: diffpy/diffpy.structure#98

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

1 participant