-
Notifications
You must be signed in to change notification settings - Fork 115
/
setup.py
103 lines (96 loc) · 3.34 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#!/usr/bin/env python
# -----------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# -----------------------------------------------------------------------------
"""Azure Developer Tools package that can be installed using setuptools"""
from codecs import open
import os
import re
from setuptools import setup, find_packages
azdev_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(azdev_path, 'azdev', '__init__.py'), 'r') as version_file:
__VERSION__ = re.search(r'^__VERSION__\s*=\s*[\'"]([^\'"]*)[\'"]',
version_file.read(), re.MULTILINE).group(1)
with open('README.rst', 'r', encoding='utf-8') as f:
README = f.read()
with open('HISTORY.rst', 'r', encoding='utf-8') as f:
HISTORY = f.read()
setup(
name='azdev',
version=__VERSION__,
description='Microsoft Azure CLI Developer Tools',
long_description=README + '\n\n' + HISTORY,
url='https://github.com/Azure/azure-cli-dev-tools',
author='Microsoft Corporation',
author_email='azpycli@microsoft.com',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
],
keywords='azure',
python_requires='>=3.6',
packages=[
'azdev',
'azdev.config',
'azdev.operations',
'azdev.mod_templates',
'azdev.operations.help',
'azdev.operations.help.refdoc',
'azdev.operations.linter',
'azdev.operations.linter.rules',
'azdev.operations.linter.pylint_checkers',
'azdev.operations.testtool',
'azdev.operations.extensions',
'azdev.operations.statistics',
'azdev.operations.command_change',
'azdev.operations.breaking_change',
'azdev.operations.cmdcov',
'azdev.utilities',
],
install_requires=[
'azure-multiapi-storage',
'docutils',
'flake8',
'gitpython',
'jinja2',
'knack',
'pylint<4',
'pytest-xdist', # depends on pytest-forked
'pytest-forked',
'pytest>=5.0.0',
'pyyaml',
'requests',
'sphinx==1.6.7',
'tox',
'jsbeautifier~=1.14.7',
'deepdiff~=6.3.0',
'azure-cli-diff-tool~=0.0.6',
'packaging',
'tqdm',
'wheel==0.30.0',
'microsoft-security-utilities-secret-masker~=1.0.0b2'
],
package_data={
'azdev.config': ['*.*', 'cli_pylintrc', 'ext_pylintrc'],
'azdev.mod_templates': ['*.*'],
'azdev.operations.linter.rules': ['ci_exclusions.yml'],
'azdev.operations.cmdcov': ['*.*'],
'azdev.operations.breaking_change': ['*.*'],
},
include_package_data=True,
entry_points={
'console_scripts': ['azdev=azdev.__main__:main']
}
)