Skip to content

make check-distutils #2599

Description

@DimitriPapadopoulos

Target check-distutils in the Makefile had not been changed during the pyproject.toml migration (#2523):

codespell/Makefile

Lines 50 to 51 in 1302d79

check-distutils:
python setup.py check --restructuredtext --strict

It is broken:

$ make check-distutils 
python setup.py check --restructuredtext --strict
running check
warning: check: missing required meta-data: name, version, url

warning: check: missing meta-data: either (author and author_email) or (maintainer and maintainer_email) must be supplied

error: Please correct your package.
Makefile:51: recipe for target 'check-distutils' failed
make: *** [check-distutils] Error 1
$ 

We probably want to move away from setup.py check anyway. The alternative appears to be twine check, at least according to Why you shouldn't invoke setup.py directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions