-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
44 lines (38 loc) · 1.44 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
#!/usr/bin/env python
# coding: utf-8
import sys
from setuptools import setup
conditional_kwargs = {'install_requires': ['redis'], 'tests_require': ['pytest>=2.5.0']}
if not hasattr(sys, 'pypy_translation_info'):
conditional_kwargs['install_requires'].append('ujson')
if sys.version_info < (3, 3):
conditional_kwargs['tests_require'].append('mock')
setup(
name='rlog',
version='0.3.1',
description='Small handler and formatter for using python logging with Redis',
url='https://github.com/lobziik/rlog',
packages=['rlog', 'tests'],
license='MIT',
keywords=['Redis', 'logging', 'log', 'logs'],
author="lobziik",
author_email="[email protected]",
maintainer="lobziik",
maintainer_email="[email protected]",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
**conditional_kwargs
)