diffpy / diffpy.pdfgui

graphical user interface for real space structure refinement to PDF
Other
20 stars 29 forks source link

Check dependency installation section in pyproject.toml #207

Closed bobleesj closed 1 month 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

bobleesj commented 1 month ago

Solved via cookiecut

bobleesj commented 1 month ago

@sbillinge Please include this to the 3.1.0 milestone as well.

bobleesj commented 1 month ago

Resolved

pip install diffpy.pdfgui==3.1.0rc5 attempts to download all dependencies under run.txt