Skip to content

Instamatic 2.2.0 does not install properly from pip #156

@Baharis

Description

@Baharis

Thanks to Andrew Stewart's bug report I have found out that Instamatic version 2.2.0 is not properly packaged, at least not for pip. Compared to pip install -v "Instamatic==2.1.1", the latest release does not include most of the files: some directories and src/*.py files are present, but it seems basically any src/*/*.py files, ones in non-source directories, are absent. I do not remember messing with packaging, but my best guess is that I have accidentally removed some recursive flag for packaging discovery search when adding new scripts. Unfortunately, PyPI does not allow re-uploading version with the same name, so once I locate an issue this will likely warrant version 2.2.1 with little to no code changes.

Edit: the most relevant difference I can see is the addition of the following in pyproject.toml:

packages = ["instamatic"]
package-dir = {"" = "src"}
include-package-data = true

I guess this replaces some defaults while does not pointing to the .py files.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions