Skip to content

Commit 3d34cdc

Browse files
jezdezryanberg
authored andcommitted
Added default files for distribution.
1 parent 886f453 commit 3d34cdc

File tree

4 files changed

+72
-0
lines changed

4 files changed

+72
-0
lines changed

Diff for: AUTHORS

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Ryan Berg <http://ryanberg.net>
2+
Jannis Leidel <http://jezdez.com>

Diff for: LICENSE

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Copyright (c) 2009, Ryan Berg
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are
6+
met:
7+
8+
* Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
* Redistributions in binary form must reproduce the above
11+
copyright notice, this list of conditions and the following
12+
disclaimer in the documentation and/or other materials provided
13+
with the distribution.
14+
* Neither the name of the author nor the names of other
15+
contributors may be used to endorse or promote products derived
16+
from this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Diff for: MANIFEST.in

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include AUTHORS
2+
include LICENSE
3+
include README.rst
4+
recursive-include jumptoadmin/media/jumptoadmin/* *.css *.js *.gif *.png

Diff for: setup.py

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import os
2+
from distutils.core import setup
3+
4+
def read(fname):
5+
return open(os.path.join(os.path.dirname(__file__), fname)).read()
6+
7+
setup(
8+
name='django-jumptoadmin',
9+
version='0.1.0',
10+
description="Django templatetag for admins to easily change/delete objects from the public-facing site.",
11+
long_description=read('README.rst'),
12+
author='Ryan Berg',
13+
author_email='[email protected]',
14+
license='BSD',
15+
url='https://github.com/ryanberg/django-jumptoadmin/',
16+
packages=[
17+
'jumptoadmin',
18+
'jumptoadmin.templatetags'
19+
],
20+
classifiers=[
21+
'Development Status :: 3 - Alpha',
22+
'Environment :: Web Environment',
23+
'Intended Audience :: Developers',
24+
'License :: OSI Approved :: BSD License',
25+
'Operating System :: OS Independent',
26+
'Programming Language :: Python',
27+
'Framework :: Django',
28+
],
29+
package_data = {
30+
'jumptoadmin': [
31+
'media/jumptoadmin/css/*.css',
32+
'media/jumptoadmin/img/*.png',
33+
'media/jumptoadmin/img/*.gif',
34+
'media/jumptoadmin/js/*.js',
35+
]
36+
},
37+
zip_safe=False, # required to convince setuptools/easy_install to unzip the package data
38+
)

0 commit comments

Comments
 (0)