Skip to content

Commit

Permalink
Added setup.py and other necessary files.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscohoat committed Mar 2, 2012
1 parent 49c2c32 commit edab148
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 24 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include AUTHORS CHANGES README INSTALL LICENSE
recursive-include django-backup *.py
include docs/Makefile
14 changes: 0 additions & 14 deletions README
Original file line number Diff line number Diff line change
@@ -1,14 +0,0 @@
This is a fork of http://code.google.com/p/django-backup/

The original description:
This application contributes 'backup' subcommand to django-admin.py and manage.py.

The reason for the fork is to add a password protected zipfile feature. This makes emailing the file more secure, but does not necessarily make it "secure". Of particular note, the password you use may be visible to other users on system while the zip is running. Again, more secure but not necessarily "secure"

REF: http://www.lockdown.co.uk/?pg=combi

Usage:
python manage.py backup
python manage.py backup -m my@email.com
python manage.py backup -m my@email.com -z (will zip using password in backup.py)
python manage.py backup -m my@email.com -c (will compress using GZip -- but does not have password)
14 changes: 14 additions & 0 deletions django-backup/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
This is a fork of http://code.google.com/p/django-backup/

The original description:
This application contributes 'backup' subcommand to django-admin.py and manage.py.

The reason for the fork is to add a password protected zipfile feature. This makes emailing the file more secure, but does not necessarily make it "secure". Of particular note, the password you use may be visible to other users on system while the zip is running. Again, more secure but not necessarily "secure"

REF: http://www.lockdown.co.uk/?pg=combi

Usage:
python manage.py backup
python manage.py backup -m my@email.com
python manage.py backup -m my@email.com -z (will zip using password in backup.py)
python manage.py backup -m my@email.com -c (will compress using GZip -- but does not have password)
Empty file added django-backup/__init__.py
Empty file.
10 changes: 10 additions & 0 deletions django-backup/license
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Copyright (c) 2011, Ted Tieken
Copyright (c) 2011, http://code.google.com/p/django-backup/
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Empty file.
Empty file.
File renamed without changes.
Empty file added docs/Makefile
Empty file.
10 changes: 0 additions & 10 deletions license
Original file line number Diff line number Diff line change
@@ -1,10 +0,0 @@
Copyright (c) 2011, Ted Tieken
Copyright (c) 2011, http://code.google.com/p/django-backup/
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14 changes: 14 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from distutils.core import setup
from setuptools import find_packages

setup(
name='django-backup',
version = '1.0.0',
author = 'Chris Cohoat',
author_email = 'chris.cohoat@gmail.com',
url = 'https://github.com/chriscohoat/django-backup',
description = 'A backup script for the Django admin',
packages=find_packages(),
include_package_data=True,
)

0 comments on commit edab148

Please sign in to comment.