mirror of
https://github.com/jazzband/django-authority.git
synced 2026-03-17 06:30:28 +00:00
48 lines
1.5 KiB
Python
48 lines
1.5 KiB
Python
import os
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
def read(fname):
|
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
|
|
|
|
|
setup(
|
|
name='django-authority',
|
|
use_scm_version=True,
|
|
description=(
|
|
"A Django app that provides generic per-object-permissions "
|
|
"for Django's auth app."
|
|
),
|
|
long_description=read('README.rst'),
|
|
author='Jannis Leidel',
|
|
author_email='jannis@leidel.info',
|
|
license='BSD',
|
|
url='https://github.com/jazzband/django-authority/',
|
|
packages=find_packages(),
|
|
classifiers=[
|
|
'Development Status :: 3 - Alpha',
|
|
'Environment :: Web Environment',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: BSD License',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Programming Language :: Python :: 2',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Framework :: Django',
|
|
],
|
|
install_requires=['django'],
|
|
setup_requires=['setuptools_scm'],
|
|
package_data={
|
|
'authority': [
|
|
'fixtures/*.json',
|
|
'templates/authority/*.html',
|
|
'templates/admin/edit_inline/action_tabular.html',
|
|
'templates/admin/permission_change_form.html',
|
|
]
|
|
},
|
|
zip_safe=False,
|
|
)
|