Skip to content

Use standard Python Project layout #12

@SchoolGuy

Description

@SchoolGuy

To distribute this project further through the means of PyPi, downstream Linux distributions and the likes it is recommended to use a project layout that the Python build systems can support.

One of the most recommended ones is the src-layout.

When attempting to build an RPM out of this project this fails with the following message:

[   22s] + /usr/bin/python3.10 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build .
[   22s] ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
[   22s] error: Bad exit status from /var/tmp/rpm-tmp.ULsuyp (%build)

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