diffpy / diffpy.snmf

Other
1 stars 3 forks source link

Check dependency installation section in pyproject.toml #82

Open bobleesj opened 4 weeks ago

bobleesj commented 4 weeks ago

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: https://github.com/diffpy/diffpy.structure/pull/98

bobleesj commented 2 weeks ago

Should be resolved with a new cookiecutter.