Skip to content

Add deprecation notice and Inactive classifier to setup.py - #192

Open
M-Colley wants to merge 1 commit into
ActiveState:masterfrom
M-Colley:fix/issue-188-deprecation-notice
Open

M-Colley wants to merge 1 commit into
ActiveState:masterfrom
M-Colley:fix/issue-188-deprecation-notice

Conversation

@M-Colley

Copy link
Copy Markdown

setup.py lacks the deprecation notice added to README.rst in commit 8734277 and still advertises an active production Development Status classifier. Consequently, source builds and package metadata omit the upstream deprecation status. Fixes #188.

This patch emits a DeprecationWarning pointing to platformdirs when setup.py runs, prefixes the package description with a deprecation notice, and updates the Development Status trove classifier to inactive (7). In addition, test/test_setup.py verifies the warning, package description, and classifier metadata.

Verification passed with python -m unittest discover and python -m pytest test/test_api.py test/test_setup.py (4 passed).

Signed-off-by: Mark Colley <39366189+M-Colley@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate notice

1 participant