Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Media] Add nspkg package #15751

Merged
merged 11 commits into from
Dec 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ known_content_issues:
- ['sdk/monitor/microsoft-opentelemetry-exporter-azuremonitor/swagger/README.md', '#4554']
- ['sdk/monitor/microsoft-opentelemetry-exporter-azuremonitor/README.md', '#4554']
- ['sdk/digitaltwins/azure-digitaltwins-core/swagger/README.md', '#4554']
- ['sdk/media/azure-media-nspkg/README.md', '#4554']

# nspckg and common.
- ['sdk/appconfiguration/azure-appconfiguration/README.md', 'nspkg and common']
Expand Down
5 changes: 5 additions & 0 deletions sdk/media/azure-media-nspkg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Release History

## 1.0.0 (2020-12-11)

Initial release
3 changes: 3 additions & 0 deletions sdk/media/azure-media-nspkg/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include *.md
include azure/__init__.py
include azure/media/__init__.py
12 changes: 12 additions & 0 deletions sdk/media/azure-media-nspkg/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Media Services namespace package.

This package is not intended to be installed directly by the end user.

Since version 3.0, this is Python 2 package only, Python 3.x SDKs will use `PEP420 <https://www.python.org/dev/peps/pep-0420/>` as namespace package strategy.

It provides the necessary files for other packages to extend the azure.media namespace.


![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fsdk%2Fmedia%2Fazure-media-nspkg%2FREADME.png)
1 change: 1 addition & 0 deletions sdk/media/azure-media-nspkg/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
1 change: 1 addition & 0 deletions sdk/media/azure-media-nspkg/azure/media/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
2 changes: 2 additions & 0 deletions sdk/media/azure-media-nspkg/sdk_packaging.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[packaging]
auto_update = false
2 changes: 2 additions & 0 deletions sdk/media/azure-media-nspkg/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
39 changes: 39 additions & 0 deletions sdk/media/azure-media-nspkg/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env python

#-------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#--------------------------------------------------------------------------
from setuptools import setup

setup(
name='azure-media-nspkg',
version='1.0.0',
description='Microsoft Azure Media Namespace Package [Internal]',
long_description=open('README.md', 'r').read(),
license='MIT License',
author='Microsoft Corporation',
author_email='azpysdkhelp@microsoft.com',
url='https://github.com/Azure/azure-sdk-for-python',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: MIT License',
],
zip_safe=False,
packages=[
'azure.media'
],
install_requires=[
'azure-nspkg>=3.0.0',
]
)
3 changes: 3 additions & 0 deletions sdk/media/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ extends:
Artifacts:
- name: azure_mgmt_media
safeName: azuremgmtmedia
- name: azure_media_nspkg
safeName: azuremedianspkg