Skip to content

build: Package examples outside of the distribution #107

Description

@cadenmyers13

Problem

See issues/discussion here: scikit-package/scikit-package#667

Proposed solution

include it in MANIFEST.in and remove this from pyproject.toml

[tool.setuptools]
include-package-data = true

[tool.setuptools.package-data]
"diffpy.cmi" = ["../docs/examples/**/*"]

After doing this, build the sdist and whl files, install the package through them and make sure the cmi copy <example> still works

Activity

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