2009-07-09 23:09:42 +00:00
|
|
|
import os
|
2009-06-08 10:06:14 +00:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
2013-03-18 20:58:50 +00:00
|
|
|
|
2009-07-09 23:09:42 +00:00
|
|
|
def read(fname):
|
|
|
|
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
|
|
|
|
|
2009-06-08 10:06:14 +00:00
|
|
|
setup(
|
|
|
|
|
name='django-authority',
|
2015-12-14 16:12:18 +00:00
|
|
|
version='0.10',
|
2013-03-18 20:58:50 +00:00
|
|
|
description=(
|
|
|
|
|
"A Django app that provides generic per-object-permissions "
|
|
|
|
|
"for Django's auth app."
|
|
|
|
|
),
|
2013-09-10 09:52:42 +00:00
|
|
|
long_description=read('README.rst'),
|
2009-06-08 10:06:14 +00:00
|
|
|
author='Jannis Leidel',
|
|
|
|
|
author_email='jannis@leidel.info',
|
2009-07-09 23:09:42 +00:00
|
|
|
license='BSD',
|
2013-06-24 10:30:34 +00:00
|
|
|
url='https://github.com/jezdez/django-authority/',
|
2010-01-07 17:00:41 +00:00
|
|
|
packages=find_packages(),
|
2009-06-08 10:06:14 +00:00
|
|
|
classifiers=[
|
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
|
'License :: OSI Approved :: BSD License',
|
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
|
'Programming Language :: Python',
|
2013-03-18 20:58:50 +00:00
|
|
|
'Programming Language :: Python :: 2.6',
|
|
|
|
|
'Programming Language :: Python :: 2.7',
|
2013-03-18 23:12:14 +00:00
|
|
|
'Programming Language :: Python :: 3.3',
|
2009-06-08 10:06:14 +00:00
|
|
|
'Framework :: Django',
|
|
|
|
|
],
|
2013-03-18 21:32:38 +00:00
|
|
|
install_requires=['django'],
|
2009-06-08 10:06:14 +00:00
|
|
|
package_data = {
|
|
|
|
|
'authority': [
|
2010-01-15 21:41:11 +00:00
|
|
|
'fixtures/test.json',
|
2009-06-08 10:06:14 +00:00
|
|
|
'templates/authority/*.html',
|
2009-07-09 23:09:42 +00:00
|
|
|
'templates/admin/edit_inline/action_tabular.html',
|
|
|
|
|
'templates/admin/permission_change_form.html',
|
2009-06-08 10:06:14 +00:00
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
zip_safe=False,
|
|
|
|
|
)
|