-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
56 lines (50 loc) · 1.72 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
46
47
48
49
50
51
52
53
54
55
56
import os
import re
from setuptools import setup, find_packages
def readme():
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
return readme.read()
def version():
pattern = re.compile(r'__version__ = \'([\d\.]+)\'')
with open(os.path.join('django_logging', '__init__.py')) as f:
data = f.read()
return re.search(pattern, data).group(1)
setup(
name='django-logging-json',
version=version(),
packages=find_packages(),
include_package_data=True,
license='BSD',
description='A simple Django app to log requests/responses in various formats, such as JSON.',
long_description=readme(),
url='https://github.com/cipriantarta/django-logging',
author='Ciprian Tarta',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
"Framework :: Django",
"Framework :: Django :: 1.4",
"Framework :: Django :: 1.5",
"Framework :: Django :: 1.6",
"Framework :: Django :: 1.7",
"Framework :: Django :: 1.8",
"Framework :: Django :: 1.9",
"Framework :: Django :: 1.10",
],
keywords='django logging json',
install_requires=[
'django>=1.4',
'six',
'elasticsearch>=2.0.0',
'certifi'
]
)