1. Matthew Schinckel
  2. django-auth-additions

Commits

Matthew Schinckel  committed 657859f

Use VERSION file. Update license

  • Participants
  • Parent commits 8ccb1b7
  • Branches default

Comments (0)

Files changed (4)

File README.rst

View file
 all of it's permissions.
 
 User gains methods for custom permissions:
-    can_view(object)
-    can_edit(object)
-    can_delete(object)
-    can_create(class)
+   * can_view(object)
+   * can_edit(object)
+   * can_delete(object)
+   * can_create(class)
 
 These will use the current permissions, but also allow for methods to be
 added on the object/class being tested, which can permit or deny access

File auth_additions/VERSION

Empty file added.

File auth_additions/__init__.py

View file
+import os
+__version__ = VERSION = open(os.path.join(os.path.dirname(__file__), "VERSION")).read().strip()

File setup.py

View file
 from distutils.core import setup
+import auth_additions
 
 setup(
     name = "django-auth-additions",
-    version = "0.1",
+    version = auth_additions.__version__,
     description = "Additions (monkey-patches) to auth models.",
     long_description = open("README.rst").read(),
-    url = "http://www.rosterwithross.com",
-    author = "Zarloc Pty. Limited",
-    author_email = "matt@zarloc.com",
+    url = "http://bitbucket.org/schinckel/django-auth-additions",
+    author = "Matthew Schinckel",
+    author_email = "matt@schinckel.net",
     packages = [
         "auth_additions",
     ],
+    include_package_data = True,
     classifiers = [
         'Programming Language :: Python',
-        'License :: Other/Proprietary License',
+        'License :: OSI Approved :: BSD License',
         'Operating System :: OS Independent',
         'Framework :: Django',
     ],