forked from jazzband/django-dbbackup
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into Multiple-backup-storage-backends-jazzband#235
- Loading branch information
Showing
11 changed files
with
140 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
"Management commands to help backup and restore a project database and media" | ||
VERSION = (3, 3, 0) | ||
__version__ = '.'.join([str(i) for i in VERSION]) | ||
__author__ = 'Michael Shepanski' | ||
__email__ = '[email protected]' | ||
__url__ = 'https://github.com/django-dbbackup/django-dbbackup' | ||
default_app_config = 'dbbackup.apps.DbbackupConfig' | ||
"""Management commands to help backup and restore a project database and media""" | ||
|
||
import django | ||
|
||
if django.VERSION < (3, 2): | ||
default_app_config = 'dbbackup.apps.DbbackupConfig' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
try: | ||
from django.conf.urls import patterns, include, url | ||
urlpatterns = patterns( | ||
'', | ||
# url(r'^admin/', include(admin.site.urls)), | ||
) | ||
except ImportError: | ||
from django.conf.urls import include, url | ||
urlpatterns = ( | ||
# url(r'^admin/', include(admin.site.urls)), | ||
) | ||
from django.urls import include, re_path | ||
|
||
urlpatterns = ( | ||
# url(r'^admin/', include(admin.site.urls)), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pytz | ||
Django>=1.5 | ||
Django>=2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/usr/bin/env python | ||
|
||
from pathlib import Path | ||
|
||
from setuptools import setup, find_packages | ||
import dbbackup | ||
|
||
|
||
def get_requirements(): | ||
|
@@ -11,41 +13,46 @@ def get_test_requirements(): | |
return open('requirements-tests.txt').read().splitlines() | ||
|
||
|
||
project_dir = Path(__file__).parent | ||
|
||
|
||
keywords = [ | ||
'django', 'database', 'media', 'backup', | ||
'amazon', 's3' 'dropbox', | ||
] | ||
|
||
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='[email protected]', | ||
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=[ | ||
'Development Status :: 4 - Beta', | ||
'Environment :: Web Environment', | ||
'Environment :: Console', | ||
'Framework :: Django', | ||
'Framework :: Django :: 2.2', | ||
'Framework :: Django :: 3.2', | ||
'Framework :: Django :: 4.0', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: System Administrators', | ||
'License :: OSI Approved :: BSD License', | ||
'Natural Language :: English', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Topic :: Database', | ||
'Topic :: System :: Archiving', | ||
'Topic :: System :: Archiving :: Backup', | ||
|
Oops, something went wrong.