File: setup.py

package info (click to toggle)
python-azure 20201208%2Bgit-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,437,920 kB
  • sloc: python: 4,287,452; javascript: 269; makefile: 198; sh: 187; xml: 106
file content (45 lines) | stat: -rw-r--r-- 1,220 bytes parent folder | download
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
import os
from setuptools import setup, find_packages

# This is a "fake" package, meaning it's not supposed to be released but used
# locally with "pip install -e"

DEPENDENCIES = [
    # Packaging
    'packaging',
    'wheel',
    'Jinja2',
    'pytoml',
    'json-delta>=2.0',
    # Tests
    'pytest-cov',
    'pytest>=3.5.1',
    # 'azure-devtools>=0.4.1' override by packaging needs
    'readme_renderer',
    # 'azure-storage-file<2.0',
    'azure-storage-common<1.4.1',
    'pyopenssl',
    'azure-mgmt-resource',
    'azure-mgmt-storage',
    'azure-mgmt-keyvault'
]

setup(
    name = "azure-sdk-tools",
    version = "0.0.0",
    author='Microsoft Corporation',
    author_email='azpysdkhelp@microsoft.com',
    url='https://github.com/Azure/azure-sdk-for-python',
    packages=find_packages(),
    long_description="Specific tools for Azure SDK for Python testing",
    install_requires=DEPENDENCIES,
    entry_points = {
        'console_scripts': [
            'generate_package=packaging_tools.generate_package:generate_main',
            'generate_sdk=packaging_tools.generate_sdk:generate_main',
        ],
    },
    extras_require={
        ":python_version>='3.5'": ['pytest-asyncio>=0.9.0']
    }
)