diff --git a/dbbackup/__init__.py b/dbbackup/__init__.py index 6ed1762a..c04d41f5 100644 --- a/dbbackup/__init__.py +++ b/dbbackup/__init__.py @@ -2,11 +2,5 @@ import django -VERSION = (3, 3, 0) -__version__ = '.'.join([str(i) for i in VERSION]) -__author__ = 'Michael Shepanski' -__email__ = 'mjs7231@gmail.com' -__url__ = 'https://github.com/django-dbbackup/django-dbbackup' - if django.VERSION < (3, 2): default_app_config = 'dbbackup.apps.DbbackupConfig' diff --git a/docs/changelog.rst b/docs/changelog.rst index 32a9fc99..e9e085e2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,8 +1,8 @@ Changelog -===== +========= -Unreleased ------------ +4.0.0b0 (2021-12-19) +-------------------- * Fix RemovedInDjango41Warning related to default_app_config `#413`_ * Add authentication database support for MongoDB `#379`_ @@ -14,6 +14,8 @@ Unreleased * Fix authentication error when postgres is password protected `#361`_ * Use exclude-table-data instead of exclude-table `#363`_ * Add support for exclude tables data in the command interface `#375`_ +* Move author and version information into setup.py to allow building package in isolated + environment (e.g. with the ``build`` package). `#414`_ * Documentation fixes `#341`_ `#333`_ `#349`_ `#348`_ `#337`_ `#411`_ @@ -61,3 +63,4 @@ Unreleased .. _`#379`: https://github.com/django-dbbackup/django-dbbackup/pull/379 .. _`#411`: https://github.com/django-dbbackup/django-dbbackup/pull/411 .. _`#413`: https://github.com/django-dbbackup/django-dbbackup/pull/413 +.. _`#414`: https://github.com/django-dbbackup/django-dbbackup/pull/414 diff --git a/setup.py b/setup.py index 44993dee..b5e7a52b 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,6 @@ from pathlib import Path from setuptools import setup, find_packages -import dbbackup def get_requirements(): @@ -24,16 +23,16 @@ def get_test_requirements(): setup( name='django-dbbackup', - version=dbbackup.__version__, - description=dbbackup.__doc__, - author=dbbackup.__author__, - author_email=dbbackup.__email__, + version="4.0.0b0", + description='Management commands to help backup and restore a project database and media', + author='Michael Shepanski', + author_email='mjs7231@gmail.com', long_description=project_dir.joinpath("README.rst").read_text(encoding="utf-8"), python_requires=">=3.6", install_requires=get_requirements(), tests_require=get_test_requirements(), license='BSD', - url=dbbackup.__url__, + url='https://github.com/django-dbbackup/django-dbbackup', keywords=keywords, packages=find_packages(), classifiers=[