-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
45 lines (40 loc) · 1.42 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
# The directory containing this file
HERE = os.path.realpath(os.path.join(__file__, '..'))
# The text of the README file
README = open(os.path.join(HERE,"README.md")).read()
VERSION = '3.1'
setup(
name='django-adminrestrict',
version=VERSION,
description="Restrict admin pages using simple IP address rules",
long_description=README,
long_description_content_type="text/markdown",
keywords='authentication, django, security',
author='Robert Romano',
author_email='rromano@example.com',
url='https://github.com/robromano/django-adminrestrict',
license='MIT',
package_dir={'adminrestrict': 'adminrestrict'},
include_package_data=True,
packages=find_packages(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: Log Analysis',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: Security',
'Topic :: System :: Logging',
],
zip_safe=False,
)