diffpy / diffpy.labpdfproc

apps for preprocessing laboratory x-ray data before sending to pdfgetx3
Other
1 stars 10 forks source link

Check dependency installation section in pyproject.toml #88

Closed bobleesj closed 2 months ago

bobleesj commented 2 months 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