forked from imbolc/aiolog
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·42 lines (31 loc) · 911 Bytes
/
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
#!/usr/bin/env python
import os
import sys
from setuptools import setup
import aiolog as pkg
def read(filename):
with open(filename, 'rt') as f:
return f.read()
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit(0)
setup(
name='aiolog',
version=pkg.__version__,
description=pkg.__doc__,
long_description=read('README.rst'),
classifiers=[
'License :: OSI Approved :: ISC License (ISCL)',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3 :: Only',
],
keywords=['logging', 'asyncio'],
author='Imbolc',
author_email='imbolc@imbolc.name',
license='ISC',
url='https://github.com/imbolc/aiolog',
packages=['aiolog'],
install_requires=['async_timeout>=1.1.0'],
)