This repository has been archived by the owner on Dec 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (45 loc) · 1.7 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
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os
import re
from setuptools import setup, find_packages
version_file = os.path.join(os.path.dirname(__file__), 'flask_events', '_version.py')
with open(version_file) as fh:
version_file_contents = fh.read().strip()
version_match = re.match(r"__version__ = '(\d\.\d\.\d.*)'", version_file_contents)
version = version_match.group(1)
setup(
name='Flask-Events',
version=version,
author='Tarjei Husøy',
author_email='git@thusoy.com',
url='https://github.com/get-wrecked/flask-events',
description="Easy structured logging and metrics collection for Flask",
install_requires=[
'libhoney >= 1.3.0',
],
packages=find_packages(),
license='Hippocratic-2.1',
classifiers=[
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
# 'Development Status :: 3 - Alpha',
# 'Development Status :: 4 - Beta',
# 'Development Status :: 5 - Production/Stable',
# 'Development Status :: 6 - Mature',
'Development Status :: 7 - Inactive',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: System :: Logging',
'Topic :: System :: Monitoring',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
)