Skip to content

Commit

Permalink
Release version 2.4.0 (#107)
Browse files Browse the repository at this point in the history
Prepare version 2.4.0 version bump and change package metadata a bit.
  • Loading branch information
JelteF authored Nov 10, 2021
1 parent 0eb10fe commit 2ec88a2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ revert-test-migrations:
dev-dependencies:
pip install -r requirements/test.txt

release-dependencies:
pip install -r requirements/release.txt


release:
python setup.py sdist
python -m build --sdist
twine check dist/*
twine upload --skip-existing dist/*
2 changes: 2 additions & 0 deletions requirements/release.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
twine
build
14 changes: 11 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@
from os import path
from io import open

# read the contents of your README file
this_directory = path.dirname(path.abspath(__file__))

with open(path.join(this_directory, "README.md")) as f:
long_description = f.read()


# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.

setup(
name="django-multitenant",
version='2.3.2', # Required
version='2.4.0', # Required
description='Django Library to Implement Multi-tenant databases',
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/citusdata/django-multitenant",
author='Louise Grandjonc',
author_email='[email protected]',
Expand All @@ -18,13 +26,13 @@
#
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers=[
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable ",
"Topic :: Database",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers"
],

keywords=("citus django multi tenant"
"django postgres multi-tenant"),
packages=find_packages(exclude=['tests']), # Required
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
)

0 comments on commit 2ec88a2

Please sign in to comment.