Skip to content

Check dependency installation section in pyproject.toml #207

Closed

Description

@bobleesj

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

Activity

  1. bobleesj commented on Sep 24, 2024

    @bobleesj
    ContributorAuthor

    Solved via cookiecut

  2. bobleesj commented on Sep 30, 2024

    @bobleesj
    ContributorAuthor

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

  3. added this to the v3.1.0 milestone on Oct 1, 2024
  4. bobleesj commented on Oct 2, 2024

    @bobleesj
    ContributorAuthor

    Resolved

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions