Skip to content

build: Package examples outside of the distribution #107

@cadenmyers13

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions