diff --git a/.gitignore b/.gitignore index 3df06de..9e9ad12 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,6 @@ MANIFEST cscope.* .idea/ .tox/ +venv/ +.venv/ +_local/ diff --git a/README.rst b/README.rst index 60b7315..e85205c 100644 --- a/README.rst +++ b/README.rst @@ -87,7 +87,7 @@ therefore safe to use in production. Changelog --------- -Unreleased +2.0.1 (2023-12-08) * Use ISO 8601-like YYYY-MM-DD date format for email/file logging. * Fixed deprecation warnings on Python 3.12 (utcnow function). diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100755 index 0000000..f3ddd40 --- /dev/null +++ b/scripts/release.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +set -ex + +if [[ -n "$(git status -s)" ]]; then + echo "git working tree is not clean, aborting" + exit 1 +fi +if [[ "$VIRTUAL_ENV" == "" ]]; then + echo "this script must be executed inside an active virtual env, aborting" + exit 1 +fi + +pip install --upgrade pip setuptools wheel twine build +rm -rf dist/ build/ +python -m build +twine upload dist/* diff --git a/setup.py b/setup.py index a5eff3e..3ff7593 100755 --- a/setup.py +++ b/setup.py @@ -16,8 +16,16 @@ def long_description(): author_email="marti@juffo.org", python_requires=">=3.7", classifiers=[ - "Development Status :: 4 - Beta", + "Development Status :: 6 - Mature", "Framework :: Django", + "Framework :: Django :: 2.2", + "Framework :: Django :: 3.0", + "Framework :: Django :: 3.2", + "Framework :: Django :: 3.2", + "Framework :: Django :: 4.0", + "Framework :: Django :: 4.1", + "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", "Intended Audience :: Developers", ( "License :: OSI Approved :: " @@ -42,6 +50,9 @@ def long_description(): name="dogslow-sentry", packages=["dogslow_sentry"], url="https://github.com/intgr/dogslow-sentry", + project_urls={ + "Release notes": "https://github.com/intgr/dogslow-sentry/blob/main/README.rst#changelog", + }, install_requires=["django>=2.2", "sentry-sdk>=1.0"], - version="2.0.0", + version="2.0.1", )