This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #333 from Azure/fix-issue-282-273
fix-issue-282-273
- Loading branch information
Showing
9 changed files
with
96 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,12 @@ export function GenerateAzureCliSetupPy(model: CodeModelAz) : string[] { | |
output.push("from codecs import open"); | ||
output.push("from setuptools import setup, find_packages"); | ||
output.push(""); | ||
output.push("# TODO: Confirm this is the right version number you want and it matches your"); | ||
output.push("# HISTORY.rst entry."); | ||
output.push("VERSION = '0.1.0'"); | ||
output.push("try:"); | ||
output.push(" from .manual.version import VERSION"); | ||
output.push("except ImportError:"); | ||
output.push(" pass"); | ||
output.push("") | ||
output.push("# The full list of classifiers is available at"); | ||
output.push("# https://pypi.python.org/pypi?%3Aaction=list_classifiers"); | ||
|
@@ -37,8 +40,11 @@ export function GenerateAzureCliSetupPy(model: CodeModelAz) : string[] { | |
output.push(" 'License :: OSI Approved :: MIT License',"); | ||
output.push("]"); | ||
output.push(""); | ||
output.push("# TODO: Add any additional SDK dependencies here"); | ||
output.push("DEPENDENCIES = []"); | ||
output.push("try:"); | ||
output.push(" from .manual.dependency import DEPENDENCIES"); | ||
output.push("except ImportError:"); | ||
output.push(" pass"); | ||
output.push(""); | ||
output.push("with open('README.md', 'r', encoding='utf-8') as f:"); | ||
output.push(" README = f.read()"); | ||
|
@@ -49,11 +55,9 @@ export function GenerateAzureCliSetupPy(model: CodeModelAz) : string[] { | |
output.push(" name='" + model.Extension_NameUnderscored + "',"); | ||
output.push(" version=VERSION,"); | ||
output.push(" description='Microsoft Azure Command-Line Tools " + model.Extension_NameClass + " Extension',"); | ||
output.push(" # TODO: Update author and email, if applicable"); | ||
output.push(" author='Microsoft Corporation',"); | ||
output.push(" author_email='[email protected]',"); | ||
output.push(" # TODO: consider pointing directly to your source code instead of the generic repo"); | ||
output.push(" url='https://github.com/Azure/azure-cli-extensions',"); | ||
output.push(" url='https://github.com/Azure/azure-cli-extensions/tree/master/src/" + model.Extension_Name + "',"); | ||
output.push(" long_description=README + '\\n\\n' + HISTORY,"); | ||
output.push(" license='MIT',"); | ||
output.push(" classifiers=CLASSIFIERS,"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,12 @@ | |
from codecs import open | ||
from setuptools import setup, find_packages | ||
|
||
# TODO: Confirm this is the right version number you want and it matches your | ||
# HISTORY.rst entry. | ||
VERSION = '0.1.0' | ||
try: | ||
from .manual.version import VERSION | ||
except ImportError: | ||
pass | ||
|
||
# The full list of classifiers is available at | ||
# https://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
|
@@ -27,8 +30,11 @@ | |
'License :: OSI Approved :: MIT License', | ||
] | ||
|
||
# TODO: Add any additional SDK dependencies here | ||
DEPENDENCIES = [] | ||
try: | ||
from .manual.dependency import DEPENDENCIES | ||
except ImportError: | ||
pass | ||
|
||
with open('README.md', 'r', encoding='utf-8') as f: | ||
README = f.read() | ||
|
@@ -39,11 +45,9 @@ | |
name='attestation', | ||
version=VERSION, | ||
description='Microsoft Azure Command-Line Tools AttestationManagementClient Extension', | ||
# TODO: Update author and email, if applicable | ||
author='Microsoft Corporation', | ||
author_email='[email protected]', | ||
# TODO: consider pointing directly to your source code instead of the generic repo | ||
url='https://github.com/Azure/azure-cli-extensions', | ||
url='https://github.com/Azure/azure-cli-extensions/tree/master/src/attestation', | ||
long_description=README + '\n\n' + HISTORY, | ||
license='MIT', | ||
classifiers=CLASSIFIERS, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,12 @@ | |
from codecs import open | ||
from setuptools import setup, find_packages | ||
|
||
# TODO: Confirm this is the right version number you want and it matches your | ||
# HISTORY.rst entry. | ||
VERSION = '0.1.0' | ||
try: | ||
from .manual.version import VERSION | ||
except ImportError: | ||
pass | ||
|
||
# The full list of classifiers is available at | ||
# https://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
|
@@ -27,8 +30,11 @@ | |
'License :: OSI Approved :: MIT License', | ||
] | ||
|
||
# TODO: Add any additional SDK dependencies here | ||
DEPENDENCIES = [] | ||
try: | ||
from .manual.dependency import DEPENDENCIES | ||
except ImportError: | ||
pass | ||
|
||
with open('README.md', 'r', encoding='utf-8') as f: | ||
README = f.read() | ||
|
@@ -39,11 +45,9 @@ | |
name='datafactory', | ||
version=VERSION, | ||
description='Microsoft Azure Command-Line Tools DataFactoryManagementClient Extension', | ||
# TODO: Update author and email, if applicable | ||
author='Microsoft Corporation', | ||
author_email='[email protected]', | ||
# TODO: consider pointing directly to your source code instead of the generic repo | ||
url='https://github.com/Azure/azure-cli-extensions', | ||
url='https://github.com/Azure/azure-cli-extensions/tree/master/src/datafactory', | ||
long_description=README + '\n\n' + HISTORY, | ||
license='MIT', | ||
classifiers=CLASSIFIERS, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,12 @@ | |
from codecs import open | ||
from setuptools import setup, find_packages | ||
|
||
# TODO: Confirm this is the right version number you want and it matches your | ||
# HISTORY.rst entry. | ||
VERSION = '0.1.0' | ||
try: | ||
from .manual.version import VERSION | ||
except ImportError: | ||
pass | ||
|
||
# The full list of classifiers is available at | ||
# https://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
|
@@ -27,8 +30,11 @@ | |
'License :: OSI Approved :: MIT License', | ||
] | ||
|
||
# TODO: Add any additional SDK dependencies here | ||
DEPENDENCIES = [] | ||
try: | ||
from .manual.dependency import DEPENDENCIES | ||
except ImportError: | ||
pass | ||
|
||
with open('README.md', 'r', encoding='utf-8') as f: | ||
README = f.read() | ||
|
@@ -39,11 +45,9 @@ | |
name='managed_network', | ||
version=VERSION, | ||
description='Microsoft Azure Command-Line Tools ManagedNetworkManagementClient Extension', | ||
# TODO: Update author and email, if applicable | ||
author='Microsoft Corporation', | ||
author_email='[email protected]', | ||
# TODO: consider pointing directly to your source code instead of the generic repo | ||
url='https://github.com/Azure/azure-cli-extensions', | ||
url='https://github.com/Azure/azure-cli-extensions/tree/master/src/managed-network', | ||
long_description=README + '\n\n' + HISTORY, | ||
license='MIT', | ||
classifiers=CLASSIFIERS, | ||
|