GitLab will be upgraded on 30 Jan 2023 from 2.00 pm (AEDT) to 3.00 pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

setup.py 1.61 KB
Newer Older
1
2
3
import os
from setuptools import find_packages, setup

4
5
6
7

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__),
    os.pardir)))
8
    
9
setup(
10
        name='django-perfieldperms',
11
        version='0.1.7',
12
        packages=find_packages(exclude=['tests*']),
13
        include_package_data=True,
14
        license='Apache-2.0',
Lincoln Smith's avatar
Lincoln Smith committed
15
        description='Per model field permissions for Django.',
16
        url='https://gitlab.anu.edu.au/CIMS/django-perfieldperms',
17
18
19
        author='Lincoln Smith',
        author_email='lincoln.smith@anu.edu.au',
        classifiers=[
20
21
            'Programming Language :: Python',
            'Programming Language :: Python :: 3 :: Only',
22
            'License :: OSI Approved :: Apache Software License',
23
24
            'Operating System :: OS Independent',
            'Development Status :: 3 - Alpha',
25
            'Environment :: Web Environment',
26
            'Framework :: Django :: 1.11',
27
28
            'Framework :: Django :: 2.0',
            'Framework :: Django :: 2.1',
29
            'Intended Audience :: Developers',
30
            'Topic :: Internet :: WWW/HTTP',
31
            'Topic :: Software Development :: Libraries :: Python Modules',
32
            ],
Lincoln Smith's avatar
Lincoln Smith committed
33
        install_requires=['django>=1.11'],
34
35
36
37
38
39
40
41
        python_requires='~=3.4',
        long_description="""\
Implements model field permissions for Django.

Provides models and an authentication/authorisation backend to enable permissions to be set at the
field level of a django model. Also provides Django admin and form classes to assist with
integration of field level permissions into the rest of Django.
""",
42
43
        )