Skip to content

Commit b22a709

Browse files
Zim Kalinowski00Kai0AutorestCI
authored
Kaihuis maps (Azure#11574)
* add test for maps * Update test_cli_mgmt_maps.test_maps.yaml * Packaging update of azure-mgmt-maps * updated coverage Co-authored-by: 00Kai0 <[email protected]> Co-authored-by: Azure SDK Bot <[email protected]>
1 parent 8f5fb10 commit b22a709

File tree

5 files changed

+434
-40
lines changed

5 files changed

+434
-40
lines changed

sdk/maps/azure-mgmt-maps/MANIFEST.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
include *.rst *.md
1+
recursive-include tests *.py *.yaml
2+
include *.md
3+
include azure/__init__.py
4+
include azure/mgmt/__init__.py
5+

sdk/maps/azure-mgmt-maps/README.md

Lines changed: 11 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,21 @@
1-
## Microsoft Azure SDK for Python
1+
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Maps Client Library.
4+
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
5+
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/)
46

5-
Azure Resource Manager (ARM) is the next generation of management APIs
6-
that replace the old Azure Service Management (ASM).
77

8-
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
8+
# Usage
99

10-
For the older Azure Service Management (ASM) libraries, see
11-
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
12-
library.
10+
For code examples, see [Maps](https://docs.microsoft.com/python/api/overview/azure/)
11+
on docs.microsoft.com.
1312

14-
For a more complete set of Azure libraries, see the
15-
[azure](https://pypi.python.org/pypi/azure) bundle package.
1613

17-
## Compatibility
14+
# Provide Feedback
1815

19-
**IMPORTANT**: If you have an earlier version of the azure package
20-
(version < 1.0), you should uninstall it before installing this
21-
package.
22-
23-
You can check the version using pip:
24-
25-
``` shell
26-
pip freeze
27-
```
28-
29-
If you see azure==0.11.0 (or any version below 1.0), uninstall it first:
30-
31-
``` shell
32-
pip uninstall azure
33-
```
34-
35-
## Usage
36-
37-
For code examples, see
38-
[Maps](https://docs.microsoft.com/python/api/overview/azure/) on
39-
docs.microsoft.com.
40-
41-
## Provide Feedback
42-
43-
If you encounter any bugs or have suggestions, please file an issue in
44-
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
16+
If you encounter any bugs or have suggestions, please file an issue in the
17+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
4518
section of the project.
4619

47-
![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-maps%2FREADME.png)
20+
21+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-maps%2FREADME.png)

sdk/maps/azure-mgmt-maps/setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
pass
3737

3838
# Version extraction inspired from 'requests'
39-
with open(os.path.join(package_folder_path, 'version.py'), 'r') as fd:
39+
with open(os.path.join(package_folder_path, 'version.py')
40+
if os.path.exists(os.path.join(package_folder_path, 'version.py'))
41+
else os.path.join(package_folder_path, '_version.py'), 'r') as fd:
4042
version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',
4143
fd.read(), re.MULTILINE).group(1)
4244

@@ -64,10 +66,10 @@
6466
'Programming Language :: Python :: 2',
6567
'Programming Language :: Python :: 2.7',
6668
'Programming Language :: Python :: 3',
67-
'Programming Language :: Python :: 3.4',
6869
'Programming Language :: Python :: 3.5',
6970
'Programming Language :: Python :: 3.6',
7071
'Programming Language :: Python :: 3.7',
72+
'Programming Language :: Python :: 3.8',
7173
'License :: OSI Approved :: MIT License',
7274
],
7375
zip_safe=False,

0 commit comments

Comments
 (0)