Skip to content

Package released in PyPi is broken #19

@nyyManni

Description

@nyyManni

The package released in https://pypi.org/project/ThorlabsPM100/ seems to be broken.

The source distribution imports the module itself in setup.py, so it is not possible to build with pip. The only way to build the module is to use the legacy method python setup.py bdist_wheel, which is not used by modern build frontends.

The available solutions here would be to:

  1. make sure setup.py does not import ThorlabsPM100, define the version and description in some other way (pyproject.toml etc)
  2. upload a binary distribution to pypi.
  3. add the current directory to sys.path in setup.py (please don't do this)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions