Skip to content

pipoe fails if project does not have a setup.py #22

@AndreRicardo-Zoetis

Description

@AndreRicardo-Zoetis

Steps to reproduce:

$ pipoe -p typing-extensions
Gathering info:
  typing-extensions
Failed to translate license:
Please enter a valid license name: Python Software Foundation License
   [ERROR] Failed to gather typing-extensions ([Errno 2] No such file or directory: '/tmp/tmp2wy9_lkw/typing-extensions_4.5.0.tar.gz.d/typing_extensions-4.5.0/setup.py')
Generating recipes:

PREFERRED_VERSIONS are available in: ./python-versions.inc

typing-extensions is using pyproject.toml
https://github.com/python/typing_extensions/blob/main/pyproject.toml

Note how typing-extensions does not have a setup.py file

$ ls /tmp/tmphn_ez3lq/typing-extensions_4.5.0.tar.gz.d/typing_extensions-4.5.0
CHANGELOG.md  LICENSE  PKG-INFO  pyproject.toml  README.md  src

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