Skip to content

Commit 6dcf311

Browse files
committed
Create empty package azure-mgmt-authorization
1 parent ab1b243 commit 6dcf311

File tree

9 files changed

+131
-0
lines changed

9 files changed

+131
-0
lines changed

azure-mgmt-authorization/MANIFEST.in

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include *.rst
2+
exclude azure/__init__.py
3+
exclude azure/mgmt/__init__.py

azure-mgmt-authorization/README.rst

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
Microsoft Azure SDK for Python
2+
==============================
3+
4+
This is the Microsoft Azure Authorization Resource Management Client Library.
5+
6+
Azure Resource Manager (ARM) is the next generation of management APIs that
7+
replace the old Azure Service Management (ASM).
8+
9+
This package has been tested with Python 2.7, 3.3, 3.4 and 3.5.
10+
11+
For the older Azure Service Management (ASM) libraries, see
12+
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.
13+
14+
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.
15+
16+
17+
Compatibility
18+
=============
19+
20+
**IMPORTANT**: If you have an earlier version of the azure package
21+
(version < 1.0), you should uninstall it before installing this package.
22+
23+
You can check the version using pip:
24+
25+
.. code:: shell
26+
27+
pip freeze
28+
29+
If you see azure==0.11.0 (or any version below 1.0), uninstall it first:
30+
31+
.. code:: shell
32+
33+
pip uninstall azure
34+
35+
36+
Usage
37+
=====
38+
39+
For code examples, see `Authorization Resource Management
40+
<https://azure-sdk-for-python.readthedocs.org/en/latest/resourcemanagementauthorization.html>`__
41+
on readthedocs.org.
42+
43+
44+
Provide Feedback
45+
================
46+
47+
If you encounter any bugs or have suggestions, please file an issue in the
48+
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
49+
section of the project.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__import__('pkg_resources').declare_namespace(__name__)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__import__('pkg_resources').declare_namespace(__name__)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__import__('pkg_resources').declare_namespace(__name__)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__import__('pkg_resources').declare_namespace(__name__)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__import__('pkg_resources').declare_namespace(__name__)

azure-mgmt-authorization/setup.cfg

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[bdist_wheel]
2+
universal=1
3+
4+
[install]
5+
single-version-externally-managed=1
6+
record=RECORD.txt

azure-mgmt-authorization/setup.py

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
#!/usr/bin/env python
2+
3+
#-------------------------------------------------------------------------
4+
# Copyright (c) Microsoft. All rights reserved.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#--------------------------------------------------------------------------
17+
18+
from setuptools import setup
19+
20+
# azure v0.x is not compatible with this package
21+
# azure v0.x used to have a __version__ attribute (newer versions don't)
22+
try:
23+
import azure
24+
try:
25+
ver = azure.__version__
26+
raise Exception(
27+
'This package is incompatible with azure=={}. '.format(ver) +
28+
'Uninstall it with "pip uninstall azure".'
29+
)
30+
except AttributeError:
31+
pass
32+
except ImportError:
33+
pass
34+
35+
setup(
36+
name='azure-mgmt-authorization',
37+
version='2.0.0rc1',
38+
description='Microsoft Azure Authorization Resource Management Client Library for Python',
39+
long_description=open('README.rst', 'r').read(),
40+
license='Apache License 2.0',
41+
author='Microsoft Corporation',
42+
author_email='[email protected]',
43+
url='https://github.com/Azure/azure-sdk-for-python',
44+
classifiers=[
45+
'Development Status :: 4 - Beta',
46+
'Programming Language :: Python',
47+
'Programming Language :: Python :: 2',
48+
'Programming Language :: Python :: 2.7',
49+
'Programming Language :: Python :: 3',
50+
'Programming Language :: Python :: 3.3',
51+
'Programming Language :: Python :: 3.4',
52+
'Programming Language :: Python :: 3.5',
53+
'License :: OSI Approved :: Apache Software License',
54+
],
55+
zip_safe=False,
56+
packages=[
57+
'azure',
58+
'azure.mgmt',
59+
'azure.mgmt.authorization',
60+
'azure.mgmt.authorization.models',
61+
'azure.mgmt.authorization.operations',
62+
],
63+
install_requires=[
64+
'azure-common',
65+
'azure-mgmt-nspkg',
66+
'msrestazure'
67+
],
68+
)

0 commit comments

Comments
 (0)