зеркало из
1
0
Форкнуть 0

Updated Azure packaging (markdown)

Laurent Mazuel 2019-01-04 11:56:59 -08:00
Родитель c2a8428df3
Коммит 9e4dbb8e6e
1 изменённых файлов: 4 добавлений и 5 удалений

@ -55,7 +55,7 @@ The "extras_requires" section MUST include a conditional dependency on "azure-ns
```python
extras_require={
":python_version<'3.0'": ['azure-mgmt-nspkg'],
":python_version<'3.0'": ['azure-nspkg'],
}
```
@ -75,8 +75,8 @@ from io import open
from setuptools import find_packages, setup
# Change the PACKAGE_NAME only to change folder and different name
PACKAGE_NAME = "azure-mgmt-compute"
PACKAGE_PPRINT_NAME = "Compute Management"
PACKAGE_NAME = "azure-keyvault"
PACKAGE_PPRINT_NAME = "KeyVault"
# a-b-c => a/b/c
package_folder_path = PACKAGE_NAME.replace('-', '/')
@ -122,7 +122,6 @@ setup(
'tests',
# Exclude packages that will be covered by PEP420 or nspkg
'azure',
'azure.mgmt',
]),
install_requires=[
'msrest>=0.5.0',
@ -130,7 +129,7 @@ setup(
'azure-common~=1.1',
],
extras_require={
":python_version<'3.0'": ['azure-mgmt-nspkg'],
":python_version<'3.0'": ['azure-nspkg'],
}
)
```