forked from defrex/django-security-middleware
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·31 lines (26 loc) · 741 Bytes
/
setup.py
File metadata and controls
executable file
·31 lines (26 loc) · 741 Bytes
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
from setuptools import setup, find_packages
import re
with open('security_middleware/__init__.py', 'r') as init_file:
version = re.search(
'^__version__ = [\'"]([^\'"]+)[\'"]',
init_file.read(),
re.MULTILINE,
).group(1)
setup(
name='django-security-middleware',
description='Some middleware for security',
url='http://github.com/defrex/django-security-middleware/',
license='BSD',
author='Aron Jones',
author_email='aron.jones@gmail.com',
packages=find_packages(),
version=version,
include_package_data=True,
zip_safe=False,
install_requires=[
'Django>=1.6',
],
)