-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (31 loc) · 1.04 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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os.path
readme = ''
here = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(here, 'README.rst')
if os.path.exists(readme_path):
with open(readme_path, 'rb') as stream:
readme = stream.read().decode('utf8')
setup(
long_description=readme,
name='structlogger',
version='0.1.5',
description='Uses structlog to create two loggers, a stdout logger with key-value args and optional colour, and a file logger in JSON format with log-rotation.',
python_requires='==3.*,>=3.6.0',
project_urls={
"homepage": "https://github.com/mattdavis90/structlogger",
"repository": "https://github.com/mattdavis90/structlogger"
},
author='Matt Davis',
author_email='[email protected]',
license='MIT',
packages=['structlogger'],
package_dir={"": "."},
package_data={},
install_requires=[
'python-json-logger==0.*,>=0.1.9', 'structlog[dev]==20.*,>=20.1.0'
],
)