-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (43 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
45
46
47
48
49
50
"""
Flask-ApplicationInsights
-------------
Microsoft Azure Application Insights integration for Flask.
"""
import subprocess
import unittest
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
def test_suite():
test_loader = unittest.TestLoader()
s = test_loader.discover('test', pattern='test_*.py')
return s
setup(
name='Flask-ApplicationInsights',
version=subprocess.check_output(["git", "describe", "--always", "--tags"]).strip().decode('utf8'),
url='https://github.com/gghez/flask_applicationinsights',
license='MIT',
author='Gregory Ghez',
author_email='gregory.ghez@gmail.com',
description='Microsoft Azure Application Insights integration for Flask.',
long_description=long_description,
long_description_content_type="text/markdown",
py_modules=['flask_applicationinsights'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'Flask>=1.0.2',
'applicationinsights==0.11.6'
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
test_suite='setup.test_suite'
)