-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.24 KB
/
setup.py
File metadata and controls
42 lines (38 loc) · 1.24 KB
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
from re import search
from setuptools import setup
with open('src/asyncmetrics/__init__.py') as f:
version = str(search(r"__version__ = '(.*)'", f.read()).group(1))
with open('README.md') as fh:
long_description = fh.read()
setup(
name='asyncmetrics',
version=version,
packages=['asyncmetrics', 'asyncmetrics.protocols'],
package_dir={'': 'src'},
url='https://github.com/mon4ter/asyncmetrics',
license='MIT',
author='Dmitry Galkin',
author_email='mon4ter@gmail.com',
description='Send metrics to Graphite asynchronously from your asyncio application',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
install_requires=[],
setup_requires=[
'pytest-runner',
],
tests_require=[
'pytest',
'pytest-asyncio',
'pytest-cov',
],
)