Skip to content

BUG: Python package includes a lot of files it shouldn't #243

@carlsmedstad

Description

@carlsmedstad

Describe the issue:

The Python package contains a lot of files that aren't strictly required for the package. This causes problems when packaging for distributions (such as for Arch Linux in my case) as conflicts with other packages are likely to happen. Examples of files that should be removed from the package are the doc/ and the scripts/ directories.

This can be solved by removing __init__.py files from directories that aren't Python packages, adding excludes to pyproject.toml and by tweaking MANIFEST.in. Ideally the package should only contain the pytensor/ directory.

It would also be a good idea to migrate the executable pytensor-cache into the pytensor/ directory, and as such the pytensor package. This has been done in the original Aesara project.

Thanks!

Reproducable code example:

N/A

Error message:

No response

PyTensor version information:

2.10.1

Context for the issue:

I'm maintaining packages for PyMC and PyTensor for Arch Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededrelease

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions