diff --git a/eng/scripts/migrate_setup_py_to_pyproject.py b/eng/scripts/migrate_setup_py_to_pyproject.py new file mode 100644 index 000000000000..e6f6c7300d84 --- /dev/null +++ b/eng/scripts/migrate_setup_py_to_pyproject.py @@ -0,0 +1,533 @@ +#!/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. +# -------------------------------------------------------------------------- +""" +Migrate packages from setup.py to pyproject.toml. + +Usage: + # Migrate a single package + python migrate_setup_py_to_pyproject.py --package-path sdk/tables/azure-data-tables + + # Migrate all packages in the sdk directory + python migrate_setup_py_to_pyproject.py --all + + # Dry run (don't write files) + python migrate_setup_py_to_pyproject.py --all --dry-run + + # Migrate a single package without deleting setup.py + python migrate_setup_py_to_pyproject.py --package-path sdk/tables/azure-data-tables --keep-setup-py +""" + +import argparse +import ast +import logging +import os +import re +import sys +import textwrap +from pathlib import Path +from typing import Any, Dict, List, Optional, Tuple + +try: + import tomllib as toml +except ImportError: + import tomli as toml # type: ignore + +import tomli_w as tomlw + +logging.basicConfig( + stream=sys.stdout, + format="[%(levelname)s] %(message)s", +) +_LOGGER = logging.getLogger(__name__) + +# Directories to skip during migration +_SKIP_DIRS = {"tests", "test", "testserver_tests", "generated_tests", "coretestserver", "modeltypes"} + +# Standard build system config +_BUILD_SYSTEM = { + "requires": ["setuptools>=77.0.3", "wheel"], + "build-backend": "setuptools.build_meta", +} + +VERSION_REGEX = r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]' + + +def _is_excluded_package(package_path: Path) -> bool: + """Return True if the package should be skipped (test packages, etc.).""" + parts = set(package_path.parts) + return bool(parts & _SKIP_DIRS) + + +def _get_version_attr(package_dir: Path) -> Optional[str]: + """Find the version file and return the setuptools dynamic attr string.""" + exclude_dirs = {"tests", "test", "samples", "generated_samples", "generated_tests", "doc", ".tox", "venv"} + + for root, dirs, files in os.walk(str(package_dir)): + dirs[:] = [d for d in dirs if d not in exclude_dirs and not d.startswith(".")] + for version_file in ("_version.py", "version.py"): + if version_file in files: + version_path = Path(root) / version_file + rel = version_path.relative_to(package_dir) + # Convert path to module notation e.g. azure/data/tables/_version.py -> azure.data.tables._version + module = str(rel).replace(os.sep, ".")[: -len(".py")] + return f"{module}.VERSION" + + return None + + +def _extract_setup_kwargs(setup_py_path: str) -> Dict[str, Any]: + """Execute setup.py and capture kwargs passed to setup().""" + mock_setup = textwrap.dedent( + """\ + def setup(*args, **kwargs): + __setup_calls__.append((args, kwargs)) + """ + ) + with open(setup_py_path, "r", encoding="utf-8-sig") as f: + content = f.read() + + parsed_mock = ast.parse(mock_setup, filename=setup_py_path) + parsed = ast.parse(content, filename=setup_py_path) + + for idx, node in enumerate(parsed.body[:]): + if ( + not isinstance(node, ast.Expr) + or not isinstance(node.value, ast.Call) + or not hasattr(node.value.func, "id") + or node.value.func.id != "setup" + ): + continue + parsed.body[idx:idx] = parsed_mock.body + break + + fixed = ast.fix_missing_locations(parsed) + code = compile(fixed, setup_py_path, "exec") + global_vars: Dict[str, Any] = {"__setup_calls__": []} + local_vars: Dict[str, Any] = {} + + orig_dir = os.getcwd() + os.chdir(os.path.dirname(setup_py_path)) + try: + exec(code, global_vars, local_vars) # nosec + finally: + os.chdir(orig_dir) + + if not global_vars["__setup_calls__"]: + return {} + _, kwargs = global_vars["__setup_calls__"][0] + return kwargs + + +def _extract_find_packages_exclude(setup_py_path: str) -> Optional[List[str]]: + """Parse AST of setup.py to extract the exclude list from find_packages().""" + with open(setup_py_path, "r", encoding="utf-8-sig") as f: + content = f.read() + + try: + tree = ast.parse(content) + except SyntaxError: + return None + + for node in ast.walk(tree): + if not isinstance(node, ast.Call): + continue + func_name = "" + if hasattr(node.func, "id"): + func_name = node.func.id + elif hasattr(node.func, "attr"): + func_name = node.func.attr + if func_name != "find_packages": + continue + for kw in node.keywords: + if kw.arg == "exclude" and isinstance(kw.value, ast.List): + items = [elt.value for elt in kw.value.elts if isinstance(elt, ast.Constant)] + # Deduplicate while preserving order + seen: set = set() + deduped = [] + for item in items: + if item not in seen: + seen.add(item) + deduped.append(item) + return deduped + return None + + +def _extract_readme_files(setup_py_path: str) -> List[str]: + """Detect which readme files are referenced in setup.py.""" + with open(setup_py_path, "r", encoding="utf-8-sig") as f: + content = f.read() + + files = [] + if "README.md" in content: + files.append("README.md") + if "CHANGELOG.md" in content: + files.append("CHANGELOG.md") + return files or ["README.md"] + + +def _normalize_license(license_str: str) -> str: + """Normalize license string to PEP 621 format.""" + mapping = { + "MIT License": "MIT", + "MIT": "MIT", + "Apache Software License": "Apache-2.0", + "Apache 2.0": "Apache-2.0", + "Apache-2.0": "Apache-2.0", + } + return mapping.get(license_str, license_str) + + +def _filter_classifiers(classifiers: List[str]) -> List[str]: + """Remove License classifiers since license is now a dedicated field.""" + return [c for c in classifiers if not c.startswith("License ::")] + + +def _normalize_keywords(keywords: Any) -> List[str]: + """Normalize keywords to a list.""" + if isinstance(keywords, str): + # Split on comma-separated values, preserving multi-word entries like "azure sdk" + parts = [k.strip() for k in keywords.split(",") if k.strip()] + return parts + if isinstance(keywords, list): + return keywords + return ["azure", "azure sdk"] + + +def _build_project_section( + kwargs: Dict[str, Any], + package_dir: Path, +) -> Tuple[Dict[str, Any], Dict[str, Any]]: + """ + Build the [project] and [project.urls] sections from setup() kwargs. + Returns (project_dict, project_urls_dict). + """ + name = kwargs.get("name", "") + description = kwargs.get("description", "") + author = kwargs.get("author", "Microsoft Corporation") + author_email = kwargs.get("author_email", "azpysdkhelp@microsoft.com") + url = kwargs.get("url", "https://github.com/Azure/azure-sdk-for-python") + license_val = kwargs.get("license", "MIT License") + classifiers = kwargs.get("classifiers", []) + keywords = kwargs.get("keywords", "azure, azure sdk") + python_requires = kwargs.get("python_requires", ">=3.9") + install_requires = kwargs.get("install_requires", []) + + project: Dict[str, Any] = {} + project["name"] = name + project["authors"] = [{"name": author, "email": author_email}] + project["description"] = description + project["license"] = _normalize_license(license_val) + filtered_classifiers = _filter_classifiers(classifiers) + if filtered_classifiers: + project["classifiers"] = filtered_classifiers + project["requires-python"] = python_requires + project["keywords"] = _normalize_keywords(keywords) + project["dependencies"] = install_requires + + # extras_require → optional-dependencies + extras = kwargs.get("extras_require", {}) + if extras: + project["optional-dependencies"] = extras + + # Dynamic fields + project["dynamic"] = ["version", "readme"] + + # URL + urls: Dict[str, str] = {} + if url: + urls["repository"] = url + + return project, urls + + +def _build_setuptools_section( + kwargs: Dict[str, Any], + package_dir: Path, + version_attr: Optional[str], + readme_files: List[str], + exclude_list: Optional[List[str]], +) -> Dict[str, Any]: + """Build the tool.setuptools.* section.""" + setuptools: Dict[str, Any] = {} + + # Dynamic version and readme + dynamic: Dict[str, Any] = {} + if version_attr: + dynamic["version"] = {"attr": version_attr} + dynamic["readme"] = {"file": readme_files, "content-type": "text/markdown"} + setuptools["dynamic"] = dynamic + + # packages.find + if exclude_list is not None: + setuptools["packages"] = {"find": {"exclude": exclude_list}} + + # package-data + package_data = kwargs.get("package_data", {}) + if package_data: + setuptools["package-data"] = package_data + + return setuptools + + +def migrate_package( + package_dir: Path, + dry_run: bool = False, + keep_setup_py: bool = False, +) -> bool: + """ + Migrate a single package from setup.py to pyproject.toml. + + Returns True if the package was migrated, False if skipped. + """ + setup_py = package_dir / "setup.py" + pyproject_toml = package_dir / "pyproject.toml" + + if not setup_py.exists(): + _LOGGER.debug("No setup.py found in %s, skipping", package_dir) + return False + + # Skip excluded directories + if _is_excluded_package(package_dir): + _LOGGER.debug("Skipping excluded directory: %s", package_dir) + return False + + _LOGGER.info("Migrating %s", package_dir) + + # Parse setup.py + try: + kwargs = _extract_setup_kwargs(str(setup_py)) + except Exception as e: + _LOGGER.warning("Failed to parse setup.py in %s: %s", package_dir, e) + return False + + if not kwargs: + _LOGGER.warning("No setup() call found in %s, skipping", package_dir) + return False + + # Check if it's a namespace package (no _version.py, hardcoded version, special handling needed) + name = kwargs.get("name", "") + is_nspkg = "nspkg" in name + if is_nspkg: + _LOGGER.info("Skipping namespace package %s (nspkg)", name) + return False + + # Get version attribute + version_attr = _get_version_attr(package_dir) + if not version_attr: + _LOGGER.warning("Could not find version file in %s, skipping", package_dir) + return False + + # Get readme files + readme_files = _extract_readme_files(str(setup_py)) + # Only include CHANGELOG.md if it actually exists + if "CHANGELOG.md" in readme_files and not (package_dir / "CHANGELOG.md").exists(): + readme_files = ["README.md"] + + # Get packages exclude list + exclude_list = _extract_find_packages_exclude(str(setup_py)) + + # Build project section + project_section, urls_section = _build_project_section(kwargs, package_dir) + + # Build setuptools section + setuptools_section = _build_setuptools_section( + kwargs, package_dir, version_attr, readme_files, exclude_list + ) + + # Load existing pyproject.toml + existing_toml: Dict[str, Any] = {} + if pyproject_toml.exists(): + try: + with open(pyproject_toml, "rb") as f: + existing_toml = toml.load(f) + except Exception as e: + _LOGGER.warning("Failed to parse existing pyproject.toml in %s: %s", package_dir, e) + + # Load sdk_packaging.toml if present (older packages used this file) + sdk_packaging_toml = package_dir / "sdk_packaging.toml" + sdk_packaging_content: Dict[str, Any] = {} + if sdk_packaging_toml.exists(): + try: + with open(sdk_packaging_toml, "rb") as f: + sdk_packaging_content = toml.load(f) + except Exception as e: + _LOGGER.warning("Failed to parse sdk_packaging.toml in %s: %s", package_dir, e) + + # Build the new toml dict, preserving existing sections + new_toml: Dict[str, Any] = {} + + # 1. Build system (always add/replace) + new_toml["build-system"] = _BUILD_SYSTEM.copy() + + # 2. Project section (always add/replace) + new_toml["project"] = project_section + + # 3. Project URLs + if urls_section: + new_toml["project"]["urls"] = urls_section + + # 4. Tool sections - merge existing tool settings, then add setuptools + new_toml["tool"] = {} + + # Copy existing tool.* sections except setuptools (we rebuild it) + existing_tool = existing_toml.get("tool", {}) + for key, val in existing_tool.items(): + if key != "setuptools": + new_toml["tool"][key] = val + + # Add setuptools section + new_toml["tool"]["setuptools"] = setuptools_section + + # 5. Preserve top-level non-tool sections (like [packaging], etc.) + for key, val in existing_toml.items(): + if key not in ("build-system", "project", "tool"): + new_toml[key] = val + + # 6. Merge sdk_packaging.toml content (if any) - it may contain [packaging] section + for key, val in sdk_packaging_content.items(): + if key not in new_toml: + new_toml[key] = val + elif isinstance(new_toml[key], dict) and isinstance(val, dict): + new_toml[key].update(val) + + if dry_run: + _LOGGER.info("[DRY RUN] Would write pyproject.toml for %s", package_dir) + import io + + buf = io.BytesIO() + tomlw.dump(new_toml, buf) + print(buf.getvalue().decode("utf-8")) + return True + + # Write pyproject.toml + with open(pyproject_toml, "wb") as f: + tomlw.dump(new_toml, f) + _LOGGER.info("Updated pyproject.toml for %s", package_dir) + + # Remove setup.py + if not keep_setup_py: + setup_py.unlink() + _LOGGER.info("Removed setup.py from %s", package_dir) + + # Remove sdk_packaging.toml (its content is now in pyproject.toml) + if sdk_packaging_toml.exists() and not dry_run: + sdk_packaging_toml.unlink() + _LOGGER.info("Removed sdk_packaging.toml from %s", package_dir) + + return True + + +def find_packages_with_setup_py(repo_root: Path) -> List[Path]: + """Find all packages in the sdk directory that have setup.py.""" + sdk_dir = repo_root / "sdk" + packages = [] + + for setup_py in sdk_dir.rglob("setup.py"): + package_dir = setup_py.parent + # Skip test packages inside other packages + parts = set(package_dir.relative_to(sdk_dir).parts) + if parts & _SKIP_DIRS: + continue + # Only include direct package directories (not nested) + packages.append(package_dir) + + return sorted(packages) + + +def main(): + parser = argparse.ArgumentParser( + description="Migrate packages from setup.py to pyproject.toml.", + formatter_class=argparse.RawTextHelpFormatter, + ) + + group = parser.add_mutually_exclusive_group(required=True) + group.add_argument( + "--package-path", + "-p", + dest="package_path", + help="Path to a single package directory (absolute or relative to repo root).", + ) + group.add_argument( + "--all", + "-a", + dest="all_packages", + action="store_true", + help="Migrate all packages in the sdk directory.", + ) + + parser.add_argument( + "--dry-run", + dest="dry_run", + action="store_true", + help="Print what would be done without making changes.", + ) + parser.add_argument( + "--keep-setup-py", + dest="keep_setup_py", + action="store_true", + help="Keep setup.py after migration (don't delete it).", + ) + parser.add_argument( + "--repo-root", + dest="repo_root", + default=None, + help="Path to the repository root. Defaults to auto-detection.", + ) + parser.add_argument("--debug", dest="debug", action="store_true", help="Enable debug logging.") + + args = parser.parse_args() + + if args.debug: + logging.getLogger().setLevel(logging.DEBUG) + else: + logging.getLogger().setLevel(logging.INFO) + + # Determine repo root + if args.repo_root: + repo_root = Path(args.repo_root).resolve() + else: + # Auto-detect: walk up from this script's directory + script_dir = Path(__file__).resolve().parent + repo_root = script_dir.parent.parent + if not (repo_root / "sdk").exists(): + _LOGGER.error("Could not find repo root. Please specify --repo-root.") + sys.exit(1) + + migrated = 0 + skipped = 0 + + if args.package_path: + package_dir = Path(args.package_path) + if not package_dir.is_absolute(): + package_dir = repo_root / package_dir + package_dir = package_dir.resolve() + + if migrate_package(package_dir, dry_run=args.dry_run, keep_setup_py=args.keep_setup_py): + migrated += 1 + else: + skipped += 1 + else: + # Migrate all packages + packages = find_packages_with_setup_py(repo_root) + _LOGGER.info("Found %d packages with setup.py", len(packages)) + + for package_dir in packages: + try: + if migrate_package(package_dir, dry_run=args.dry_run, keep_setup_py=args.keep_setup_py): + migrated += 1 + else: + skipped += 1 + except Exception as e: + _LOGGER.error("Error migrating %s: %s", package_dir, e) + skipped += 1 + + _LOGGER.info("Migration complete: %d migrated, %d skipped", migrated, skipped) + + +if __name__ == "__main__": + main() diff --git a/eng/tools/azure-sdk-tools/packaging_tools/__init__.py b/eng/tools/azure-sdk-tools/packaging_tools/__init__.py index 5c9ddee01816..cc8f81d1292c 100644 --- a/eng/tools/azure-sdk-tools/packaging_tools/__init__.py +++ b/eng/tools/azure-sdk-tools/packaging_tools/__init__.py @@ -99,6 +99,12 @@ def build_packaging_by_package_name( if template_name not in template_names: _LOGGER.info("Skipping template %s", template_name) continue + + # Skip setup.py since packages now use pyproject.toml + if template_name == "setup.py": + _LOGGER.info("Skipping setup.py template (packages use pyproject.toml)") + continue + future_filepath = Path(output_folder) / package_name / template_name # Might decide to make it more generic one day @@ -120,10 +126,56 @@ def build_packaging_by_package_name( continue + # pyproject.toml requires merge strategy to preserve existing tool settings + if template_name == "pyproject.toml" and future_filepath.exists(): + _merge_pyproject_toml(future_filepath, result) + continue + with open(future_filepath, "w") as fd: fd.write(result) # azure_bdist_wheel had been removed, but need to delete it manually with suppress(FileNotFoundError): (Path(output_folder) / package_name / "azure_bdist_wheel.py").unlink() + # setup.py is no longer used, remove it if present + with suppress(FileNotFoundError): + (Path(output_folder) / package_name / "setup.py").unlink() _LOGGER.info("Template done %s", package_name) + + +def _merge_pyproject_toml(existing_path: Path, new_content: str) -> None: + """Merge new pyproject.toml template content with existing file, preserving tool settings.""" + try: + import tomllib as toml + except ImportError: + import tomli as toml # type: ignore + import tomli_w as tomlw + + # Parse existing file + with open(existing_path, "rb") as f: + existing = toml.load(f) + + # Parse new template content + import io + + new = toml.load(io.BytesIO(new_content.encode("utf-8"))) + + # Merge: new content takes precedence for project/build-system/setuptools, + # but preserve existing tool.* sections (other than setuptools) + merged = dict(new) + existing_tool = existing.get("tool", {}) + new_tool = new.get("tool", {}) + merged_tool = dict(new_tool) + for key, val in existing_tool.items(): + if key not in merged_tool: + merged_tool[key] = val + merged["tool"] = merged_tool + + # Preserve top-level non-tool sections from existing (like [packaging]) + for key, val in existing.items(): + if key not in merged: + merged[key] = val + + with open(existing_path, "wb") as f: + tomlw.dump(merged, f) + _LOGGER.info("Merged pyproject.toml for %s", existing_path) diff --git a/eng/tools/azure-sdk-tools/packaging_tools/generate_utils.py b/eng/tools/azure-sdk-tools/packaging_tools/generate_utils.py index d88e2f79164e..22b74e777be3 100644 --- a/eng/tools/azure-sdk-tools/packaging_tools/generate_utils.py +++ b/eng/tools/azure-sdk-tools/packaging_tools/generate_utils.py @@ -153,14 +153,11 @@ def generate_packaging_and_ci_files(package_path: Path): package_name = package_path.name if "azure-mgmt-" in package_name: - # if codegen generate pyproject.toml instead of setup.py, we delete existing setup.py + # delete setup.py if pyproject.toml exists (packages now use pyproject.toml) setup_py = package_path / "setup.py" - if setup_py.exists(): - _LOGGER.info(f"delete {setup_py} since codegen generate pyproject.toml") - with open(pyproject_toml, "rb") as f: - pyproject_content = toml.load(f) - if pyproject_content.get("project"): - setup_py.unlink() + if setup_py.exists() and pyproject_toml.exists(): + _LOGGER.info(f"delete {setup_py} since packages now use pyproject.toml") + setup_py.unlink() call_build_config(package_name, str(package_path.parent)) else: diff --git a/eng/tools/azure-sdk-tools/packaging_tools/templates/packaging_files/pyproject.toml b/eng/tools/azure-sdk-tools/packaging_tools/templates/packaging_files/pyproject.toml new file mode 100644 index 000000000000..0bdf3e6da9c8 --- /dev/null +++ b/eng/tools/azure-sdk-tools/packaging_tools/templates/packaging_files/pyproject.toml @@ -0,0 +1,70 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "{{package_name}}" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure {{package_pprint_name}} Client Library for Python" +license = "MIT" +classifiers = [ + "{{classifier}}", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = ["azure", "azure sdk"] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + {%- if need_msrestazure %} + "msrestazure>=0.4.32", + {%- endif %} + "azure-common>=1.1", + {%- if need_azurecore %} + "azure-core>=1.35.0", + {%- endif %} + {%- if need_azuremgmtcore %} + "azure-mgmt-core>=1.6.0", + {%- endif %} +] +dynamic = ["version", "readme"] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + +[tool.setuptools.dynamic.version] +attr = "{{package_name | replace('-', '.')}}._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = ["README.md", "CHANGELOG.md"] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests*", + "generated_tests*", + "samples*", + "generated_samples*", + "doc*", + {%- for nspkg_name in nspkg_names %} + "{{ nspkg_name }}", + {%- endfor %} + {%- for folder in exclude_folders %} + "{{ folder }}", + {%- endfor %} +] + +[tool.setuptools.package-data] +pytyped = ["py.typed"] diff --git a/sdk/advisor/azure-mgmt-advisor/pyproject.toml b/sdk/advisor/azure-mgmt-advisor/pyproject.toml index 540da07d41af..8a8aefa40015 100644 --- a/sdk/advisor/azure-mgmt-advisor/pyproject.toml +++ b/sdk/advisor/azure-mgmt-advisor/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-advisor" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Advisor Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.advisor._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-advisor" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Advisor" +package_doc_id = "advisor" +is_stable = true +is_arm = true +sample_link = "" +title = "AdvisorManagementClient" diff --git a/sdk/advisor/azure-mgmt-advisor/sdk_packaging.toml b/sdk/advisor/azure-mgmt-advisor/sdk_packaging.toml deleted file mode 100644 index aaf516b84881..000000000000 --- a/sdk/advisor/azure-mgmt-advisor/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-advisor" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Advisor" -package_doc_id = "advisor" -is_stable = true -is_arm = true -sample_link = "" -title = "AdvisorManagementClient" diff --git a/sdk/advisor/azure-mgmt-advisor/setup.py b/sdk/advisor/azure-mgmt-advisor/setup.py deleted file mode 100644 index 0dcd483c20fc..000000000000 --- a/sdk/advisor/azure-mgmt-advisor/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-advisor" -PACKAGE_PPRINT_NAME = "Advisor" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/agrifood/azure-agrifood-farming/pyproject.toml b/sdk/agrifood/azure-agrifood-farming/pyproject.toml index 1ea1e48c18ff..59b9da4084d4 100644 --- a/sdk/agrifood/azure-agrifood-farming/pyproject.toml +++ b/sdk/agrifood/azure-agrifood-farming/pyproject.toml @@ -1,3 +1,74 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-agrifood-farming" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure AgriFood Farming Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.24.0", + "msrest>=0.6.21", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false ci_enabled = false + +[tool.setuptools.dynamic.version] +attr = "azure.agrifood.farming._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.agrifood", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-agrifood-farming" +package_pprint_name = "Azure AgriFood Farming" +is_stable = false +is_arm = false diff --git a/sdk/agrifood/azure-agrifood-farming/sdk_packaging.toml b/sdk/agrifood/azure-agrifood-farming/sdk_packaging.toml deleted file mode 100644 index 52d8e3403952..000000000000 --- a/sdk/agrifood/azure-agrifood-farming/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-agrifood-Farming" -package_pprint_name = "Azure AgriFood Farming" -is_stable = false -is_arm = false - -# Package owners should uncomment and set this doc id. -# package_doc_id = "agrifood-farming" \ No newline at end of file diff --git a/sdk/agrifood/azure-agrifood-farming/setup.py b/sdk/agrifood/azure-agrifood-farming/setup.py deleted file mode 100644 index 312c6ce85644..000000000000 --- a/sdk/agrifood/azure-agrifood-farming/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-agrifood-farming" -PACKAGE_PPRINT_NAME = "Azure AgriFood Farming" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.agrifood', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - python_requires=">=3.6", - install_requires=[ - "azure-core<2.0.0,>=1.24.0", - "msrest>=0.6.21", - ], -) diff --git a/sdk/agrifood/azure-mgmt-agrifood/pyproject.toml b/sdk/agrifood/azure-mgmt-agrifood/pyproject.toml index 540da07d41af..d6f7d0263782 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/pyproject.toml +++ b/sdk/agrifood/azure-mgmt-agrifood/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-agrifood" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Agrifood Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.agrifood._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-agrifood" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Agrifood Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "AgriFoodMgmtClient" diff --git a/sdk/agrifood/azure-mgmt-agrifood/sdk_packaging.toml b/sdk/agrifood/azure-mgmt-agrifood/sdk_packaging.toml deleted file mode 100644 index 69484b27f267..000000000000 --- a/sdk/agrifood/azure-mgmt-agrifood/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-agrifood" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Agrifood Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "AgriFoodMgmtClient" \ No newline at end of file diff --git a/sdk/agrifood/azure-mgmt-agrifood/setup.py b/sdk/agrifood/azure-mgmt-agrifood/setup.py deleted file mode 100644 index 6e2e8f759225..000000000000 --- a/sdk/agrifood/azure-mgmt-agrifood/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-agrifood" -PACKAGE_PPRINT_NAME = "Agrifood Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/ai/azure-ai-agents/pyproject.toml b/sdk/ai/azure-ai-agents/pyproject.toml index 062a6418ec7b..5f2bf92d2d9d 100644 --- a/sdk/ai/azure-ai-agents/pyproject.toml +++ b/sdk/ai/azure-ai-agents/pyproject.toml @@ -1,7 +1,48 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-agents" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Azure AI Agents Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.mypy] python_version = "3.10" -exclude = [ -] +exclude = [] warn_unused_configs = true ignore_missing_imports = true follow_imports_for_stubs = false @@ -9,18 +50,50 @@ follow_imports_for_stubs = false [tool.isort] profile = "black" line_length = 120 -known_first_party = ["azure"] -filter_files=true +known_first_party = [ + "azure", +] +filter_files = true extend_skip_glob = [ - "*/_vendor/*", - "*/_generated/*", - "*/_restclient/*", - "*/doc/*", - "*/.tox/*", + "*/_vendor/*", + "*/_generated/*", + "*/_restclient/*", + "*/doc/*", + "*/.tox/*", ] [tool.azure-sdk-build] -whl_no_aio= false +whl_no_aio = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.ai.agents._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "samples", + "samples.utils", + "samples.agents_tools", + "samples.agents_async", + "samples.agents_multiagent", + "samples.agents_streaming", + "samples.agents_telemetry", + "samples.assets", + "samples.agents_async.utils", + "tests", + "azure", + "azure.ai", +] + +[tool.setuptools.package-data] +"azure.ai.agents" = [ + "py.typed", +] diff --git a/sdk/ai/azure-ai-agents/setup.py b/sdk/ai/azure-ai-agents/setup.py deleted file mode 100644 index 372a1c431d12..000000000000 --- a/sdk/ai/azure-ai-agents/setup.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-ai-agents" -PACKAGE_PPRINT_NAME = "Azure AI Agents" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "samples", - "samples.utils", - "samples.agents_tools", - "samples.agents_async", - "samples.agents_multiagent", - "samples.agents_streaming", - "samples.agents_telemetry", - "samples.agents_tools", - "samples.assets", - "samples.agents_async.utils", - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.ai", - ] - ), - include_package_data=True, - package_data={ - "azure.ai.agents": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/ai/azure-ai-inference/pyproject.toml b/sdk/ai/azure-ai-inference/pyproject.toml new file mode 100644 index 000000000000..c6b9618badd9 --- /dev/null +++ b/sdk/ai/azure-ai-inference/pyproject.toml @@ -0,0 +1,71 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-inference" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure AI Inference Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +opentelemetry = [ + "azure-core-tracing-opentelemetry", +] +prompts = [ + "pyyaml", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/ai/azure-ai-inference" + +[tool.setuptools.dynamic.version] +attr = "azure.ai.inference._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", +] + +[tool.setuptools.package-data] +"azure.ai.inference" = [ + "py.typed", +] diff --git a/sdk/ai/azure-ai-inference/setup.py b/sdk/ai/azure-ai-inference/setup.py deleted file mode 100644 index ce5768873831..000000000000 --- a/sdk/ai/azure-ai-inference/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-ai-inference" -PACKAGE_PPRINT_NAME = "Azure AI Inference" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/ai/azure-ai-inference", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 7 - Inactive", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.ai", - ] - ), - include_package_data=True, - package_data={ - "azure.ai.inference": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.8", - extras_require={ - "opentelemetry": ["azure-core-tracing-opentelemetry"], - "prompts": ["pyyaml"], - }, -) diff --git a/sdk/aks/azure-mgmt-devspaces/pyproject.toml b/sdk/aks/azure-mgmt-devspaces/pyproject.toml index 540da07d41af..cc980a52b049 100644 --- a/sdk/aks/azure-mgmt-devspaces/pyproject.toml +++ b/sdk/aks/azure-mgmt-devspaces/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-devspaces" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Devspaces Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.devspaces._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-devspaces" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Devspaces Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "DevSpacesManagementClient" diff --git a/sdk/aks/azure-mgmt-devspaces/sdk_packaging.toml b/sdk/aks/azure-mgmt-devspaces/sdk_packaging.toml deleted file mode 100644 index 18fd62717378..000000000000 --- a/sdk/aks/azure-mgmt-devspaces/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-devspaces" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Devspaces Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "DevSpacesManagementClient" diff --git a/sdk/aks/azure-mgmt-devspaces/setup.py b/sdk/aks/azure-mgmt-devspaces/setup.py deleted file mode 100644 index c7461d1e97ac..000000000000 --- a/sdk/aks/azure-mgmt-devspaces/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-devspaces" -PACKAGE_PPRINT_NAME = "Devspaces Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/pyproject.toml b/sdk/alertsmanagement/azure-mgmt-alertsmanagement/pyproject.toml index 540da07d41af..df9e7ed730cc 100644 --- a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/pyproject.toml +++ b/sdk/alertsmanagement/azure-mgmt-alertsmanagement/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-alertsmanagement" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Alerts Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.alertsmanagement._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-alertsmanagement" +package_pprint_name = "Alerts Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "AlertsManagementClient" diff --git a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/sdk_packaging.toml b/sdk/alertsmanagement/azure-mgmt-alertsmanagement/sdk_packaging.toml deleted file mode 100644 index 4c812acecac4..000000000000 --- a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-alertsmanagement" -package_pprint_name = "Alerts Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "AlertsManagementClient" \ No newline at end of file diff --git a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/setup.py b/sdk/alertsmanagement/azure-mgmt-alertsmanagement/setup.py deleted file mode 100644 index 5d5ea95810ad..000000000000 --- a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-alertsmanagement" -PACKAGE_PPRINT_NAME = "Alerts Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/anomalydetector/azure-ai-anomalydetector/pyproject.toml b/sdk/anomalydetector/azure-ai-anomalydetector/pyproject.toml index a3a58bd09030..578488bf77cd 100644 --- a/sdk/anomalydetector/azure-ai-anomalydetector/pyproject.toml +++ b/sdk/anomalydetector/azure-ai-anomalydetector/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-anomalydetector" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Cognitive Services Anomaly Detector Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-core<2.0.0,>=1.24.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pylint = false pyright = false type_check_samples = false verifytypes = false ci_enabled = false + +[tool.setuptools.dynamic.version] +attr = "azure.ai.anomalydetector._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-ai-anomalydetector" +package_nspkg = "azure-ai-nspkg" +package_pprint_name = "Cognitive Services Anomaly Detector" +package_doc_id = "cognitive-services" +is_stable = false +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/anomalydetector/azure-ai-anomalydetector/sdk_packaging.toml b/sdk/anomalydetector/azure-ai-anomalydetector/sdk_packaging.toml deleted file mode 100644 index 76d3e53f4bed..000000000000 --- a/sdk/anomalydetector/azure-ai-anomalydetector/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-ai-anomalydetector" -package_nspkg = "azure-ai-nspkg" -package_pprint_name = "Cognitive Services Anomaly Detector" -package_doc_id = "cognitive-services" -is_stable = false -is_arm = false -need_msrestazure = false -auto_update = false diff --git a/sdk/anomalydetector/azure-ai-anomalydetector/setup.py b/sdk/anomalydetector/azure-ai-anomalydetector/setup.py deleted file mode 100644 index db2dd994336f..000000000000 --- a/sdk/anomalydetector/azure-ai-anomalydetector/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-ai-anomalydetector" -PACKAGE_PPRINT_NAME = "Cognitive Services Anomaly Detector" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Cognitive Services Anomaly Detector Client Library for Python", - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 7 - Inactive", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.ai", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.24.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/apicenter/azure-mgmt-apicenter/pyproject.toml b/sdk/apicenter/azure-mgmt-apicenter/pyproject.toml index 540da07d41af..d9bb67e95cd6 100644 --- a/sdk/apicenter/azure-mgmt-apicenter/pyproject.toml +++ b/sdk/apicenter/azure-mgmt-apicenter/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-apicenter" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Apicenter Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.apicenter._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-apicenter" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Apicenter Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "ApiCenterMgmtClient" diff --git a/sdk/apicenter/azure-mgmt-apicenter/sdk_packaging.toml b/sdk/apicenter/azure-mgmt-apicenter/sdk_packaging.toml deleted file mode 100644 index 40524db2fa45..000000000000 --- a/sdk/apicenter/azure-mgmt-apicenter/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-apicenter" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Apicenter Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "ApiCenterMgmtClient" diff --git a/sdk/apicenter/azure-mgmt-apicenter/setup.py b/sdk/apicenter/azure-mgmt-apicenter/setup.py deleted file mode 100644 index 67dfd68e990c..000000000000 --- a/sdk/apicenter/azure-mgmt-apicenter/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-apicenter" -PACKAGE_PPRINT_NAME = "Apicenter Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/pyproject.toml b/sdk/apimanagement/azure-mgmt-apimanagement/pyproject.toml index 540da07d41af..8f228af30df4 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/pyproject.toml +++ b/sdk/apimanagement/azure-mgmt-apimanagement/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-apimanagement" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure API Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.apimanagement._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-apimanagement" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "API Management" +package_doc_id = "" +is_stable = true +is_arm = true +sample_link = "" +title = "ApiManagementClient" diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/sdk_packaging.toml b/sdk/apimanagement/azure-mgmt-apimanagement/sdk_packaging.toml deleted file mode 100644 index 6cecfcf96902..000000000000 --- a/sdk/apimanagement/azure-mgmt-apimanagement/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-apimanagement" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "API Management" -package_doc_id = "" -is_stable = true -is_arm = true -sample_link = "" -title = "ApiManagementClient" diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/setup.py b/sdk/apimanagement/azure-mgmt-apimanagement/setup.py deleted file mode 100644 index 6e06a94738de..000000000000 --- a/sdk/apimanagement/azure-mgmt-apimanagement/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-apimanagement" -PACKAGE_PPRINT_NAME = "API Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/app/azure-mgmt-app/pyproject.toml b/sdk/app/azure-mgmt-app/pyproject.toml index 540da07d41af..9316d0766000 100644 --- a/sdk/app/azure-mgmt-app/pyproject.toml +++ b/sdk/app/azure-mgmt-app/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-app" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure App Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.app._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-app" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "App Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "ContainerAppsAPIClient" +auto_update = false diff --git a/sdk/app/azure-mgmt-app/sdk_packaging.toml b/sdk/app/azure-mgmt-app/sdk_packaging.toml deleted file mode 100644 index 98d0181349c8..000000000000 --- a/sdk/app/azure-mgmt-app/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-app" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "App Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "ContainerAppsAPIClient" -auto_update = false diff --git a/sdk/app/azure-mgmt-app/setup.py b/sdk/app/azure-mgmt-app/setup.py deleted file mode 100644 index 223689e1963c..000000000000 --- a/sdk/app/azure-mgmt-app/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-app" -PACKAGE_PPRINT_NAME = "App Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/appcomplianceautomation/azure-mgmt-appcomplianceautomation/pyproject.toml b/sdk/appcomplianceautomation/azure-mgmt-appcomplianceautomation/pyproject.toml index 540da07d41af..cfa58f88004e 100644 --- a/sdk/appcomplianceautomation/azure-mgmt-appcomplianceautomation/pyproject.toml +++ b/sdk/appcomplianceautomation/azure-mgmt-appcomplianceautomation/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-appcomplianceautomation" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Appcomplianceautomation Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.appcomplianceautomation._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-appcomplianceautomation" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Appcomplianceautomation Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "AppComplianceAutomationMgmtClient" diff --git a/sdk/appcomplianceautomation/azure-mgmt-appcomplianceautomation/sdk_packaging.toml b/sdk/appcomplianceautomation/azure-mgmt-appcomplianceautomation/sdk_packaging.toml deleted file mode 100644 index 79d120c54d7c..000000000000 --- a/sdk/appcomplianceautomation/azure-mgmt-appcomplianceautomation/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-appcomplianceautomation" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Appcomplianceautomation Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "AppComplianceAutomationMgmtClient" diff --git a/sdk/appcomplianceautomation/azure-mgmt-appcomplianceautomation/setup.py b/sdk/appcomplianceautomation/azure-mgmt-appcomplianceautomation/setup.py deleted file mode 100644 index 4cb815f9aa9a..000000000000 --- a/sdk/appcomplianceautomation/azure-mgmt-appcomplianceautomation/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-appcomplianceautomation" -PACKAGE_PPRINT_NAME = "Appcomplianceautomation Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/appconfiguration/azure-appconfiguration-provider/pyproject.toml b/sdk/appconfiguration/azure-appconfiguration-provider/pyproject.toml index e9b975a7d2b3..d4260d088423 100644 --- a/sdk/appconfiguration/azure-appconfiguration-provider/pyproject.toml +++ b/sdk/appconfiguration/azure-appconfiguration-provider/pyproject.toml @@ -1,6 +1,70 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-appconfiguration-provider" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft App Configuration Provider Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.30.0", + "azure-appconfiguration>=1.6.1", + "azure-keyvault-secrets>=4.3.0", + "dnspython>=2.6.1", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration-provider" + [tool.azure-sdk-build] pyright = false black = true [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.appconfiguration.provider._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[packaging] +package_name = "azure-appconfiguration-provider" +package_nspkg = "azure-data-nspkg" +package_pprint_name = "App Configuration Provider" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/appconfiguration/azure-appconfiguration-provider/sdk_packaging.toml b/sdk/appconfiguration/azure-appconfiguration-provider/sdk_packaging.toml deleted file mode 100644 index dc5c4e6191b8..000000000000 --- a/sdk/appconfiguration/azure-appconfiguration-provider/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-appconfiguration-provider" -package_nspkg = "azure-data-nspkg" -package_pprint_name = "App Configuration Provider" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -auto_update = false diff --git a/sdk/appconfiguration/azure-appconfiguration-provider/setup.py b/sdk/appconfiguration/azure-appconfiguration-provider/setup.py deleted file mode 100644 index 53e11fe5b3e5..000000000000 --- a/sdk/appconfiguration/azure-appconfiguration-provider/setup.py +++ /dev/null @@ -1,80 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import sys -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-appconfiguration-provider" -PACKAGE_PPRINT_NAME = "App Configuration Provider" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -exclude_packages = [ - "tests", - "tests.*", - "samples", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.appconfiguration", -] -if sys.version_info < (3, 5, 3): - exclude_packages.extend(["*.aio", "*.aio.*"]) - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description="Microsoft {} Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration-provider", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages(exclude=exclude_packages), - python_requires=">=3.6", - install_requires=[ - "azure-core>=1.30.0", - "azure-appconfiguration>=1.6.1", - "azure-keyvault-secrets>=4.3.0", - "dnspython>=2.6.1", - ], -) diff --git a/sdk/appconfiguration/azure-appconfiguration/pyproject.toml b/sdk/appconfiguration/azure-appconfiguration/pyproject.toml index e9b975a7d2b3..12d031985cb0 100644 --- a/sdk/appconfiguration/azure-appconfiguration/pyproject.toml +++ b/sdk/appconfiguration/azure-appconfiguration/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-appconfiguration" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft App Configuration Data Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration" + [tool.azure-sdk-build] pyright = false black = true [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.appconfiguration._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", +] + +[tool.setuptools.package-data] +"azure.appconfiguration" = [ + "py.typed", +] + +[packaging] +package_name = "azure-data-appconfiguration" +package_nspkg = "azure-data-nspkg" +package_pprint_name = "App Configuration Data" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/appconfiguration/azure-appconfiguration/sdk_packaging.toml b/sdk/appconfiguration/azure-appconfiguration/sdk_packaging.toml deleted file mode 100644 index d40289d44b2b..000000000000 --- a/sdk/appconfiguration/azure-appconfiguration/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-data-appconfiguration" -package_nspkg = "azure-data-nspkg" -package_pprint_name = "App Configuration Data" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -auto_update = false diff --git a/sdk/appconfiguration/azure-appconfiguration/setup.py b/sdk/appconfiguration/azure-appconfiguration/setup.py deleted file mode 100644 index 4ad4795294bf..000000000000 --- a/sdk/appconfiguration/azure-appconfiguration/setup.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-appconfiguration" -PACKAGE_PPRINT_NAME = "App Configuration Data" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - ] - ), - include_package_data=True, - package_data={ - "azure.appconfiguration": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/applicationinsights/azure-mgmt-applicationinsights/pyproject.toml b/sdk/applicationinsights/azure-mgmt-applicationinsights/pyproject.toml index 540da07d41af..4714fa114a04 100644 --- a/sdk/applicationinsights/azure-mgmt-applicationinsights/pyproject.toml +++ b/sdk/applicationinsights/azure-mgmt-applicationinsights/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-applicationinsights" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Application Insights Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.applicationinsights._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-applicationinsights" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Application Insights Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "ApplicationInsightsManagementClient" diff --git a/sdk/applicationinsights/azure-mgmt-applicationinsights/sdk_packaging.toml b/sdk/applicationinsights/azure-mgmt-applicationinsights/sdk_packaging.toml deleted file mode 100644 index 6058449a38ab..000000000000 --- a/sdk/applicationinsights/azure-mgmt-applicationinsights/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-applicationinsights" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Application Insights Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "ApplicationInsightsManagementClient" diff --git a/sdk/applicationinsights/azure-mgmt-applicationinsights/setup.py b/sdk/applicationinsights/azure-mgmt-applicationinsights/setup.py deleted file mode 100644 index 32340362cebd..000000000000 --- a/sdk/applicationinsights/azure-mgmt-applicationinsights/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-applicationinsights" -PACKAGE_PPRINT_NAME = "Application Insights Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/appplatform/azure-mgmt-appplatform/pyproject.toml b/sdk/appplatform/azure-mgmt-appplatform/pyproject.toml index 540da07d41af..1437514e82d4 100644 --- a/sdk/appplatform/azure-mgmt-appplatform/pyproject.toml +++ b/sdk/appplatform/azure-mgmt-appplatform/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-appplatform" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure App Platform Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.appplatform._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-appplatform" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "App Platform Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "AppPlatformManagementClient" +auto_update = false diff --git a/sdk/appplatform/azure-mgmt-appplatform/sdk_packaging.toml b/sdk/appplatform/azure-mgmt-appplatform/sdk_packaging.toml deleted file mode 100644 index c6d21c2e0a13..000000000000 --- a/sdk/appplatform/azure-mgmt-appplatform/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-appplatform" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "App Platform Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "AppPlatformManagementClient" -auto_update = false diff --git a/sdk/appplatform/azure-mgmt-appplatform/setup.py b/sdk/appplatform/azure-mgmt-appplatform/setup.py deleted file mode 100644 index d81e0a4f63e9..000000000000 --- a/sdk/appplatform/azure-mgmt-appplatform/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-appplatform" -PACKAGE_PPRINT_NAME = "App Platform Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 7 - Inactive", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/arizeaiobservabilityeval/azure-mgmt-arizeaiobservabilityeval/pyproject.toml b/sdk/arizeaiobservabilityeval/azure-mgmt-arizeaiobservabilityeval/pyproject.toml index 42a7f73e0386..811d7b668cb7 100644 --- a/sdk/arizeaiobservabilityeval/azure-mgmt-arizeaiobservabilityeval/pyproject.toml +++ b/sdk/arizeaiobservabilityeval/azure-mgmt-arizeaiobservabilityeval/pyproject.toml @@ -1,2 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-arizeaiobservabilityeval" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Arizeaiobservabilityeval Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.arizeaiobservabilityeval._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-arizeaiobservabilityeval" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Arizeaiobservabilityeval Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "ArizeAIObservabilityEvalMgmtClient" diff --git a/sdk/arizeaiobservabilityeval/azure-mgmt-arizeaiobservabilityeval/sdk_packaging.toml b/sdk/arizeaiobservabilityeval/azure-mgmt-arizeaiobservabilityeval/sdk_packaging.toml deleted file mode 100644 index b1ad2bde58d7..000000000000 --- a/sdk/arizeaiobservabilityeval/azure-mgmt-arizeaiobservabilityeval/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-arizeaiobservabilityeval" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Arizeaiobservabilityeval Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "ArizeAIObservabilityEvalMgmtClient" diff --git a/sdk/arizeaiobservabilityeval/azure-mgmt-arizeaiobservabilityeval/setup.py b/sdk/arizeaiobservabilityeval/azure-mgmt-arizeaiobservabilityeval/setup.py deleted file mode 100644 index 6c62a51ed2e0..000000000000 --- a/sdk/arizeaiobservabilityeval/azure-mgmt-arizeaiobservabilityeval/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-arizeaiobservabilityeval" -PACKAGE_PPRINT_NAME = "Arizeaiobservabilityeval Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/astro/azure-mgmt-astro/pyproject.toml b/sdk/astro/azure-mgmt-astro/pyproject.toml index 540da07d41af..b0f9713faf92 100644 --- a/sdk/astro/azure-mgmt-astro/pyproject.toml +++ b/sdk/astro/azure-mgmt-astro/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-astro" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Astro Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.astro._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-astro" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Astro Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "AstroMgmtClient" diff --git a/sdk/astro/azure-mgmt-astro/sdk_packaging.toml b/sdk/astro/azure-mgmt-astro/sdk_packaging.toml deleted file mode 100644 index 5e18a4fe84e2..000000000000 --- a/sdk/astro/azure-mgmt-astro/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-astro" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Astro Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "AstroMgmtClient" diff --git a/sdk/astro/azure-mgmt-astro/setup.py b/sdk/astro/azure-mgmt-astro/setup.py deleted file mode 100644 index bf27dbd806c2..000000000000 --- a/sdk/astro/azure-mgmt-astro/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-astro" -PACKAGE_PPRINT_NAME = "Astro Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/attestation/azure-mgmt-attestation/pyproject.toml b/sdk/attestation/azure-mgmt-attestation/pyproject.toml index 540da07d41af..7aaea2897e5a 100644 --- a/sdk/attestation/azure-mgmt-attestation/pyproject.toml +++ b/sdk/attestation/azure-mgmt-attestation/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-attestation" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Attestation Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.attestation._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-attestation" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Attestation Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "AttestationManagementClient" diff --git a/sdk/attestation/azure-mgmt-attestation/sdk_packaging.toml b/sdk/attestation/azure-mgmt-attestation/sdk_packaging.toml deleted file mode 100644 index cee6c8748f46..000000000000 --- a/sdk/attestation/azure-mgmt-attestation/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-attestation" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Attestation Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "AttestationManagementClient" diff --git a/sdk/attestation/azure-mgmt-attestation/setup.py b/sdk/attestation/azure-mgmt-attestation/setup.py deleted file mode 100644 index ea47ed06f07e..000000000000 --- a/sdk/attestation/azure-mgmt-attestation/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-attestation" -PACKAGE_PPRINT_NAME = "Attestation Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/attestation/azure-security-attestation/pyproject.toml b/sdk/attestation/azure-security-attestation/pyproject.toml index 20eb14b3b63c..42ec33cce48b 100644 --- a/sdk/attestation/azure-security-attestation/pyproject.toml +++ b/sdk/attestation/azure-security-attestation/pyproject.toml @@ -1,18 +1,14 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-security-attestation" authors = [ - { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Attestation Client Library for Python" license = "MIT" @@ -28,23 +24,32 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" -keywords = ["azure", "azure sdk"] - +keywords = [ + "azure", + "azure sdk", +] dependencies = [ "isodate>=0.6.1", "azure-core>=1.35.0", "typing-extensions>=4.6.0", ] dynamic = [ -"version", "readme" + "version", + "readme", ] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.security.attestation._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.security.attestation._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] exclude = [ @@ -58,7 +63,9 @@ exclude = [ ] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pyright = false @@ -66,3 +73,12 @@ ci_enabled = false [tool.azure-sdk-conda] in_bundle = false + +[packaging] +package_name = "azure-security-attestation" +package_nspkg = "azure-security-nspkg" +package_pprint_name = "Microsoft Azure Attestation Dataplane" +package_doc_id = "" +is_stable = false +is_arm = false +auto_update = false diff --git a/sdk/attestation/azure-security-attestation/sdk_packaging.toml b/sdk/attestation/azure-security-attestation/sdk_packaging.toml deleted file mode 100644 index 5c5fbfe76a70..000000000000 --- a/sdk/attestation/azure-security-attestation/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-security-attestation" -package_nspkg = "azure-security-nspkg" -package_pprint_name = "Microsoft Azure Attestation Dataplane" -package_doc_id = "" -is_stable = false -is_arm = false -auto_update = false diff --git a/sdk/authorization/azure-mgmt-authorization/pyproject.toml b/sdk/authorization/azure-mgmt-authorization/pyproject.toml index 540da07d41af..79fd0599b762 100644 --- a/sdk/authorization/azure-mgmt-authorization/pyproject.toml +++ b/sdk/authorization/azure-mgmt-authorization/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-authorization" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Authorization Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.authorization._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-authorization" +package_pprint_name = "Authorization Management" +package_doc_id = "authorization" +is_stable = false +sample_link = "" +title = "AuthorizationManagementClient" diff --git a/sdk/authorization/azure-mgmt-authorization/sdk_packaging.toml b/sdk/authorization/azure-mgmt-authorization/sdk_packaging.toml deleted file mode 100644 index 56701b014dbe..000000000000 --- a/sdk/authorization/azure-mgmt-authorization/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-authorization" -package_pprint_name = "Authorization Management" -package_doc_id = "authorization" -is_stable = false -sample_link = "" -title = "AuthorizationManagementClient" diff --git a/sdk/authorization/azure-mgmt-authorization/setup.py b/sdk/authorization/azure-mgmt-authorization/setup.py deleted file mode 100644 index a6ceda3fa32a..000000000000 --- a/sdk/authorization/azure-mgmt-authorization/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-authorization" -PACKAGE_PPRINT_NAME = "Authorization Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/automanage/azure-mgmt-automanage/pyproject.toml b/sdk/automanage/azure-mgmt-automanage/pyproject.toml index 540da07d41af..e01e89f5e4b3 100644 --- a/sdk/automanage/azure-mgmt-automanage/pyproject.toml +++ b/sdk/automanage/azure-mgmt-automanage/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-automanage" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Auto Manage Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.automanage._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-automanage" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Auto Manage Management" +package_doc_id = "" +is_stable = false +is_arm = true +sample_link = "" +title = "AutomanageClient" diff --git a/sdk/automanage/azure-mgmt-automanage/sdk_packaging.toml b/sdk/automanage/azure-mgmt-automanage/sdk_packaging.toml deleted file mode 100644 index 03142dc0e800..000000000000 --- a/sdk/automanage/azure-mgmt-automanage/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-automanage" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Auto Manage Management" -package_doc_id = "" -is_stable = false -is_arm = true -sample_link = "" -title = "AutomanageClient" diff --git a/sdk/automanage/azure-mgmt-automanage/setup.py b/sdk/automanage/azure-mgmt-automanage/setup.py deleted file mode 100644 index b63edc186481..000000000000 --- a/sdk/automanage/azure-mgmt-automanage/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-automanage" -PACKAGE_PPRINT_NAME = "Auto Manage Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/automation/azure-mgmt-automation/pyproject.toml b/sdk/automation/azure-mgmt-automation/pyproject.toml index 540da07d41af..6f35d2a9a9ef 100644 --- a/sdk/automation/azure-mgmt-automation/pyproject.toml +++ b/sdk/automation/azure-mgmt-automation/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-automation" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Automation Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.automation._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-automation" +package_pprint_name = "Automation" +package_doc_id = "" +is_stable = false +is_arm = true +title = "AutomationClient" diff --git a/sdk/automation/azure-mgmt-automation/sdk_packaging.toml b/sdk/automation/azure-mgmt-automation/sdk_packaging.toml deleted file mode 100644 index eb8a4d827878..000000000000 --- a/sdk/automation/azure-mgmt-automation/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-automation" -package_pprint_name = "Automation" -package_doc_id = "" -is_stable = false -is_arm = true -title = "AutomationClient" diff --git a/sdk/automation/azure-mgmt-automation/setup.py b/sdk/automation/azure-mgmt-automation/setup.py deleted file mode 100644 index 7a87494ce1bb..000000000000 --- a/sdk/automation/azure-mgmt-automation/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-automation" -PACKAGE_PPRINT_NAME = "Automation" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/azurearcdata/azure-mgmt-azurearcdata/pyproject.toml b/sdk/azurearcdata/azure-mgmt-azurearcdata/pyproject.toml index 540da07d41af..d5e75540e661 100644 --- a/sdk/azurearcdata/azure-mgmt-azurearcdata/pyproject.toml +++ b/sdk/azurearcdata/azure-mgmt-azurearcdata/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-azurearcdata" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Azure Arc Data Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.azurearcdata._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-azurearcdata" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Azure Arc Data Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "AzureArcDataManagementClient" diff --git a/sdk/azurearcdata/azure-mgmt-azurearcdata/sdk_packaging.toml b/sdk/azurearcdata/azure-mgmt-azurearcdata/sdk_packaging.toml deleted file mode 100644 index 30e32f78fcce..000000000000 --- a/sdk/azurearcdata/azure-mgmt-azurearcdata/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-azurearcdata" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Azure Arc Data Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "AzureArcDataManagementClient" diff --git a/sdk/azurearcdata/azure-mgmt-azurearcdata/setup.py b/sdk/azurearcdata/azure-mgmt-azurearcdata/setup.py deleted file mode 100644 index c2f506547f1e..000000000000 --- a/sdk/azurearcdata/azure-mgmt-azurearcdata/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-azurearcdata" -PACKAGE_PPRINT_NAME = "Azure Arc Data Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/azurestack/azure-mgmt-azurestack/pyproject.toml b/sdk/azurestack/azure-mgmt-azurestack/pyproject.toml index 540da07d41af..5bcaf795b22e 100644 --- a/sdk/azurestack/azure-mgmt-azurestack/pyproject.toml +++ b/sdk/azurestack/azure-mgmt-azurestack/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-azurestack" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Azure Stack Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.azurestack._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-azurestack" +package_pprint_name = "Azure Stack Management" +package_doc_id = "" +is_stable = false +title = "AzureStackManagementClient" diff --git a/sdk/azurestack/azure-mgmt-azurestack/sdk_packaging.toml b/sdk/azurestack/azure-mgmt-azurestack/sdk_packaging.toml deleted file mode 100644 index 900d3a9dbfa5..000000000000 --- a/sdk/azurestack/azure-mgmt-azurestack/sdk_packaging.toml +++ /dev/null @@ -1,6 +0,0 @@ -[packaging] -package_name = "azure-mgmt-azurestack" -package_pprint_name = "Azure Stack Management" -package_doc_id = "" -is_stable = false -title = "AzureStackManagementClient" diff --git a/sdk/azurestack/azure-mgmt-azurestack/setup.py b/sdk/azurestack/azure-mgmt-azurestack/setup.py deleted file mode 100644 index 9ba62ffa91d9..000000000000 --- a/sdk/azurestack/azure-mgmt-azurestack/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-azurestack" -PACKAGE_PPRINT_NAME = "Azure Stack Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/pyproject.toml b/sdk/azurestackhci/azure-mgmt-azurestackhci/pyproject.toml index 540da07d41af..dc858cd43268 100644 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/pyproject.toml +++ b/sdk/azurestackhci/azure-mgmt-azurestackhci/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-azurestackhci" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Azure Stack HCI Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.azurestackhci._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-azurestackhci" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Azure Stack HCI Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "AzureStackHCIClient" diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/sdk_packaging.toml b/sdk/azurestackhci/azure-mgmt-azurestackhci/sdk_packaging.toml deleted file mode 100644 index 7d20975b1aea..000000000000 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-azurestackhci" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Azure Stack HCI Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "AzureStackHCIClient" diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py b/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py deleted file mode 100644 index 17bb6ae831b0..000000000000 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-azurestackhci" -PACKAGE_PPRINT_NAME = "Azure Stack HCI Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhcivm/pyproject.toml b/sdk/azurestackhci/azure-mgmt-azurestackhcivm/pyproject.toml index 887fa645a731..320d31f4a333 100644 --- a/sdk/azurestackhci/azure-mgmt-azurestackhcivm/pyproject.toml +++ b/sdk/azurestackhci/azure-mgmt-azurestackhcivm/pyproject.toml @@ -1,3 +1,74 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-azurestackhcivm" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Azurestackhcivm Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + +[tool.azure-sdk-build] +breaking = false +pyright = false +mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.azurestackhcivm._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + [packaging] package_name = "azure-mgmt-azurestackhcivm" package_nspkg = "azure-mgmt-nspkg" @@ -10,8 +81,3 @@ need_azuremgmtcore = true sample_link = "" exclude_folders = "" title = "AzureStackHCIVmClient" - -[tool.azure-sdk-build] -breaking = false -pyright = false -mypy = false diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhcivm/setup.py b/sdk/azurestackhci/azure-mgmt-azurestackhcivm/setup.py deleted file mode 100644 index 2c02cf3b28e5..000000000000 --- a/sdk/azurestackhci/azure-mgmt-azurestackhcivm/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-azurestackhcivm" -PACKAGE_PPRINT_NAME = "Azurestackhcivm Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/pyproject.toml b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/pyproject.toml index 540da07d41af..f50f3295db5c 100644 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/pyproject.toml +++ b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-baremetalinfrastructure" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Bare Metal Infrastructure Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.baremetalinfrastructure._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-baremetalinfrastructure" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Bare Metal Infrastructure Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "BareMetalInfrastructureClient" diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/sdk_packaging.toml b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/sdk_packaging.toml deleted file mode 100644 index a0cd8be82157..000000000000 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-baremetalinfrastructure" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Bare Metal Infrastructure Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "BareMetalInfrastructureClient" diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py deleted file mode 100644 index 998aba60aff4..000000000000 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-baremetalinfrastructure" -PACKAGE_PPRINT_NAME = "Bare Metal Infrastructure Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/batch/azure-batch/pyproject.toml b/sdk/batch/azure-batch/pyproject.toml index 1444efcc0a69..79b3b7d2e12c 100644 --- a/sdk/batch/azure-batch/pyproject.toml +++ b/sdk/batch/azure-batch/pyproject.toml @@ -1,18 +1,14 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-batch" authors = [ - { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Batch Client Library for Python" license = "MIT" @@ -28,23 +24,32 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" -keywords = ["azure", "azure sdk"] - +keywords = [ + "azure", + "azure sdk", +] dependencies = [ "isodate>=0.6.1", "azure-core>=1.37.0", "typing-extensions>=4.6.0", ] dynamic = [ -"version", "readme" + "version", + "readme", ] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.batch._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.batch._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] exclude = [ @@ -57,7 +62,9 @@ exclude = [ ] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pylint = true @@ -67,3 +74,12 @@ verifytypes = true ci_enabled = true sphinx = true whl_no_aio = false + +[packaging] +package_name = "azure-batch" +package_nspkg = "azure-nspkg" +package_pprint_name = "Batch" +package_doc_id = "batch" +is_stable = true +is_arm = false +auto_update = false diff --git a/sdk/batch/azure-batch/sdk_packaging.toml b/sdk/batch/azure-batch/sdk_packaging.toml deleted file mode 100644 index 5f5fa94fc1bd..000000000000 --- a/sdk/batch/azure-batch/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-batch" -package_nspkg = "azure-nspkg" -package_pprint_name = "Batch" -package_doc_id = "batch" -is_stable = true -is_arm = false -auto_update = false \ No newline at end of file diff --git a/sdk/batch/azure-mgmt-batch/pyproject.toml b/sdk/batch/azure-mgmt-batch/pyproject.toml index 540da07d41af..4915671d7b0b 100644 --- a/sdk/batch/azure-mgmt-batch/pyproject.toml +++ b/sdk/batch/azure-mgmt-batch/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-batch" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Batch Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.batch._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-batch" +package_pprint_name = "Batch Management" +package_doc_id = "batch" +is_stable = true +sample_link = "" +title = "BatchManagementClient" +auto_update = false diff --git a/sdk/batch/azure-mgmt-batch/sdk_packaging.toml b/sdk/batch/azure-mgmt-batch/sdk_packaging.toml deleted file mode 100644 index 11488f70d2d3..000000000000 --- a/sdk/batch/azure-mgmt-batch/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-batch" -package_pprint_name = "Batch Management" -package_doc_id = "batch" -is_stable = true -sample_link = "" -title = "BatchManagementClient" -auto_update = false diff --git a/sdk/batch/azure-mgmt-batch/setup.py b/sdk/batch/azure-mgmt-batch/setup.py deleted file mode 100644 index ce3194640515..000000000000 --- a/sdk/batch/azure-mgmt-batch/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-batch" -PACKAGE_PPRINT_NAME = "Batch Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/billing/azure-mgmt-billing/pyproject.toml b/sdk/billing/azure-mgmt-billing/pyproject.toml index 540da07d41af..60ba7b9447a3 100644 --- a/sdk/billing/azure-mgmt-billing/pyproject.toml +++ b/sdk/billing/azure-mgmt-billing/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-billing" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Billing Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.billing._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-billing" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Billing" +package_doc_id = "billing" +is_stable = true +is_arm = true +title = "BillingManagementClient" diff --git a/sdk/billing/azure-mgmt-billing/sdk_packaging.toml b/sdk/billing/azure-mgmt-billing/sdk_packaging.toml deleted file mode 100644 index 3a36172e2970..000000000000 --- a/sdk/billing/azure-mgmt-billing/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-billing" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Billing" -package_doc_id = "billing" -is_stable = true -is_arm = true -title = "BillingManagementClient" diff --git a/sdk/billing/azure-mgmt-billing/setup.py b/sdk/billing/azure-mgmt-billing/setup.py deleted file mode 100644 index 97d9a82134ff..000000000000 --- a/sdk/billing/azure-mgmt-billing/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-billing" -PACKAGE_PPRINT_NAME = "Billing" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/billingbenefits/azure-mgmt-billingbenefits/pyproject.toml b/sdk/billingbenefits/azure-mgmt-billingbenefits/pyproject.toml index 540da07d41af..59e838bdbdb0 100644 --- a/sdk/billingbenefits/azure-mgmt-billingbenefits/pyproject.toml +++ b/sdk/billingbenefits/azure-mgmt-billingbenefits/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-billingbenefits" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Billingbenefits Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.billingbenefits._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-billingbenefits" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Billingbenefits Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "BillingBenefitsRP" diff --git a/sdk/billingbenefits/azure-mgmt-billingbenefits/sdk_packaging.toml b/sdk/billingbenefits/azure-mgmt-billingbenefits/sdk_packaging.toml deleted file mode 100644 index 4d9451f5e217..000000000000 --- a/sdk/billingbenefits/azure-mgmt-billingbenefits/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-billingbenefits" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Billingbenefits Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "BillingBenefitsRP" diff --git a/sdk/billingbenefits/azure-mgmt-billingbenefits/setup.py b/sdk/billingbenefits/azure-mgmt-billingbenefits/setup.py deleted file mode 100644 index f24f14f82a13..000000000000 --- a/sdk/billingbenefits/azure-mgmt-billingbenefits/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-billingbenefits" -PACKAGE_PPRINT_NAME = "Billingbenefits Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/botservice/azure-mgmt-botservice/pyproject.toml b/sdk/botservice/azure-mgmt-botservice/pyproject.toml index 540da07d41af..f6bfd750a800 100644 --- a/sdk/botservice/azure-mgmt-botservice/pyproject.toml +++ b/sdk/botservice/azure-mgmt-botservice/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-botservice" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Bot Service Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.botservice._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-botservice" +package_pprint_name = "Bot Service" +package_doc_id = "" +is_stable = false +is_arm = true +title = "AzureBotService" diff --git a/sdk/botservice/azure-mgmt-botservice/sdk_packaging.toml b/sdk/botservice/azure-mgmt-botservice/sdk_packaging.toml deleted file mode 100644 index e1ffbba33532..000000000000 --- a/sdk/botservice/azure-mgmt-botservice/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-botservice" -package_pprint_name = "Bot Service" -package_doc_id = "" -is_stable = false -is_arm = true -title = "AzureBotService" diff --git a/sdk/botservice/azure-mgmt-botservice/setup.py b/sdk/botservice/azure-mgmt-botservice/setup.py deleted file mode 100644 index 553174f56e4e..000000000000 --- a/sdk/botservice/azure-mgmt-botservice/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-botservice" -PACKAGE_PPRINT_NAME = "Bot Service" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/carbonoptimization/azure-mgmt-carbonoptimization/pyproject.toml b/sdk/carbonoptimization/azure-mgmt-carbonoptimization/pyproject.toml index ce5cf69b33f0..9a6d2a406864 100644 --- a/sdk/carbonoptimization/azure-mgmt-carbonoptimization/pyproject.toml +++ b/sdk/carbonoptimization/azure-mgmt-carbonoptimization/pyproject.toml @@ -1,4 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-carbonoptimization" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Carbonoptimization Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false pyright = false mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.carbonoptimization._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-carbonoptimization" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Carbonoptimization Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "CarbonOptimizationMgmtClient" diff --git a/sdk/carbonoptimization/azure-mgmt-carbonoptimization/sdk_packaging.toml b/sdk/carbonoptimization/azure-mgmt-carbonoptimization/sdk_packaging.toml deleted file mode 100644 index 34e8fe0de702..000000000000 --- a/sdk/carbonoptimization/azure-mgmt-carbonoptimization/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-carbonoptimization" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Carbonoptimization Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "CarbonOptimizationMgmtClient" diff --git a/sdk/carbonoptimization/azure-mgmt-carbonoptimization/setup.py b/sdk/carbonoptimization/azure-mgmt-carbonoptimization/setup.py deleted file mode 100644 index 91f9ed269acd..000000000000 --- a/sdk/carbonoptimization/azure-mgmt-carbonoptimization/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-carbonoptimization" -PACKAGE_PPRINT_NAME = "Carbonoptimization Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/cdn/azure-mgmt-cdn/pyproject.toml b/sdk/cdn/azure-mgmt-cdn/pyproject.toml index 540da07d41af..05b8869b918c 100644 --- a/sdk/cdn/azure-mgmt-cdn/pyproject.toml +++ b/sdk/cdn/azure-mgmt-cdn/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-cdn" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure CDN Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.cdn._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-cdn" +package_pprint_name = "CDN Management" +package_doc_id = "cdn" +is_stable = true +sample_link = "" +title = "CdnManagementClient" diff --git a/sdk/cdn/azure-mgmt-cdn/sdk_packaging.toml b/sdk/cdn/azure-mgmt-cdn/sdk_packaging.toml deleted file mode 100644 index 115bc64b3abd..000000000000 --- a/sdk/cdn/azure-mgmt-cdn/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-cdn" -package_pprint_name = "CDN Management" -package_doc_id = "cdn" -is_stable = true -sample_link = "" -title = "CdnManagementClient" diff --git a/sdk/cdn/azure-mgmt-cdn/setup.py b/sdk/cdn/azure-mgmt-cdn/setup.py deleted file mode 100644 index c0f0a3ca2878..000000000000 --- a/sdk/cdn/azure-mgmt-cdn/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-cdn" -PACKAGE_PPRINT_NAME = "CDN Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/changeanalysis/azure-mgmt-changeanalysis/pyproject.toml b/sdk/changeanalysis/azure-mgmt-changeanalysis/pyproject.toml index 540da07d41af..829e4e65688b 100644 --- a/sdk/changeanalysis/azure-mgmt-changeanalysis/pyproject.toml +++ b/sdk/changeanalysis/azure-mgmt-changeanalysis/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-changeanalysis" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Change Analysis Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.changeanalysis._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-changeanalysis" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Change Analysis Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "AzureChangeAnalysisManagementClient" +auto_update = false diff --git a/sdk/changeanalysis/azure-mgmt-changeanalysis/sdk_packaging.toml b/sdk/changeanalysis/azure-mgmt-changeanalysis/sdk_packaging.toml deleted file mode 100644 index 7890c828aa4e..000000000000 --- a/sdk/changeanalysis/azure-mgmt-changeanalysis/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-changeanalysis" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Change Analysis Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "AzureChangeAnalysisManagementClient" -auto_update = false diff --git a/sdk/changeanalysis/azure-mgmt-changeanalysis/setup.py b/sdk/changeanalysis/azure-mgmt-changeanalysis/setup.py deleted file mode 100644 index 9074df58f870..000000000000 --- a/sdk/changeanalysis/azure-mgmt-changeanalysis/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-changeanalysis" -PACKAGE_PPRINT_NAME = "Change Analysis Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/chaos/azure-mgmt-chaos/pyproject.toml b/sdk/chaos/azure-mgmt-chaos/pyproject.toml index 540da07d41af..647aa8d9face 100644 --- a/sdk/chaos/azure-mgmt-chaos/pyproject.toml +++ b/sdk/chaos/azure-mgmt-chaos/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-chaos" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Chaos Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.chaos._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-chaos" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Chaos Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "ChaosManagementClient" diff --git a/sdk/chaos/azure-mgmt-chaos/sdk_packaging.toml b/sdk/chaos/azure-mgmt-chaos/sdk_packaging.toml deleted file mode 100644 index 86fc82623da1..000000000000 --- a/sdk/chaos/azure-mgmt-chaos/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-chaos" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Chaos Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "ChaosManagementClient" diff --git a/sdk/chaos/azure-mgmt-chaos/setup.py b/sdk/chaos/azure-mgmt-chaos/setup.py deleted file mode 100644 index 189ec22d9181..000000000000 --- a/sdk/chaos/azure-mgmt-chaos/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-chaos" -PACKAGE_PPRINT_NAME = "Chaos Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/pyproject.toml b/sdk/cloudhealth/azure-mgmt-cloudhealth/pyproject.toml index 42a7f73e0386..47cb4c242abf 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/pyproject.toml +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/pyproject.toml @@ -1,2 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-cloudhealth" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Cloudhealth Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.cloudhealth._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-cloudhealth" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Cloudhealth Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "CloudHealthMgmtClient" diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/sdk_packaging.toml b/sdk/cloudhealth/azure-mgmt-cloudhealth/sdk_packaging.toml deleted file mode 100644 index 29a2eed73682..000000000000 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-cloudhealth" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Cloudhealth Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "CloudHealthMgmtClient" diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/setup.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/setup.py deleted file mode 100644 index 7c7ed80a1a47..000000000000 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-cloudhealth" -PACKAGE_PPRINT_NAME = "Cloudhealth Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/pyproject.toml b/sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/pyproject.toml index 7e3628f87782..ced9f569945d 100644 --- a/sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/pyproject.toml +++ b/sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/pyproject.toml @@ -1,18 +1,14 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-ai-language-questionanswering-authoring" authors = [ - { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Ai Language Questionanswering Authoring Client Library for Python" license = "MIT" @@ -28,8 +24,10 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" -keywords = ["azure", "azure sdk"] - +keywords = [ + "azure", + "azure sdk", +] dependencies = [ "isodate>=0.6.1", "azure-core>=1.35.0", @@ -37,15 +35,22 @@ dependencies = [ "azure-ai-language-questionanswering>=2.0.0b1", ] dynamic = [ -"version", "readme" + "version", + "readme", ] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.ai.language.questionanswering.authoring._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.ai.language.questionanswering.authoring._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] exclude = [ @@ -59,4 +64,52 @@ exclude = [ ] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false + +[package] +name = "azure-ai-language-questionanswering-authoring" +display_name = "Azure AI Language Question Answering Authoring" +description = "Authoring client for Azure AI Language Question Answering (preview)." +keywords = [ + "azure", + "cognitive services", + "language", + "question answering", + "authoring", +] +license = "MIT" +repository_url = "https://github.com/Azure/azure-sdk-for-python" +version = "1.0.0b1" +python_min = "3.9" + +[package.readme] +path = "README.md" + +[package.changelog] +path = "CHANGELOG.md" + +[package.namespace] +name = "azure.ai.language.questionanswering.authoring" + +[dependencies] +azure-core = ">=1.28.0" +isodate = ">=0.6.1" +typing-extensions = ">=4.0.1; python_version<'3.11'" + +[dev-dependencies] +azure-identity = ">=1.15.0" +pytest = "*" + +[build] +artifacts = [ + "sdist", + "wheel", +] + +[metadata] +service_name = "cognitivelanguage" diff --git a/sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/sdk_packaging.toml b/sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/sdk_packaging.toml deleted file mode 100644 index 8d938a9ebff5..000000000000 --- a/sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/sdk_packaging.toml +++ /dev/null @@ -1,41 +0,0 @@ -[packaging] -auto_update = false - -[package] -name = "azure-ai-language-questionanswering-authoring" -display_name = "Azure AI Language Question Answering Authoring" -description = "Authoring client for Azure AI Language Question Answering (preview)." -keywords = ["azure", "cognitive services", "language", "question answering", "authoring"] -license = "MIT" -repository_url = "https://github.com/Azure/azure-sdk-for-python" -# First preview version; adjust if coordinating with broader release plan -version = "1.0.0b1" -# Minimum Python version (align with repo policy; many language packages now require >=3.8) -python_min = "3.9" - -[package.readme] -path = "README.md" - -[package.changelog] -path = "CHANGELOG.md" - -[package.namespace] -# Root import path -name = "azure.ai.language.questionanswering.authoring" - -[dependencies] -azure-core = ">=1.28.0" # aligned with setup.py requirement -isodate = ">=0.6.1" -typing-extensions = ">=4.0.1; python_version<'3.11'" - -[dev-dependencies] -azure-identity = ">=1.15.0" -pytest = "*" - -[build] -# Standard artifacts -artifacts = ["sdist", "wheel"] - -[metadata] -# Extra metadata fields consumed by doc generation or release tooling -service_name = "cognitivelanguage" diff --git a/sdk/cognitivelanguage/azure-ai-language-questionanswering/pyproject.toml b/sdk/cognitivelanguage/azure-ai-language-questionanswering/pyproject.toml index fc08b2e41ab4..f13306531a59 100644 --- a/sdk/cognitivelanguage/azure-ai-language-questionanswering/pyproject.toml +++ b/sdk/cognitivelanguage/azure-ai-language-questionanswering/pyproject.toml @@ -1,18 +1,14 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-ai-language-questionanswering" authors = [ - { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Ai Language Questionanswering Client Library for Python" license = "MIT" @@ -28,23 +24,32 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" -keywords = ["azure", "azure sdk"] - +keywords = [ + "azure", + "azure sdk", +] dependencies = [ "isodate>=0.6.1", "azure-core>=1.35.0", "typing-extensions>=4.6.0", ] dynamic = [ -"version", "readme" + "version", + "readme", ] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.ai.language.questionanswering._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.ai.language.questionanswering._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] exclude = [ @@ -57,7 +62,12 @@ exclude = [ ] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/cognitivelanguage/azure-ai-language-questionanswering/sdk_packaging.toml b/sdk/cognitivelanguage/azure-ai-language-questionanswering/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/cognitivelanguage/azure-ai-language-questionanswering/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/cognitiveservices/azure-cognitiveservices-personalizer/pyproject.toml b/sdk/cognitiveservices/azure-cognitiveservices-personalizer/pyproject.toml index 0891ce3392f5..7ff606145f30 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-personalizer/pyproject.toml +++ b/sdk/cognitiveservices/azure-cognitiveservices-personalizer/pyproject.toml @@ -1,2 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-cognitiveservices-personalizer" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Personalizer Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-mgmt-core>=1.2.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +":python_version<'3.0'" = [ + "azure-cognitiveservices-nspkg", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pylint = false + +[tool.setuptools.dynamic.version] +attr = "azure.cognitiveservices.personalizer.version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.cognitiveservices", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-cognitiveservices-personalizer" +package_nspkg = "azure-cognitiveservices-nspkg" +package_pprint_name = "Personalizer" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false diff --git a/sdk/cognitiveservices/azure-cognitiveservices-personalizer/sdk_packaging.toml b/sdk/cognitiveservices/azure-cognitiveservices-personalizer/sdk_packaging.toml deleted file mode 100644 index 6bd981674ff4..000000000000 --- a/sdk/cognitiveservices/azure-cognitiveservices-personalizer/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-cognitiveservices-personalizer" -package_nspkg = "azure-cognitiveservices-nspkg" -package_pprint_name = "Personalizer" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false diff --git a/sdk/cognitiveservices/azure-cognitiveservices-personalizer/setup.py b/sdk/cognitiveservices/azure-cognitiveservices-personalizer/setup.py deleted file mode 100644 index 8dbcf55c894f..000000000000 --- a/sdk/cognitiveservices/azure-cognitiveservices-personalizer/setup.py +++ /dev/null @@ -1,102 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-cognitiveservices-personalizer" -PACKAGE_PPRINT_NAME = "Personalizer" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - - try: - ver = azure.__version__ - raise Exception( - "This package is incompatible with azure=={}. ".format(ver) + 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 7 - Inactive", - "Programming Language :: Python", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.cognitiveservices", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "msrest>=0.6.21", - "azure-common~=1.1", - "azure-mgmt-core>=1.2.0,<2.0.0", - ], - extras_require={ - ":python_version<'3.0'": ["azure-cognitiveservices-nspkg"], - }, -) diff --git a/sdk/commerce/azure-mgmt-commerce/pyproject.toml b/sdk/commerce/azure-mgmt-commerce/pyproject.toml index 540da07d41af..d1b5c5f248f0 100644 --- a/sdk/commerce/azure-mgmt-commerce/pyproject.toml +++ b/sdk/commerce/azure-mgmt-commerce/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-commerce" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Commerce Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.commerce._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-commerce" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Commerce" +package_doc_id = "commerce" +is_stable = false +is_arm = true +sample_link = "" +title = "UsageManagementClient" diff --git a/sdk/commerce/azure-mgmt-commerce/sdk_packaging.toml b/sdk/commerce/azure-mgmt-commerce/sdk_packaging.toml deleted file mode 100644 index 22701e0976df..000000000000 --- a/sdk/commerce/azure-mgmt-commerce/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-commerce" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Commerce" -package_doc_id = "commerce" -is_stable = false -is_arm = true -sample_link = "" -title = "UsageManagementClient" diff --git a/sdk/commerce/azure-mgmt-commerce/setup.py b/sdk/commerce/azure-mgmt-commerce/setup.py deleted file mode 100644 index a0df4bba3bcf..000000000000 --- a/sdk/commerce/azure-mgmt-commerce/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-commerce" -PACKAGE_PPRINT_NAME = "Commerce" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/communication/azure-communication-callautomation/pyproject.toml b/sdk/communication/azure-communication-callautomation/pyproject.toml index 274739994e05..c3cb989203c8 100644 --- a/sdk/communication/azure-communication-callautomation/pyproject.toml +++ b/sdk/communication/azure-communication-callautomation/pyproject.toml @@ -1,3 +1,46 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-communication-callautomation" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Communication Call Automation Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false verifytypes = false @@ -5,3 +48,32 @@ verifytypes = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-communication" + +[tool.setuptools.dynamic.version] +attr = "azure.communication.callautomation._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.communication", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-communication-callautomation" +package_pprint_name = "Communication Call Automation" +package_doc_id = "" +is_stable = false +is_arm = false diff --git a/sdk/communication/azure-communication-callautomation/sdk_packaging.toml b/sdk/communication/azure-communication-callautomation/sdk_packaging.toml deleted file mode 100644 index 34e91dfcf6fd..000000000000 --- a/sdk/communication/azure-communication-callautomation/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-communication-callautomation" -package_pprint_name = "Communication Call Automation" -package_doc_id = "" -is_stable = false -is_arm = false \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/setup.py b/sdk/communication/azure-communication-callautomation/setup.py deleted file mode 100644 index a0c252b38001..000000000000 --- a/sdk/communication/azure-communication-callautomation/setup.py +++ /dev/null @@ -1,76 +0,0 @@ -from setuptools import setup, find_packages -import os -from io import open -import re - -# example setup.py Feel free to copy the entire "azure-template" folder into a package folder named -# with "azure-". Ensure that the below arguments to setup() are updated to reflect -# your package. - -# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way -# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging - -PACKAGE_NAME = "azure-communication-callautomation" -PACKAGE_PPRINT_NAME = "Communication Call Automation" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - long_description = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=long_description, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.communication", - ] - ), - python_requires=">=3.9", - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - project_urls={ - "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", - "Source": "https://github.com/Azure/azure-sdk-for-python", - }, -) diff --git a/sdk/communication/azure-communication-chat/pyproject.toml b/sdk/communication/azure-communication-chat/pyproject.toml index 397d8825f2a2..34ca05d672c7 100644 --- a/sdk/communication/azure-communication-chat/pyproject.toml +++ b/sdk/communication/azure-communication-chat/pyproject.toml @@ -1,6 +1,78 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-communication-chat" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Communication Chat Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.29.5", + "typing-extensions>=4.3.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-communication" + +[tool.setuptools.dynamic.version] +attr = "azure.communication.chat._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.communication", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-communication-chat" +package_pprint_name = "Communication Chat" +package_doc_id = "" +is_stable = false +is_arm = false diff --git a/sdk/communication/azure-communication-chat/sdk_packaging.toml b/sdk/communication/azure-communication-chat/sdk_packaging.toml deleted file mode 100644 index ec99c11c3a13..000000000000 --- a/sdk/communication/azure-communication-chat/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-communication-chat" -package_pprint_name = "Communication Chat" -package_doc_id = "" -is_stable = false -is_arm = false diff --git a/sdk/communication/azure-communication-chat/setup.py b/sdk/communication/azure-communication-chat/setup.py deleted file mode 100644 index 5b1d56f7fe4e..000000000000 --- a/sdk/communication/azure-communication-chat/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -from setuptools import setup, find_packages -import os -from io import open -import re - -# example setup.py Feel free to copy the entire "azure-template" folder into a package folder named -# with "azure-". Ensure that the below arguments to setup() are updated to reflect -# your package. - -# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way -# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging - -PACKAGE_NAME = "azure-communication-chat" -PACKAGE_PPRINT_NAME = "Communication Chat" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - long_description = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=long_description, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.communication", - ] - ), - python_requires=">=3.9", - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.29.5", - "typing-extensions>=4.3.0", - ], -) diff --git a/sdk/communication/azure-communication-email/pyproject.toml b/sdk/communication/azure-communication-email/pyproject.toml index 397d8825f2a2..f3c373f730b9 100644 --- a/sdk/communication/azure-communication-email/pyproject.toml +++ b/sdk/communication/azure-communication-email/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-communication-email" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure MyService Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-communication" + +[tool.setuptools.dynamic.version] +attr = "azure.communication.email._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.communication", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-communication-email" +package_nspkg = "azure-communication-nspkg" +package_pprint_name = "MyService Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true diff --git a/sdk/communication/azure-communication-email/sdk_packaging.toml b/sdk/communication/azure-communication-email/sdk_packaging.toml deleted file mode 100644 index ecfa0b440e13..000000000000 --- a/sdk/communication/azure-communication-email/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-communication-email" -package_nspkg = "azure-communication-nspkg" -package_pprint_name = "MyService Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true diff --git a/sdk/communication/azure-communication-email/setup.py b/sdk/communication/azure-communication-email/setup.py deleted file mode 100644 index 4737f9efa5ef..000000000000 --- a/sdk/communication/azure-communication-email/setup.py +++ /dev/null @@ -1,84 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-communication-email" -PACKAGE_PPRINT_NAME = "MyService Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.communication", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/communication/azure-communication-identity/pyproject.toml b/sdk/communication/azure-communication-identity/pyproject.toml index db898be6409d..b1391cb7d581 100644 --- a/sdk/communication/azure-communication-identity/pyproject.toml +++ b/sdk/communication/azure-communication-identity/pyproject.toml @@ -1,3 +1,46 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-communication-identity" +authors = [ + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, +] +description = "Microsoft Azure Communication Identity Service Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false @@ -7,3 +50,32 @@ asyncio_default_fixture_loop_scope = "function" [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-communication" + +[tool.setuptools.dynamic.version] +attr = "azure.communication.identity._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.communication", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-communication-identity" +package_pprint_name = "Communication Identity Service" +package_doc_id = "" +is_stable = false +is_arm = false diff --git a/sdk/communication/azure-communication-identity/sdk_packaging.toml b/sdk/communication/azure-communication-identity/sdk_packaging.toml deleted file mode 100644 index 88dbadd37a99..000000000000 --- a/sdk/communication/azure-communication-identity/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-communication-identity" -package_pprint_name = "Communication Identity Service" -package_doc_id = "" -is_stable = false -is_arm = false \ No newline at end of file diff --git a/sdk/communication/azure-communication-identity/setup.py b/sdk/communication/azure-communication-identity/setup.py deleted file mode 100644 index 0838f6558f56..000000000000 --- a/sdk/communication/azure-communication-identity/setup.py +++ /dev/null @@ -1,77 +0,0 @@ -from setuptools import setup, find_packages -import os -from io import open -import re - -# example setup.py Feel free to copy the entire "azure-template" folder into a package folder named -# with "azure-". Ensure that the below arguments to setup() are updated to reflect -# your package. - -# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way -# up from python 3.8. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging - -PACKAGE_NAME = "azure-communication-identity" -PACKAGE_PPRINT_NAME = "Communication Identity Service" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - long_description = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description_content_type="text/markdown", - # ensure that these are updated to reflect the package owners' information - long_description=long_description, - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - author="Microsoft Corporation", - author_email="azuresdkengsysadmins@microsoft.com", - license="MIT License", - # ensure that the development status reflects the status of your package - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.communication", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - python_requires=">=3.9", - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - project_urls={ - "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", - "Source": "https://github.com/Azure/azure-sdk-for-python", - }, -) diff --git a/sdk/communication/azure-communication-jobrouter/pyproject.toml b/sdk/communication/azure-communication-jobrouter/pyproject.toml index db9526da80fd..b57a3c1241a7 100644 --- a/sdk/communication/azure-communication-jobrouter/pyproject.toml +++ b/sdk/communication/azure-communication-jobrouter/pyproject.toml @@ -1,3 +1,46 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-communication-jobrouter" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Communication JobRouter Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pyright = false sphinx = false @@ -5,3 +48,32 @@ sphinx = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-communication" + +[tool.setuptools.dynamic.version] +attr = "azure.communication.jobrouter._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.communication", +] + +[tool.setuptools.package-data] +"azure.communication.jobrouter" = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-communication-jobrouter" +package_pprint_name = "Communication JobRouter" +package_doc_id = "communication-jobrouter" +is_stable = false +is_arm = false diff --git a/sdk/communication/azure-communication-jobrouter/sdk_packaging.toml b/sdk/communication/azure-communication-jobrouter/sdk_packaging.toml deleted file mode 100644 index e1a39c948213..000000000000 --- a/sdk/communication/azure-communication-jobrouter/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-communication-jobrouter" -package_pprint_name = "Communication JobRouter" -package_doc_id = "communication-jobrouter" -is_stable = false -is_arm = false diff --git a/sdk/communication/azure-communication-jobrouter/setup.py b/sdk/communication/azure-communication-jobrouter/setup.py deleted file mode 100644 index e59bd139ae74..000000000000 --- a/sdk/communication/azure-communication-jobrouter/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-communication-jobrouter" -PACKAGE_PPRINT_NAME = "Communication JobRouter" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.communication", - ] - ), - include_package_data=True, - package_data={ - "azure.communication.jobrouter": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/communication/azure-communication-messages/pyproject.toml b/sdk/communication/azure-communication-messages/pyproject.toml index 397d8825f2a2..996445702ecf 100644 --- a/sdk/communication/azure-communication-messages/pyproject.toml +++ b/sdk/communication/azure-communication-messages/pyproject.toml @@ -1,6 +1,78 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-communication-messages" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Communication Messages Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-communication" + +[tool.setuptools.dynamic.version] +attr = "azure.communication.messages._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.communication", +] + +[tool.setuptools.package-data] +"azure.communication.messages" = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-communication-messages" +package_pprint_name = "Communication Messages" +package_doc_id = "communication-messages" +is_stable = false +is_arm = false diff --git a/sdk/communication/azure-communication-messages/sdk_packaging.toml b/sdk/communication/azure-communication-messages/sdk_packaging.toml deleted file mode 100644 index cd3aeef0db35..000000000000 --- a/sdk/communication/azure-communication-messages/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-communication-messages" -package_pprint_name = "Communication Messages" -package_doc_id = "communication-messages" -is_stable = false -is_arm = false diff --git a/sdk/communication/azure-communication-messages/setup.py b/sdk/communication/azure-communication-messages/setup.py deleted file mode 100644 index 3b7ec640eda3..000000000000 --- a/sdk/communication/azure-communication-messages/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-communication-messages" -PACKAGE_PPRINT_NAME = "Communication Messages" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.communication", - ] - ), - include_package_data=True, - package_data={ - "azure.communication.messages": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/communication/azure-communication-phonenumbers/pyproject.toml b/sdk/communication/azure-communication-phonenumbers/pyproject.toml index 397d8825f2a2..d173140eae66 100644 --- a/sdk/communication/azure-communication-phonenumbers/pyproject.toml +++ b/sdk/communication/azure-communication-phonenumbers/pyproject.toml @@ -1,6 +1,77 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-communication-phonenumbers" +authors = [ + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, +] +description = "Microsoft Azure Communication Phone Numbers Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-communication" + +[tool.setuptools.dynamic.version] +attr = "azure.communication.phonenumbers._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.communication", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-communication-phonenumbers" +package_pprint_name = "Communication Phone Numbers" +package_doc_id = "" +is_stable = false +is_arm = false diff --git a/sdk/communication/azure-communication-phonenumbers/sdk_packaging.toml b/sdk/communication/azure-communication-phonenumbers/sdk_packaging.toml deleted file mode 100644 index da152b8f8bfa..000000000000 --- a/sdk/communication/azure-communication-phonenumbers/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-communication-phonenumbers" -package_pprint_name = "Communication Phone Numbers" -package_doc_id = "" -is_stable = false -is_arm = false \ No newline at end of file diff --git a/sdk/communication/azure-communication-phonenumbers/setup.py b/sdk/communication/azure-communication-phonenumbers/setup.py deleted file mode 100644 index 39558a891ed9..000000000000 --- a/sdk/communication/azure-communication-phonenumbers/setup.py +++ /dev/null @@ -1,76 +0,0 @@ -from setuptools import setup, find_packages -import os -from io import open -import re - -# example setup.py Feel free to copy the entire "azure-template" folder into a package folder named -# with "azure-". Ensure that the below arguments to setup() are updated to reflect -# your package. - -# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way -# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging - -PACKAGE_NAME = "azure-communication-phonenumbers" -PACKAGE_PPRINT_NAME = "Communication Phone Numbers" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - long_description = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description_content_type="text/markdown", - # ensure that these are updated to reflect the package owners' information - long_description=long_description, - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - author="Microsoft Corporation", - author_email="azuresdkengsysadmins@microsoft.com", - license="MIT License", - # ensure that the development status reflects the status of your package - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.communication", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - python_requires=">=3.9", - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - project_urls={ - "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", - "Source": "https://github.com/Azure/azure-sdk-for-python", - }, -) diff --git a/sdk/communication/azure-communication-rooms/pyproject.toml b/sdk/communication/azure-communication-rooms/pyproject.toml index 397d8825f2a2..ce29e5e6d4d3 100644 --- a/sdk/communication/azure-communication-rooms/pyproject.toml +++ b/sdk/communication/azure-communication-rooms/pyproject.toml @@ -1,6 +1,73 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-communication-rooms" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Communication Rooms Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.32.0", + "isodate>=0.6.1", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/communication/azure-communication-rooms" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-communication" + +[tool.setuptools.dynamic.version] +attr = "azure.communication.rooms._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.communication", +] + +[packaging] +package_name = "azure-communication-rooms" +package_pprint_name = "Azure Communication Rooms" +package_doc_id = "" +is_stable = false +is_arm = false +auto_update = false diff --git a/sdk/communication/azure-communication-rooms/sdk_packaging.toml b/sdk/communication/azure-communication-rooms/sdk_packaging.toml deleted file mode 100644 index 247ffd854359..000000000000 --- a/sdk/communication/azure-communication-rooms/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-communication-rooms" -package_pprint_name = "Azure Communication Rooms" -package_doc_id = "" -is_stable = false -is_arm = false -auto_update = false \ No newline at end of file diff --git a/sdk/communication/azure-communication-rooms/setup.py b/sdk/communication/azure-communication-rooms/setup.py deleted file mode 100644 index bfe264c4e3dc..000000000000 --- a/sdk/communication/azure-communication-rooms/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - - -import os -import re - -from setuptools import setup, find_packages - -# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way -# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-communication-rooms" -PACKAGE_PPRINT_NAME = "Communication Rooms" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/communication/azure-communication-rooms", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.communication", - ] - ), - install_requires=[ - "azure-core>=1.32.0", - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", - include_package_data=True, -) diff --git a/sdk/communication/azure-communication-sms/pyproject.toml b/sdk/communication/azure-communication-sms/pyproject.toml index 397d8825f2a2..bc4bbf5151e6 100644 --- a/sdk/communication/azure-communication-sms/pyproject.toml +++ b/sdk/communication/azure-communication-sms/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-communication-sms" +authors = [ + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, +] +description = "Microsoft Azure Communication SMS Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.27.0", + "msrest>=0.7.1", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-communication" + +[tool.setuptools.dynamic.version] +attr = "azure.communication.sms._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.communication", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-communication-sms" +package_pprint_name = "Communication SMS" +package_doc_id = "" +is_stable = false +is_arm = false diff --git a/sdk/communication/azure-communication-sms/sdk_packaging.toml b/sdk/communication/azure-communication-sms/sdk_packaging.toml deleted file mode 100644 index 3c4cc1f6ee79..000000000000 --- a/sdk/communication/azure-communication-sms/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-communication-sms" -package_pprint_name = "Communication SMS" -package_doc_id = "" -is_stable = false -is_arm = false diff --git a/sdk/communication/azure-communication-sms/setup.py b/sdk/communication/azure-communication-sms/setup.py deleted file mode 100644 index 5b26420588cd..000000000000 --- a/sdk/communication/azure-communication-sms/setup.py +++ /dev/null @@ -1,74 +0,0 @@ -from setuptools import setup, find_packages -import os -from io import open -import re - -# example setup.py Feel free to copy the entire "azure-template" folder into a package folder named -# with "azure-". Ensure that the below arguments to setup() are updated to reflect -# your package. - -# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way -# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging - -PACKAGE_NAME = "azure-communication-sms" -PACKAGE_PPRINT_NAME = "Communication SMS" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - long_description = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - # ensure that these are updated to reflect the package owners' information - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - author="Microsoft Corporation", - author_email="azuresdkengsysadmins@microsoft.com", - license="MIT License", - # ensure that the development status reflects the status of your package - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.communication", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - python_requires=">=3.8", - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.27.0", - "msrest>=0.7.1", # TODO: This should be removed once code has been regenerated. - "typing-extensions>=4.6.0", - ], -) diff --git a/sdk/compute/azure-mgmt-imagebuilder/pyproject.toml b/sdk/compute/azure-mgmt-imagebuilder/pyproject.toml index 540da07d41af..1446a55908e9 100644 --- a/sdk/compute/azure-mgmt-imagebuilder/pyproject.toml +++ b/sdk/compute/azure-mgmt-imagebuilder/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-imagebuilder" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Image Builder Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.imagebuilder._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-imagebuilder" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Image Builder" +package_doc_id = "" +is_stable = true +is_arm = true +title = "ImageBuilderClient" diff --git a/sdk/compute/azure-mgmt-imagebuilder/sdk_packaging.toml b/sdk/compute/azure-mgmt-imagebuilder/sdk_packaging.toml deleted file mode 100644 index 041895377c3c..000000000000 --- a/sdk/compute/azure-mgmt-imagebuilder/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-imagebuilder" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Image Builder" -package_doc_id = "" -is_stable = true -is_arm = true -title = "ImageBuilderClient" diff --git a/sdk/compute/azure-mgmt-imagebuilder/setup.py b/sdk/compute/azure-mgmt-imagebuilder/setup.py deleted file mode 100644 index 7237eadf21a9..000000000000 --- a/sdk/compute/azure-mgmt-imagebuilder/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-imagebuilder" -PACKAGE_PPRINT_NAME = "Image Builder" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/compute/azure-mgmt-vmwarecloudsimple/pyproject.toml b/sdk/compute/azure-mgmt-vmwarecloudsimple/pyproject.toml index 540da07d41af..336465957309 100644 --- a/sdk/compute/azure-mgmt-vmwarecloudsimple/pyproject.toml +++ b/sdk/compute/azure-mgmt-vmwarecloudsimple/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-vmwarecloudsimple" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure VMWare Cloud Simple Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.vmwarecloudsimple._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-vmwarecloudsimple" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "VMWare Cloud Simple Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "VMwareCloudSimple" diff --git a/sdk/compute/azure-mgmt-vmwarecloudsimple/sdk_packaging.toml b/sdk/compute/azure-mgmt-vmwarecloudsimple/sdk_packaging.toml deleted file mode 100644 index 5c9af58a07a7..000000000000 --- a/sdk/compute/azure-mgmt-vmwarecloudsimple/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-vmwarecloudsimple" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "VMWare Cloud Simple Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "VMwareCloudSimple" diff --git a/sdk/compute/azure-mgmt-vmwarecloudsimple/setup.py b/sdk/compute/azure-mgmt-vmwarecloudsimple/setup.py deleted file mode 100644 index a10ef2f05df7..000000000000 --- a/sdk/compute/azure-mgmt-vmwarecloudsimple/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-vmwarecloudsimple" -PACKAGE_PPRINT_NAME = "VMWare Cloud Simple Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/computefleet/azure-mgmt-computefleet/pyproject.toml b/sdk/computefleet/azure-mgmt-computefleet/pyproject.toml index 1970b31f041e..793d92cfad08 100644 --- a/sdk/computefleet/azure-mgmt-computefleet/pyproject.toml +++ b/sdk/computefleet/azure-mgmt-computefleet/pyproject.toml @@ -1,3 +1,47 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-computefleet" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Computefleet Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false @@ -5,6 +49,28 @@ pyright = false type_check_samples = false verifytypes = false +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.computefleet._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + [packaging] package_name = "azure-mgmt-computefleet" package_nspkg = "azure-mgmt-nspkg" diff --git a/sdk/computefleet/azure-mgmt-computefleet/setup.py b/sdk/computefleet/azure-mgmt-computefleet/setup.py deleted file mode 100644 index 1e39570735f1..000000000000 --- a/sdk/computefleet/azure-mgmt-computefleet/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-computefleet" -PACKAGE_PPRINT_NAME = "Computefleet Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/computerecommender/azure-mgmt-computerecommender/pyproject.toml b/sdk/computerecommender/azure-mgmt-computerecommender/pyproject.toml index 073481ed67e2..09d932440e14 100644 --- a/sdk/computerecommender/azure-mgmt-computerecommender/pyproject.toml +++ b/sdk/computerecommender/azure-mgmt-computerecommender/pyproject.toml @@ -1,3 +1,74 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-computerecommender" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Computerecommender Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + +[tool.azure-sdk-build] +breaking = false +pyright = false +mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.computerecommender._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + [packaging] package_name = "azure-mgmt-computerecommender" package_nspkg = "azure-mgmt-nspkg" @@ -10,8 +81,3 @@ need_azuremgmtcore = true sample_link = "" exclude_folders = "" title = "RecommenderMgmtClient" - -[tool.azure-sdk-build] -breaking = false -pyright = false -mypy = false diff --git a/sdk/computerecommender/azure-mgmt-computerecommender/setup.py b/sdk/computerecommender/azure-mgmt-computerecommender/setup.py deleted file mode 100644 index f7c776d1dba7..000000000000 --- a/sdk/computerecommender/azure-mgmt-computerecommender/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-computerecommender" -PACKAGE_PPRINT_NAME = "Computerecommender Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/computeschedule/azure-mgmt-computeschedule/pyproject.toml b/sdk/computeschedule/azure-mgmt-computeschedule/pyproject.toml index 540da07d41af..eaf5d382e15d 100644 --- a/sdk/computeschedule/azure-mgmt-computeschedule/pyproject.toml +++ b/sdk/computeschedule/azure-mgmt-computeschedule/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-computeschedule" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Computeschedule Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.computeschedule._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-computeschedule" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Computeschedule Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "ComputeScheduleMgmtClient" diff --git a/sdk/computeschedule/azure-mgmt-computeschedule/sdk_packaging.toml b/sdk/computeschedule/azure-mgmt-computeschedule/sdk_packaging.toml deleted file mode 100644 index 770639ddf61f..000000000000 --- a/sdk/computeschedule/azure-mgmt-computeschedule/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-computeschedule" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Computeschedule Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "ComputeScheduleMgmtClient" diff --git a/sdk/computeschedule/azure-mgmt-computeschedule/setup.py b/sdk/computeschedule/azure-mgmt-computeschedule/setup.py deleted file mode 100644 index 9272fb177345..000000000000 --- a/sdk/computeschedule/azure-mgmt-computeschedule/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-computeschedule" -PACKAGE_PPRINT_NAME = "Computeschedule Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/confidentialledger/azure-confidentialledger/pyproject.toml b/sdk/confidentialledger/azure-confidentialledger/pyproject.toml index 90bafd3f2522..e868e7652fa8 100644 --- a/sdk/confidentialledger/azure-confidentialledger/pyproject.toml +++ b/sdk/confidentialledger/azure-confidentialledger/pyproject.toml @@ -1,18 +1,14 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-confidentialledger" authors = [ - { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Confidential Ledger Client Library for Python" license = "MIT" @@ -28,8 +24,10 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" -keywords = ["azure", "azure sdk"] - +keywords = [ + "azure", + "azure sdk", +] dependencies = [ "isodate>=0.6.1", "azure-core>=1.35.0", @@ -38,7 +36,8 @@ dependencies = [ "azure-confidentialledger-certificate>=1.0.0b1", ] dynamic = [ -"version", "readme" + "version", + "readme", ] [project.urls] @@ -46,9 +45,15 @@ Homepage = "https://github.com/Azure/azure-sdk-for-python" "Bug Reports" = "https://github.com/Azure/azure-sdk-for-python/issues" Source = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.confidentialledger._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.confidentialledger._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] exclude = [ @@ -59,10 +64,21 @@ exclude = [ ] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = false + +[packaging] +package_name = "azure-confidentialledger" +package_pprint_name = "Azure Confidential Ledger" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/confidentialledger/azure-confidentialledger/sdk_packaging.toml b/sdk/confidentialledger/azure-confidentialledger/sdk_packaging.toml deleted file mode 100644 index 04b9b55da3e4..000000000000 --- a/sdk/confidentialledger/azure-confidentialledger/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-confidentialledger" -package_pprint_name = "Azure Confidential Ledger" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -auto_update = false \ No newline at end of file diff --git a/sdk/confidentialledger/azure-mgmt-confidentialledger/pyproject.toml b/sdk/confidentialledger/azure-mgmt-confidentialledger/pyproject.toml index 540da07d41af..aca2a56be7e4 100644 --- a/sdk/confidentialledger/azure-mgmt-confidentialledger/pyproject.toml +++ b/sdk/confidentialledger/azure-mgmt-confidentialledger/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-confidentialledger" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Confidential Ledger Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.confidentialledger._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-confidentialledger" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Confidential Ledger Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "ConfidentialLedger" diff --git a/sdk/confidentialledger/azure-mgmt-confidentialledger/sdk_packaging.toml b/sdk/confidentialledger/azure-mgmt-confidentialledger/sdk_packaging.toml deleted file mode 100644 index b376e12d5691..000000000000 --- a/sdk/confidentialledger/azure-mgmt-confidentialledger/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-confidentialledger" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Confidential Ledger Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "ConfidentialLedger" \ No newline at end of file diff --git a/sdk/confidentialledger/azure-mgmt-confidentialledger/setup.py b/sdk/confidentialledger/azure-mgmt-confidentialledger/setup.py deleted file mode 100644 index 120c77112c08..000000000000 --- a/sdk/confidentialledger/azure-mgmt-confidentialledger/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-confidentialledger" -PACKAGE_PPRINT_NAME = "Confidential Ledger Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/confluent/azure-mgmt-confluent/pyproject.toml b/sdk/confluent/azure-mgmt-confluent/pyproject.toml index 540da07d41af..97eff33a67bb 100644 --- a/sdk/confluent/azure-mgmt-confluent/pyproject.toml +++ b/sdk/confluent/azure-mgmt-confluent/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-confluent" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Confluent Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.confluent._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-confluent" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Confluent Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "ConfluentManagementClient" diff --git a/sdk/confluent/azure-mgmt-confluent/sdk_packaging.toml b/sdk/confluent/azure-mgmt-confluent/sdk_packaging.toml deleted file mode 100644 index e8821d08589e..000000000000 --- a/sdk/confluent/azure-mgmt-confluent/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-confluent" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Confluent Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "ConfluentManagementClient" diff --git a/sdk/confluent/azure-mgmt-confluent/setup.py b/sdk/confluent/azure-mgmt-confluent/setup.py deleted file mode 100644 index eebb6460f9a3..000000000000 --- a/sdk/confluent/azure-mgmt-confluent/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-confluent" -PACKAGE_PPRINT_NAME = "Confluent Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/connectedvmware/azure-mgmt-connectedvmware/pyproject.toml b/sdk/connectedvmware/azure-mgmt-connectedvmware/pyproject.toml index 540da07d41af..bcdda3fd5292 100644 --- a/sdk/connectedvmware/azure-mgmt-connectedvmware/pyproject.toml +++ b/sdk/connectedvmware/azure-mgmt-connectedvmware/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-connectedvmware" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Connected VMWare Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.connectedvmware._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-connectedvmware" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Connected VMWare Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "ConnectedVMwareMgmtClient" diff --git a/sdk/connectedvmware/azure-mgmt-connectedvmware/sdk_packaging.toml b/sdk/connectedvmware/azure-mgmt-connectedvmware/sdk_packaging.toml deleted file mode 100644 index ce5429f5f44b..000000000000 --- a/sdk/connectedvmware/azure-mgmt-connectedvmware/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-connectedvmware" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Connected VMWare Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "ConnectedVMwareMgmtClient" diff --git a/sdk/connectedvmware/azure-mgmt-connectedvmware/setup.py b/sdk/connectedvmware/azure-mgmt-connectedvmware/setup.py deleted file mode 100644 index 3561c4525f85..000000000000 --- a/sdk/connectedvmware/azure-mgmt-connectedvmware/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-connectedvmware" -PACKAGE_PPRINT_NAME = "Connected VMWare Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/consumption/azure-mgmt-consumption/pyproject.toml b/sdk/consumption/azure-mgmt-consumption/pyproject.toml index 540da07d41af..b08c816e7fe6 100644 --- a/sdk/consumption/azure-mgmt-consumption/pyproject.toml +++ b/sdk/consumption/azure-mgmt-consumption/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-consumption" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Consumption Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.consumption._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-consumption" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Consumption" +package_doc_id = "consumption" +is_stable = false +is_arm = true +sample_link = "" +title = "ConsumptionManagementClient" diff --git a/sdk/consumption/azure-mgmt-consumption/sdk_packaging.toml b/sdk/consumption/azure-mgmt-consumption/sdk_packaging.toml deleted file mode 100644 index 17190cce32d8..000000000000 --- a/sdk/consumption/azure-mgmt-consumption/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-consumption" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Consumption" -package_doc_id = "consumption" -is_stable = false -is_arm = true -sample_link = "" -title = "ConsumptionManagementClient" diff --git a/sdk/consumption/azure-mgmt-consumption/setup.py b/sdk/consumption/azure-mgmt-consumption/setup.py deleted file mode 100644 index 58c2d0310b71..000000000000 --- a/sdk/consumption/azure-mgmt-consumption/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-consumption" -PACKAGE_PPRINT_NAME = "Consumption" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/containerinstance/azure-mgmt-containerinstance/pyproject.toml b/sdk/containerinstance/azure-mgmt-containerinstance/pyproject.toml index 540da07d41af..af1e8d4bfa8d 100644 --- a/sdk/containerinstance/azure-mgmt-containerinstance/pyproject.toml +++ b/sdk/containerinstance/azure-mgmt-containerinstance/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-containerinstance" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Container Instance Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.containerinstance._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-containerinstance" +package_pprint_name = "Container Instance" +package_doc_id = "containerinstance" +is_stable = false +sample_link = "" +title = "ContainerInstanceManagementClient" diff --git a/sdk/containerinstance/azure-mgmt-containerinstance/sdk_packaging.toml b/sdk/containerinstance/azure-mgmt-containerinstance/sdk_packaging.toml deleted file mode 100644 index 316d0207a8f6..000000000000 --- a/sdk/containerinstance/azure-mgmt-containerinstance/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-containerinstance" -package_pprint_name = "Container Instance" -package_doc_id = "containerinstance" -is_stable = false -sample_link = "" -title = "ContainerInstanceManagementClient" diff --git a/sdk/containerinstance/azure-mgmt-containerinstance/setup.py b/sdk/containerinstance/azure-mgmt-containerinstance/setup.py deleted file mode 100644 index f403bc870a66..000000000000 --- a/sdk/containerinstance/azure-mgmt-containerinstance/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-containerinstance" -PACKAGE_PPRINT_NAME = "Container Instance" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/containerorchestratorruntime/azure-mgmt-containerorchestratorruntime/pyproject.toml b/sdk/containerorchestratorruntime/azure-mgmt-containerorchestratorruntime/pyproject.toml index 540da07d41af..f9998450d6c2 100644 --- a/sdk/containerorchestratorruntime/azure-mgmt-containerorchestratorruntime/pyproject.toml +++ b/sdk/containerorchestratorruntime/azure-mgmt-containerorchestratorruntime/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-containerorchestratorruntime" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Containerorchestratorruntime Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.containerorchestratorruntime._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-containerorchestratorruntime" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Containerorchestratorruntime Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "ContainerOrchestratorRuntimeMgmtClient" diff --git a/sdk/containerorchestratorruntime/azure-mgmt-containerorchestratorruntime/sdk_packaging.toml b/sdk/containerorchestratorruntime/azure-mgmt-containerorchestratorruntime/sdk_packaging.toml deleted file mode 100644 index 3ef90af48fd8..000000000000 --- a/sdk/containerorchestratorruntime/azure-mgmt-containerorchestratorruntime/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-containerorchestratorruntime" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Containerorchestratorruntime Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "ContainerOrchestratorRuntimeMgmtClient" diff --git a/sdk/containerorchestratorruntime/azure-mgmt-containerorchestratorruntime/setup.py b/sdk/containerorchestratorruntime/azure-mgmt-containerorchestratorruntime/setup.py deleted file mode 100644 index d4e5bb0362f2..000000000000 --- a/sdk/containerorchestratorruntime/azure-mgmt-containerorchestratorruntime/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-containerorchestratorruntime" -PACKAGE_PPRINT_NAME = "Containerorchestratorruntime Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/containerregistry/azure-containerregistry/pyproject.toml b/sdk/containerregistry/azure-containerregistry/pyproject.toml index 516a8ab574e8..e80afad05d13 100644 --- a/sdk/containerregistry/azure-containerregistry/pyproject.toml +++ b/sdk/containerregistry/azure-containerregistry/pyproject.toml @@ -1,18 +1,14 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-containerregistry" authors = [ - { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Container Registry Client Library for Python" license = "MIT" @@ -28,23 +24,32 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" -keywords = ["azure", "azure sdk"] - +keywords = [ + "azure", + "azure sdk", +] dependencies = [ "isodate>=0.6.1", "azure-core>=1.37.0", "typing-extensions>=4.6.0", ] dynamic = [ -"version", "readme" + "version", + "readme", ] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.containerregistry._generated._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.containerregistry._generated._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] include = [ @@ -59,7 +64,9 @@ exclude = [ ] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pyright = false @@ -67,3 +74,6 @@ black = true [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/containerregistry/azure-containerregistry/sdk_packaging.toml b/sdk/containerregistry/azure-containerregistry/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/containerregistry/azure-containerregistry/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/containerservice/azure-mgmt-containerservicesafeguards/pyproject.toml b/sdk/containerservice/azure-mgmt-containerservicesafeguards/pyproject.toml index ce5cf69b33f0..36f32e586949 100644 --- a/sdk/containerservice/azure-mgmt-containerservicesafeguards/pyproject.toml +++ b/sdk/containerservice/azure-mgmt-containerservicesafeguards/pyproject.toml @@ -1,4 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-containerservicesafeguards" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Containerservicesafeguards Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false pyright = false mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.containerservicesafeguards._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-containerservicesafeguards" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Containerservicesafeguards Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "ContainerServiceSafeguardsMgmtClient" diff --git a/sdk/containerservice/azure-mgmt-containerservicesafeguards/sdk_packaging.toml b/sdk/containerservice/azure-mgmt-containerservicesafeguards/sdk_packaging.toml deleted file mode 100644 index 429318fd669e..000000000000 --- a/sdk/containerservice/azure-mgmt-containerservicesafeguards/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-containerservicesafeguards" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Containerservicesafeguards Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "ContainerServiceSafeguardsMgmtClient" diff --git a/sdk/containerservice/azure-mgmt-containerservicesafeguards/setup.py b/sdk/containerservice/azure-mgmt-containerservicesafeguards/setup.py deleted file mode 100644 index 131b447077b0..000000000000 --- a/sdk/containerservice/azure-mgmt-containerservicesafeguards/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-containerservicesafeguards" -PACKAGE_PPRINT_NAME = "Containerservicesafeguards Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/contentsafety/azure-ai-contentsafety/pyproject.toml b/sdk/contentsafety/azure-ai-contentsafety/pyproject.toml index 0504960bccae..7a5a8c6c51c0 100644 --- a/sdk/contentsafety/azure-ai-contentsafety/pyproject.toml +++ b/sdk/contentsafety/azure-ai-contentsafety/pyproject.toml @@ -1,2 +1,69 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-contentsafety" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure AI Content Safety Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-core<2.0.0,>=1.28.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.ai.contentsafety._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", +] + +[tool.setuptools.package-data] +"azure.ai.contentsafety" = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/contentsafety/azure-ai-contentsafety/sdk_packaging.toml b/sdk/contentsafety/azure-ai-contentsafety/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/contentsafety/azure-ai-contentsafety/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/contentsafety/azure-ai-contentsafety/setup.py b/sdk/contentsafety/azure-ai-contentsafety/setup.py deleted file mode 100644 index b4e939ee2c66..000000000000 --- a/sdk/contentsafety/azure-ai-contentsafety/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-ai-contentsafety" -PACKAGE_PPRINT_NAME = "Azure AI Content Safety" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.ai", - ] - ), - include_package_data=True, - package_data={ - "azure.ai.contentsafety": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.28.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/core/azure-common/pyproject.toml b/sdk/core/azure-common/pyproject.toml index 24fade53ffc2..e1a2faedf3db 100644 --- a/sdk/core/azure-common/pyproject.toml +++ b/sdk/core/azure-common/pyproject.toml @@ -1,3 +1,42 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-common" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Client Library for Python (Common)" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] type_check_samples = false verifytypes = false @@ -9,3 +48,22 @@ black = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.common._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[packaging] +auto_update = false +package_name = "azure-common" +package_nspkg = "azure-nspkg" +package_pprint_name = "MyService Management" +package_doc_id = "" +is_stable = false +is_arm = true diff --git a/sdk/core/azure-common/sdk_packaging.toml b/sdk/core/azure-common/sdk_packaging.toml deleted file mode 100644 index c1ee830cf824..000000000000 --- a/sdk/core/azure-common/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-common" -package_nspkg = "azure-nspkg" -package_pprint_name = "MyService Management" -package_doc_id = "" -is_stable = false -is_arm = true diff --git a/sdk/core/azure-common/setup.py b/sdk/core/azure-common/setup.py deleted file mode 100644 index aa5b7a0c4992..000000000000 --- a/sdk/core/azure-common/setup.py +++ /dev/null @@ -1,64 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-common" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure Client Library for Python (Common)', - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - 'Development Status :: 7 - Inactive', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=[ - 'azure.common', - 'azure.profiles' - ], - python_requires=">=3.6", -) diff --git a/sdk/core/azure-core-experimental/pyproject.toml b/sdk/core/azure-core-experimental/pyproject.toml index 325bac27d499..0d5888acc9da 100644 --- a/sdk/core/azure-core-experimental/pyproject.toml +++ b/sdk/core/azure-core-experimental/pyproject.toml @@ -1,4 +1,63 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-core-experimental" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Core Experimental Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.30.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core-experimental" + [tool.azure-sdk-build] pyright = false mypy = true -black = true \ No newline at end of file +black = true + +[tool.setuptools.dynamic.version] +attr = "azure.core.experimental._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/core/azure-core-experimental/sdk_packaging.toml b/sdk/core/azure-core-experimental/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/core/azure-core-experimental/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/core/azure-core-experimental/setup.py b/sdk/core/azure-core-experimental/setup.py deleted file mode 100644 index a72ac2bc25e6..000000000000 --- a/sdk/core/azure-core-experimental/setup.py +++ /dev/null @@ -1,67 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup # type: ignore - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-core-experimental" -PACKAGE_PPRINT_NAME = "Core Experimental" - -package_folder_path = "azure/core/experimental" - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) # type: ignore - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core-experimental", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=[ - "azure.core.experimental", - ], - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - python_requires=">=3.8", - install_requires=[ - "azure-core>=1.30.0", - ], -) diff --git a/sdk/core/azure-core-tracing-opentelemetry/pyproject.toml b/sdk/core/azure-core-tracing-opentelemetry/pyproject.toml index 2a4cdda7a635..c12628c8f7dd 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/pyproject.toml +++ b/sdk/core/azure-core-tracing-opentelemetry/pyproject.toml @@ -1,3 +1,64 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-core-tracing-opentelemetry" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Azure Core OpenTelemetry plugin Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "opentelemetry-api>=1.12.0", + "azure-core>=1.24.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core-tracing-opentelemetry" + [tool.azure-sdk-build] pyright = false black = true + +[tool.setuptools.dynamic.version] +attr = "azure.core.tracing.ext.opentelemetry_span._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/core/azure-core-tracing-opentelemetry/sdk_packaging.toml b/sdk/core/azure-core-tracing-opentelemetry/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/core/azure-core-tracing-opentelemetry/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/core/azure-core-tracing-opentelemetry/setup.py b/sdk/core/azure-core-tracing-opentelemetry/setup.py deleted file mode 100644 index 1bb2bcaedc98..000000000000 --- a/sdk/core/azure-core-tracing-opentelemetry/setup.py +++ /dev/null @@ -1,69 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup # type: ignore - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-core-tracing-opentelemetry" -PACKAGE_PPRINT_NAME = "Azure Core OpenTelemetry plugin" - -package_folder_path = "azure/core/tracing/ext/opentelemetry_span" - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) # type: ignore - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core-tracing-opentelemetry", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=[ - "azure.core.tracing.ext.opentelemetry_span", - ], - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - python_requires=">=3.8", - install_requires=[ - "opentelemetry-api>=1.12.0", - "azure-core>=1.24.0", - ], -) diff --git a/sdk/core/azure-core/pyproject.toml b/sdk/core/azure-core/pyproject.toml index 7d35230251d7..83008ec1efd6 100644 --- a/sdk/core/azure-core/pyproject.toml +++ b/sdk/core/azure-core/pyproject.toml @@ -1,26 +1,112 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-core" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Core Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "requests>=2.21.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +aio = [ + "aiohttp>=3.0", +] +tracing = [ + "opentelemetry-api~=1.26", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core" + [tool.azure-sdk-build] mypy = true type_check_samples = true verifytypes = true pyright = false black = true -# For test environments or static checks where a check should be run by default, not explicitly disabling will enable the check. -# pylint is enabled by default, so there is no reason for a pylint = true in every pyproject.toml. -# -# For newly added checks that are not enabled by default, packages should opt IN by " = true". [[tool.azure-sdk-build.optional]] name = "no_requests" install = [] -uninstall = ["requests"] -additional_pytest_args = ["--ignore-glob='*_async.py'"] +uninstall = [ + "requests", +] +additional_pytest_args = [ + "--ignore-glob='*_async.py'", +] [[tool.azure-sdk-build.optional]] name = "no_aiohttp" install = [] -uninstall = ["aiohttp"] -additional_pytest_args = ["-k", "_async.py"] +uninstall = [ + "aiohttp", +] +additional_pytest_args = [ + "-k", + "_async.py", +] [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-core" + +[tool.setuptools.dynamic.version] +attr = "azure.core._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-core" +package_nspkg = "azure-nspkg" +package_pprint_name = "Core" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/core/azure-core/sdk_packaging.toml b/sdk/core/azure-core/sdk_packaging.toml deleted file mode 100644 index 54b7bf3be3c7..000000000000 --- a/sdk/core/azure-core/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-core" -package_nspkg = "azure-nspkg" -package_pprint_name = "Core" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -auto_update = false \ No newline at end of file diff --git a/sdk/core/azure-core/setup.py b/sdk/core/azure-core/setup.py deleted file mode 100644 index 3f65bdf791d5..000000000000 --- a/sdk/core/azure-core/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup # type: ignore - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-core" -PACKAGE_PPRINT_NAME = "Core" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) # type: ignore - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description="Microsoft Azure {} Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - ] - ), - package_data={ - "pytyped": ["py.typed"], - }, - python_requires=">=3.9", - install_requires=[ - "requests>=2.21.0", - "typing-extensions>=4.6.0", - ], - extras_require={ - "aio": [ - "aiohttp>=3.0", - ], - "tracing": [ - "opentelemetry-api~=1.26", - ], - }, -) diff --git a/sdk/core/azure-mgmt-core/pyproject.toml b/sdk/core/azure-mgmt-core/pyproject.toml index 23cd5dc0e78a..ddca6372bb7c 100644 --- a/sdk/core/azure-mgmt-core/pyproject.toml +++ b/sdk/core/azure-mgmt-core/pyproject.toml @@ -1,3 +1,44 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-core" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Management Core Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.38.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-mgmt-core" + [tool.azure-sdk-build] mypy = true verifytypes = true @@ -8,3 +49,29 @@ black = true [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-core" + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.core._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +title = "AsyncARMPipelineClient" diff --git a/sdk/core/azure-mgmt-core/sdk_packaging.toml b/sdk/core/azure-mgmt-core/sdk_packaging.toml deleted file mode 100644 index 4981c6e3c520..000000000000 --- a/sdk/core/azure-mgmt-core/sdk_packaging.toml +++ /dev/null @@ -1,3 +0,0 @@ -[packaging] -auto_update = false -title = "AsyncARMPipelineClient" \ No newline at end of file diff --git a/sdk/core/azure-mgmt-core/setup.py b/sdk/core/azure-mgmt-core/setup.py deleted file mode 100644 index 2d738fb2299a..000000000000 --- a/sdk/core/azure-mgmt-core/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup # type: ignore - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-mgmt-core" -PACKAGE_PPRINT_NAME = "Management Core" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) # type: ignore - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description="Microsoft Azure {} Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-mgmt-core", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "azure-core>=1.38.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/core/azure-mgmt/pyproject.toml b/sdk/core/azure-mgmt/pyproject.toml index f09a5b522bde..dc559255147b 100644 --- a/sdk/core/azure-mgmt/pyproject.toml +++ b/sdk/core/azure-mgmt/pyproject.toml @@ -6,4 +6,7 @@ mypy = false pylint = false regression = false sphinx = false -black = false \ No newline at end of file +black = false + +[packaging] +auto_update = false diff --git a/sdk/core/azure-mgmt/sdk_packaging.toml b/sdk/core/azure-mgmt/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/core/azure-mgmt/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/core/azure/pyproject.toml b/sdk/core/azure/pyproject.toml index efda107d93d8..ce612a333249 100644 --- a/sdk/core/azure/pyproject.toml +++ b/sdk/core/azure/pyproject.toml @@ -10,3 +10,6 @@ black = false [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/core/azure/sdk_packaging.toml b/sdk/core/azure/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/core/azure/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/core/corehttp/pyproject.toml b/sdk/core/corehttp/pyproject.toml index f5de7c105c5b..e4418747510d 100644 --- a/sdk/core/corehttp/pyproject.toml +++ b/sdk/core/corehttp/pyproject.toml @@ -1,4 +1,88 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "corehttp" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "CoreHTTP Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +requires-python = ">=3.9" +keywords = [ + "typespec", + "core", +] +dependencies = [ + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +requests = [ + "requests>=2.18.4", +] +aiohttp = [ + "aiohttp>=3.0", +] +httpx = [ + "httpx>=0.25.0", +] +tracing = [ + "opentelemetry-api~=1.26", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/corehttp" + [tool.azure-sdk-build] pyright = false verify_keywords = false -black = true \ No newline at end of file +black = true + +[tool.setuptools.dynamic.version] +attr = "corehttp._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "corehttp" +package_pprint_name = "CoreHTTP" +package_doc_id = "" +is_stable = false +is_arm = false +auto_update = false diff --git a/sdk/core/corehttp/sdk_packaging.toml b/sdk/core/corehttp/sdk_packaging.toml deleted file mode 100644 index 83c9247e7587..000000000000 --- a/sdk/core/corehttp/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "corehttp" -package_pprint_name = "CoreHTTP" -package_doc_id = "" -is_stable = false -is_arm = false -auto_update = false diff --git a/sdk/core/corehttp/setup.py b/sdk/core/corehttp/setup.py deleted file mode 100644 index 61a20dac1121..000000000000 --- a/sdk/core/corehttp/setup.py +++ /dev/null @@ -1,87 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup # type: ignore - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "corehttp" -PACKAGE_PPRINT_NAME = "CoreHTTP" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) # type: ignore - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description="{} Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/corehttp", - keywords="typespec, core", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Programming Language :: Python :: 3.14", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - ] - ), - package_data={ - "pytyped": ["py.typed"], - }, - python_requires=">=3.9", - install_requires=[ - "typing-extensions>=4.6.0", - ], - extras_require={ - "requests": [ - "requests>=2.18.4", - ], - "aiohttp": [ - "aiohttp>=3.0", - ], - "httpx": [ - "httpx>=0.25.0", - ], - "tracing": [ - "opentelemetry-api~=1.26", - ], - }, -) diff --git a/sdk/cosmos/azure-cosmos/pyproject.toml b/sdk/cosmos/azure-cosmos/pyproject.toml index 52c35fbc61c2..d4c303c5253a 100644 --- a/sdk/cosmos/azure-cosmos/pyproject.toml +++ b/sdk/cosmos/azure-cosmos/pyproject.toml @@ -1,3 +1,48 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-cosmos" +authors = [ + { name = "Microsoft Corporation", email = "askdocdb@microsoft.com" }, +] +description = "Microsoft Azure Cosmos Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Natural Language :: English", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] mypy = true pyright = false @@ -5,3 +50,16 @@ pylint = true [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.cosmos._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[packaging] +auto_update = false diff --git a/sdk/cosmos/azure-cosmos/sdk_packaging.toml b/sdk/cosmos/azure-cosmos/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/cosmos/azure-cosmos/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/cosmos/azure-cosmos/setup.py b/sdk/cosmos/azure-cosmos/setup.py deleted file mode 100644 index 1a96740eac2c..000000000000 --- a/sdk/cosmos/azure-cosmos/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/usr/bin/env python - -# ------------------------------------ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# ------------------------------------ -# pylint:disable=missing-docstring - -import re -import os -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-cosmos" -PACKAGE_PPRINT_NAME = "Cosmos" - -# a-b-c => a/b/c -PACKAGE_FOLDER_PATH = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -NAMESPACE_NAME = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(PACKAGE_FOLDER_PATH, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -exclude_packages = [ - "tests", - "samples", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", -] - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="askdocdb@microsoft.com", - maintainer="Microsoft", - maintainer_email="askdocdb@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Natural Language :: English", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages(exclude=exclude_packages), - python_requires=">=3.9", - install_requires=[ - "azure-core>=1.30.0", - "typing-extensions>=4.6.0" - ], -) diff --git a/sdk/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/pyproject.toml b/sdk/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/pyproject.toml index 540da07d41af..8cbd27d790bf 100644 --- a/sdk/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/pyproject.toml +++ b/sdk/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-cosmosdbforpostgresql" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Cosmosdbforpostgresql Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.cosmosdbforpostgresql._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-cosmosdbforpostgresql" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Cosmosdbforpostgresql Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "CosmosdbForPostgresqlMgmtClient" diff --git a/sdk/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/sdk_packaging.toml b/sdk/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/sdk_packaging.toml deleted file mode 100644 index 83c35eb5aa31..000000000000 --- a/sdk/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-cosmosdbforpostgresql" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Cosmosdbforpostgresql Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "CosmosdbForPostgresqlMgmtClient" diff --git a/sdk/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/setup.py b/sdk/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/setup.py deleted file mode 100644 index 289a57e22229..000000000000 --- a/sdk/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-cosmosdbforpostgresql" -PACKAGE_PPRINT_NAME = "Cosmosdbforpostgresql Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/costmanagement/azure-mgmt-costmanagement/pyproject.toml b/sdk/costmanagement/azure-mgmt-costmanagement/pyproject.toml index 540da07d41af..f40908f242a7 100644 --- a/sdk/costmanagement/azure-mgmt-costmanagement/pyproject.toml +++ b/sdk/costmanagement/azure-mgmt-costmanagement/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-costmanagement" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Cost Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.costmanagement._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-costmanagement" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Cost Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "CostManagementClient" +no_sub = true diff --git a/sdk/costmanagement/azure-mgmt-costmanagement/sdk_packaging.toml b/sdk/costmanagement/azure-mgmt-costmanagement/sdk_packaging.toml deleted file mode 100644 index 0b4a31f4196f..000000000000 --- a/sdk/costmanagement/azure-mgmt-costmanagement/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-costmanagement" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Cost Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "CostManagementClient" -no_sub = true diff --git a/sdk/costmanagement/azure-mgmt-costmanagement/setup.py b/sdk/costmanagement/azure-mgmt-costmanagement/setup.py deleted file mode 100644 index bdcf90a92b53..000000000000 --- a/sdk/costmanagement/azure-mgmt-costmanagement/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-costmanagement" -PACKAGE_PPRINT_NAME = "Cost Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/customproviders/azure-mgmt-customproviders/pyproject.toml b/sdk/customproviders/azure-mgmt-customproviders/pyproject.toml index 540da07d41af..0d8f0f8323c1 100644 --- a/sdk/customproviders/azure-mgmt-customproviders/pyproject.toml +++ b/sdk/customproviders/azure-mgmt-customproviders/pyproject.toml @@ -1,6 +1,78 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-customproviders" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Custom Providers Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.customproviders._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-customproviders" +package_pprint_name = "Custom Providers Management" +package_doc_id = "" +is_stable = false +title = "Customproviders" diff --git a/sdk/customproviders/azure-mgmt-customproviders/sdk_packaging.toml b/sdk/customproviders/azure-mgmt-customproviders/sdk_packaging.toml deleted file mode 100644 index b2e7acf33fb4..000000000000 --- a/sdk/customproviders/azure-mgmt-customproviders/sdk_packaging.toml +++ /dev/null @@ -1,6 +0,0 @@ -[packaging] -package_name = "azure-mgmt-customproviders" -package_pprint_name = "Custom Providers Management" -package_doc_id = "" -is_stable = false -title = "Customproviders" diff --git a/sdk/customproviders/azure-mgmt-customproviders/setup.py b/sdk/customproviders/azure-mgmt-customproviders/setup.py deleted file mode 100644 index e0bcad9ccf8f..000000000000 --- a/sdk/customproviders/azure-mgmt-customproviders/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-customproviders" -PACKAGE_PPRINT_NAME = "Custom Providers Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/databasewatcher/azure-mgmt-databasewatcher/pyproject.toml b/sdk/databasewatcher/azure-mgmt-databasewatcher/pyproject.toml index 42a7f73e0386..1a0c0dbdc8e3 100644 --- a/sdk/databasewatcher/azure-mgmt-databasewatcher/pyproject.toml +++ b/sdk/databasewatcher/azure-mgmt-databasewatcher/pyproject.toml @@ -1,2 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-databasewatcher" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Databasewatcher Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.databasewatcher._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-databasewatcher" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Databasewatcher Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "DatabaseWatcherMgmtClient" diff --git a/sdk/databasewatcher/azure-mgmt-databasewatcher/sdk_packaging.toml b/sdk/databasewatcher/azure-mgmt-databasewatcher/sdk_packaging.toml deleted file mode 100644 index 7f7aa6c17541..000000000000 --- a/sdk/databasewatcher/azure-mgmt-databasewatcher/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-databasewatcher" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Databasewatcher Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "DatabaseWatcherMgmtClient" diff --git a/sdk/databasewatcher/azure-mgmt-databasewatcher/setup.py b/sdk/databasewatcher/azure-mgmt-databasewatcher/setup.py deleted file mode 100644 index c7effaf033fc..000000000000 --- a/sdk/databasewatcher/azure-mgmt-databasewatcher/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-databasewatcher" -PACKAGE_PPRINT_NAME = "Databasewatcher Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/databox/azure-mgmt-databox/pyproject.toml b/sdk/databox/azure-mgmt-databox/pyproject.toml index 540da07d41af..e954d2201369 100644 --- a/sdk/databox/azure-mgmt-databox/pyproject.toml +++ b/sdk/databox/azure-mgmt-databox/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-databox" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Data Box Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.databox._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-databox" +package_pprint_name = "Data Box Management" +package_doc_id = "" +is_stable = true +title = "DataBoxManagementClient" diff --git a/sdk/databox/azure-mgmt-databox/sdk_packaging.toml b/sdk/databox/azure-mgmt-databox/sdk_packaging.toml deleted file mode 100644 index ed21d2213961..000000000000 --- a/sdk/databox/azure-mgmt-databox/sdk_packaging.toml +++ /dev/null @@ -1,6 +0,0 @@ -[packaging] -package_name = "azure-mgmt-databox" -package_pprint_name = "Data Box Management" -package_doc_id = "" -is_stable = true -title = "DataBoxManagementClient" diff --git a/sdk/databox/azure-mgmt-databox/setup.py b/sdk/databox/azure-mgmt-databox/setup.py deleted file mode 100644 index a501a52acfdd..000000000000 --- a/sdk/databox/azure-mgmt-databox/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-databox" -PACKAGE_PPRINT_NAME = "Data Box Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/pyproject.toml b/sdk/databoxedge/azure-mgmt-databoxedge/pyproject.toml index f3fa71522a06..ec1fc51e436b 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/pyproject.toml +++ b/sdk/databoxedge/azure-mgmt-databoxedge/pyproject.toml @@ -1,3 +1,47 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-databoxedge" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Data Box Edge Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false @@ -5,6 +49,28 @@ pyright = false type_check_samples = false verifytypes = false +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.databoxedge._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + [packaging] package_name = "azure-mgmt-databoxedge" package_nspkg = "azure-mgmt-nspkg" diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/setup.py b/sdk/databoxedge/azure-mgmt-databoxedge/setup.py deleted file mode 100644 index 50e31be7d90c..000000000000 --- a/sdk/databoxedge/azure-mgmt-databoxedge/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-databoxedge" -PACKAGE_PPRINT_NAME = "Data Box Edge Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/databricks/azure-mgmt-databricks/pyproject.toml b/sdk/databricks/azure-mgmt-databricks/pyproject.toml index 540da07d41af..35dd54151c92 100644 --- a/sdk/databricks/azure-mgmt-databricks/pyproject.toml +++ b/sdk/databricks/azure-mgmt-databricks/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-databricks" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Data Bricks Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.databricks._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-databricks" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Data Bricks Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "AzureDatabricksManagementClient" diff --git a/sdk/databricks/azure-mgmt-databricks/sdk_packaging.toml b/sdk/databricks/azure-mgmt-databricks/sdk_packaging.toml deleted file mode 100644 index d0a9e6621d47..000000000000 --- a/sdk/databricks/azure-mgmt-databricks/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-databricks" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Data Bricks Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "AzureDatabricksManagementClient" diff --git a/sdk/databricks/azure-mgmt-databricks/setup.py b/sdk/databricks/azure-mgmt-databricks/setup.py deleted file mode 100644 index 7b2212e87e3f..000000000000 --- a/sdk/databricks/azure-mgmt-databricks/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-databricks" -PACKAGE_PPRINT_NAME = "Data Bricks Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/datadog/azure-mgmt-datadog/pyproject.toml b/sdk/datadog/azure-mgmt-datadog/pyproject.toml index 540da07d41af..7f333d2ef863 100644 --- a/sdk/datadog/azure-mgmt-datadog/pyproject.toml +++ b/sdk/datadog/azure-mgmt-datadog/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-datadog" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Datadog Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.datadog._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-datadog" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Datadog Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "MicrosoftDatadogClient" diff --git a/sdk/datadog/azure-mgmt-datadog/sdk_packaging.toml b/sdk/datadog/azure-mgmt-datadog/sdk_packaging.toml deleted file mode 100644 index 083aa877302c..000000000000 --- a/sdk/datadog/azure-mgmt-datadog/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-datadog" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Datadog Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "MicrosoftDatadogClient" diff --git a/sdk/datadog/azure-mgmt-datadog/setup.py b/sdk/datadog/azure-mgmt-datadog/setup.py deleted file mode 100644 index 679dc3b1c5d7..000000000000 --- a/sdk/datadog/azure-mgmt-datadog/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-datadog" -PACKAGE_PPRINT_NAME = "Datadog Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/datafactory/azure-mgmt-datafactory/pyproject.toml b/sdk/datafactory/azure-mgmt-datafactory/pyproject.toml index 540da07d41af..49bd1a173894 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/pyproject.toml +++ b/sdk/datafactory/azure-mgmt-datafactory/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-datafactory" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Data Factory Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.datafactory._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-datafactory" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Data Factory Management" +package_doc_id = "datafactory" +is_stable = true +is_arm = true +title = "DataFactoryManagementClient" diff --git a/sdk/datafactory/azure-mgmt-datafactory/sdk_packaging.toml b/sdk/datafactory/azure-mgmt-datafactory/sdk_packaging.toml deleted file mode 100644 index 9c6cdd5e2cc1..000000000000 --- a/sdk/datafactory/azure-mgmt-datafactory/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-datafactory" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Data Factory Management" -package_doc_id = "datafactory" -is_stable = true -is_arm = true -title = "DataFactoryManagementClient" diff --git a/sdk/datafactory/azure-mgmt-datafactory/setup.py b/sdk/datafactory/azure-mgmt-datafactory/setup.py deleted file mode 100644 index 907fd55998d6..000000000000 --- a/sdk/datafactory/azure-mgmt-datafactory/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-datafactory" -PACKAGE_PPRINT_NAME = "Data Factory Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/datalake/azure-mgmt-datalake-analytics/pyproject.toml b/sdk/datalake/azure-mgmt-datalake-analytics/pyproject.toml index 540da07d41af..e4874c24cd55 100644 --- a/sdk/datalake/azure-mgmt-datalake-analytics/pyproject.toml +++ b/sdk/datalake/azure-mgmt-datalake-analytics/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-datalake-analytics" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Datalake-analytics Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.datalake.analytics._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", + "azure.mgmt.datalake", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-datalake-analytics" +package_nspkg = "azure-mgmt-datalake-nspkg" +package_pprint_name = "Datalake-analytics Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "DataLakeAnalyticsAccountManagementClient" diff --git a/sdk/datalake/azure-mgmt-datalake-analytics/sdk_packaging.toml b/sdk/datalake/azure-mgmt-datalake-analytics/sdk_packaging.toml deleted file mode 100644 index 211d20bcf023..000000000000 --- a/sdk/datalake/azure-mgmt-datalake-analytics/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-datalake-analytics" -package_nspkg = "azure-mgmt-datalake-nspkg" -package_pprint_name = "Datalake-analytics Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "DataLakeAnalyticsAccountManagementClient" diff --git a/sdk/datalake/azure-mgmt-datalake-analytics/setup.py b/sdk/datalake/azure-mgmt-datalake-analytics/setup.py deleted file mode 100644 index 5dddcdc88f05..000000000000 --- a/sdk/datalake/azure-mgmt-datalake-analytics/setup.py +++ /dev/null @@ -1,80 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-datalake-analytics" -PACKAGE_PPRINT_NAME = "Datalake-analytics Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - 'azure.mgmt.datalake', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/datalake/azure-mgmt-datalake-store/pyproject.toml b/sdk/datalake/azure-mgmt-datalake-store/pyproject.toml index 540da07d41af..ef524ec3826d 100644 --- a/sdk/datalake/azure-mgmt-datalake-store/pyproject.toml +++ b/sdk/datalake/azure-mgmt-datalake-store/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-datalake-store" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Data Lake Store Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.datalake.store._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", + "azure.mgmt.datalake", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-datalake-store" +package_pprint_name = "Data Lake Store Management" +package_doc_id = "data-lake-store" +is_stable = false +sample_link = "" +title = "DataLakeStoreAccountManagementClient" diff --git a/sdk/datalake/azure-mgmt-datalake-store/sdk_packaging.toml b/sdk/datalake/azure-mgmt-datalake-store/sdk_packaging.toml deleted file mode 100644 index ac017bd9fc71..000000000000 --- a/sdk/datalake/azure-mgmt-datalake-store/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-datalake-store" -package_pprint_name = "Data Lake Store Management" -package_doc_id = "data-lake-store" -is_stable = false -sample_link = "" -title = "DataLakeStoreAccountManagementClient" diff --git a/sdk/datalake/azure-mgmt-datalake-store/setup.py b/sdk/datalake/azure-mgmt-datalake-store/setup.py deleted file mode 100644 index 27f92d4cc064..000000000000 --- a/sdk/datalake/azure-mgmt-datalake-store/setup.py +++ /dev/null @@ -1,80 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-datalake-store" -PACKAGE_PPRINT_NAME = "Data Lake Store Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - 'azure.mgmt.datalake', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/datamigration/azure-mgmt-datamigration/pyproject.toml b/sdk/datamigration/azure-mgmt-datamigration/pyproject.toml index a6a7222c77b1..cec62931dfbe 100644 --- a/sdk/datamigration/azure-mgmt-datamigration/pyproject.toml +++ b/sdk/datamigration/azure-mgmt-datamigration/pyproject.toml @@ -1,3 +1,47 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-datamigration" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Data Migration Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false @@ -5,6 +49,28 @@ pyright = false type_check_samples = false verifytypes = false +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.datamigration._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + [packaging] package_name = "azure-mgmt-datamigration" package_pprint_name = "Data Migration" diff --git a/sdk/datamigration/azure-mgmt-datamigration/setup.py b/sdk/datamigration/azure-mgmt-datamigration/setup.py deleted file mode 100644 index e4bebd5f1c73..000000000000 --- a/sdk/datamigration/azure-mgmt-datamigration/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-datamigration" -PACKAGE_PPRINT_NAME = "Data Migration" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/datashare/azure-mgmt-datashare/pyproject.toml b/sdk/datashare/azure-mgmt-datashare/pyproject.toml index 540da07d41af..3c599a645bb1 100644 --- a/sdk/datashare/azure-mgmt-datashare/pyproject.toml +++ b/sdk/datashare/azure-mgmt-datashare/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-datashare" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Data Share Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.datashare._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-datashare" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Data Share Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "DataShareManagementClient" diff --git a/sdk/datashare/azure-mgmt-datashare/sdk_packaging.toml b/sdk/datashare/azure-mgmt-datashare/sdk_packaging.toml deleted file mode 100644 index 08963bfb9d6e..000000000000 --- a/sdk/datashare/azure-mgmt-datashare/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-datashare" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Data Share Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "DataShareManagementClient" diff --git a/sdk/datashare/azure-mgmt-datashare/setup.py b/sdk/datashare/azure-mgmt-datashare/setup.py deleted file mode 100644 index b5db68fabf7d..000000000000 --- a/sdk/datashare/azure-mgmt-datashare/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-datashare" -PACKAGE_PPRINT_NAME = "Data Share Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/defendereasm/azure-mgmt-defendereasm/pyproject.toml b/sdk/defendereasm/azure-mgmt-defendereasm/pyproject.toml index 540da07d41af..7de72488bf66 100644 --- a/sdk/defendereasm/azure-mgmt-defendereasm/pyproject.toml +++ b/sdk/defendereasm/azure-mgmt-defendereasm/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-defendereasm" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Defendereasm Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.defendereasm._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-defendereasm" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Defendereasm Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "EasmMgmtClient" diff --git a/sdk/defendereasm/azure-mgmt-defendereasm/sdk_packaging.toml b/sdk/defendereasm/azure-mgmt-defendereasm/sdk_packaging.toml deleted file mode 100644 index 023c933ff103..000000000000 --- a/sdk/defendereasm/azure-mgmt-defendereasm/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-defendereasm" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Defendereasm Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "EasmMgmtClient" diff --git a/sdk/defendereasm/azure-mgmt-defendereasm/setup.py b/sdk/defendereasm/azure-mgmt-defendereasm/setup.py deleted file mode 100644 index efe716f056e2..000000000000 --- a/sdk/defendereasm/azure-mgmt-defendereasm/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-defendereasm" -PACKAGE_PPRINT_NAME = "Defendereasm Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/dependencymap/azure-mgmt-dependencymap/pyproject.toml b/sdk/dependencymap/azure-mgmt-dependencymap/pyproject.toml index 42a7f73e0386..78d3b67e6165 100644 --- a/sdk/dependencymap/azure-mgmt-dependencymap/pyproject.toml +++ b/sdk/dependencymap/azure-mgmt-dependencymap/pyproject.toml @@ -1,2 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-dependencymap" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Dependencymap Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.dependencymap._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-dependencymap" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Dependencymap Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "DependencyMapMgmtClient" diff --git a/sdk/dependencymap/azure-mgmt-dependencymap/sdk_packaging.toml b/sdk/dependencymap/azure-mgmt-dependencymap/sdk_packaging.toml deleted file mode 100644 index ab02c7cfd1fa..000000000000 --- a/sdk/dependencymap/azure-mgmt-dependencymap/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-dependencymap" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Dependencymap Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "DependencyMapMgmtClient" diff --git a/sdk/dependencymap/azure-mgmt-dependencymap/setup.py b/sdk/dependencymap/azure-mgmt-dependencymap/setup.py deleted file mode 100644 index 4aad6d4ca6ba..000000000000 --- a/sdk/dependencymap/azure-mgmt-dependencymap/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-dependencymap" -PACKAGE_PPRINT_NAME = "Dependencymap Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/pyproject.toml b/sdk/deploymentmanager/azure-mgmt-deploymentmanager/pyproject.toml index 540da07d41af..756d73b9cd5e 100644 --- a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/pyproject.toml +++ b/sdk/deploymentmanager/azure-mgmt-deploymentmanager/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-deploymentmanager" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Deployment Manager Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.deploymentmanager._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-deploymentmanager" +package_pprint_name = "Deployment Manager" +package_doc_id = "" +is_stable = false +is_arm = true +title = "AzureDeploymentManager" diff --git a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/sdk_packaging.toml b/sdk/deploymentmanager/azure-mgmt-deploymentmanager/sdk_packaging.toml deleted file mode 100644 index 9aeba57214e2..000000000000 --- a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-deploymentmanager" -package_pprint_name = "Deployment Manager" -package_doc_id = "" -is_stable = false -is_arm = true -title = "AzureDeploymentManager" diff --git a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/setup.py b/sdk/deploymentmanager/azure-mgmt-deploymentmanager/setup.py deleted file mode 100644 index f72cbc2e34b5..000000000000 --- a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-deploymentmanager" -PACKAGE_PPRINT_NAME = "Deployment Manager" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/pyproject.toml b/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/pyproject.toml index 540da07d41af..caada2386b34 100644 --- a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/pyproject.toml +++ b/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-desktopvirtualization" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Desktop Virtualization Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.desktopvirtualization._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-desktopvirtualization" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Desktop Virtualization Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "DesktopVirtualizationMgmtClient" diff --git a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/sdk_packaging.toml b/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/sdk_packaging.toml deleted file mode 100644 index 160f65d8bced..000000000000 --- a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-desktopvirtualization" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Desktop Virtualization Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "DesktopVirtualizationMgmtClient" diff --git a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/setup.py b/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/setup.py deleted file mode 100644 index d28166930acb..000000000000 --- a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-desktopvirtualization" -PACKAGE_PPRINT_NAME = "Desktop Virtualization Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/devcenter/azure-developer-devcenter/pyproject.toml b/sdk/devcenter/azure-developer-devcenter/pyproject.toml index 8035abb3a51e..1b7b6ea67ee4 100644 --- a/sdk/devcenter/azure-developer-devcenter/pyproject.toml +++ b/sdk/devcenter/azure-developer-devcenter/pyproject.toml @@ -1,6 +1,73 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-developer-devcenter" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Developer Devcenter Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pylint = false pyright = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.developer.devcenter._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.developer", +] + +[tool.setuptools.package-data] +"azure.developer.devcenter" = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/devcenter/azure-developer-devcenter/sdk_packaging.toml b/sdk/devcenter/azure-developer-devcenter/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/devcenter/azure-developer-devcenter/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/devcenter/azure-developer-devcenter/setup.py b/sdk/devcenter/azure-developer-devcenter/setup.py deleted file mode 100644 index 2be63bfc3c86..000000000000 --- a/sdk/devcenter/azure-developer-devcenter/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-developer-devcenter" -PACKAGE_PPRINT_NAME = "Azure Developer Devcenter" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.developer", - ] - ), - include_package_data=True, - package_data={ - "azure.developer.devcenter": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/devcenter/azure-mgmt-devcenter/pyproject.toml b/sdk/devcenter/azure-mgmt-devcenter/pyproject.toml index 540da07d41af..d5128f7cfa32 100644 --- a/sdk/devcenter/azure-mgmt-devcenter/pyproject.toml +++ b/sdk/devcenter/azure-mgmt-devcenter/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-devcenter" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Devcenter Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.devcenter._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-devcenter" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Devcenter Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "DevCenterMgmtClient" diff --git a/sdk/devcenter/azure-mgmt-devcenter/sdk_packaging.toml b/sdk/devcenter/azure-mgmt-devcenter/sdk_packaging.toml deleted file mode 100644 index e3e758e2c8b7..000000000000 --- a/sdk/devcenter/azure-mgmt-devcenter/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-devcenter" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Devcenter Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "DevCenterMgmtClient" diff --git a/sdk/devcenter/azure-mgmt-devcenter/setup.py b/sdk/devcenter/azure-mgmt-devcenter/setup.py deleted file mode 100644 index b6a84f25852a..000000000000 --- a/sdk/devcenter/azure-mgmt-devcenter/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-devcenter" -PACKAGE_PPRINT_NAME = "Devcenter Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/devhub/azure-mgmt-devhub/pyproject.toml b/sdk/devhub/azure-mgmt-devhub/pyproject.toml index 540da07d41af..cf36d2dfef5e 100644 --- a/sdk/devhub/azure-mgmt-devhub/pyproject.toml +++ b/sdk/devhub/azure-mgmt-devhub/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-devhub" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Devhub Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.devhub._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-devhub" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Devhub Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "DevHubMgmtClient" diff --git a/sdk/devhub/azure-mgmt-devhub/sdk_packaging.toml b/sdk/devhub/azure-mgmt-devhub/sdk_packaging.toml deleted file mode 100644 index ee0b88303c55..000000000000 --- a/sdk/devhub/azure-mgmt-devhub/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-devhub" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Devhub Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "DevHubMgmtClient" diff --git a/sdk/devhub/azure-mgmt-devhub/setup.py b/sdk/devhub/azure-mgmt-devhub/setup.py deleted file mode 100644 index f6d8dcc8da9f..000000000000 --- a/sdk/devhub/azure-mgmt-devhub/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-devhub" -PACKAGE_PPRINT_NAME = "Devhub Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/deviceupdate/azure-iot-deviceupdate/pyproject.toml b/sdk/deviceupdate/azure-iot-deviceupdate/pyproject.toml index 8d96766d96bb..bf4a691e8feb 100644 --- a/sdk/deviceupdate/azure-iot-deviceupdate/pyproject.toml +++ b/sdk/deviceupdate/azure-iot-deviceupdate/pyproject.toml @@ -1,6 +1,77 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-iot-deviceupdate" +authors = [ + { name = "Microsoft Corporation", email = "adupmdevteam@microsoft.com" }, +] +description = "Microsoft Azure Device Update Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-core<2.0.0,>=1.24.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/deviceupdate/azure-iot-deviceupdate" + [tool.azure-sdk-build] pyright = false ci_enabled = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.iot.deviceupdate._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.iot", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-iot-deviceupdate" +package_pprint_name = "Azure Device Update" +is_stable = false +is_arm = false diff --git a/sdk/deviceupdate/azure-iot-deviceupdate/sdk_packaging.toml b/sdk/deviceupdate/azure-iot-deviceupdate/sdk_packaging.toml deleted file mode 100644 index bf5e3af204e6..000000000000 --- a/sdk/deviceupdate/azure-iot-deviceupdate/sdk_packaging.toml +++ /dev/null @@ -1,6 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-iot-deviceupdate" -package_pprint_name = "Azure Device Update" -is_stable = false -is_arm = false diff --git a/sdk/deviceupdate/azure-iot-deviceupdate/setup.py b/sdk/deviceupdate/azure-iot-deviceupdate/setup.py deleted file mode 100644 index 4ba12b083a3d..000000000000 --- a/sdk/deviceupdate/azure-iot-deviceupdate/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-iot-deviceupdate" -PACKAGE_PPRINT_NAME = "Azure Device Update" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='adupmdevteam@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/deviceupdate/azure-iot-deviceupdate', - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.iot', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.24.0", - ], - python_requires=">=3.6", -) diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/pyproject.toml b/sdk/deviceupdate/azure-mgmt-deviceupdate/pyproject.toml index 540da07d41af..f2b6b869a86c 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/pyproject.toml +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-deviceupdate" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Device Update Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.deviceupdate._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-deviceupdate" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Device Update Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "DeviceUpdateMgmtClient" diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/sdk_packaging.toml b/sdk/deviceupdate/azure-mgmt-deviceupdate/sdk_packaging.toml deleted file mode 100644 index dc60a88deb18..000000000000 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-deviceupdate" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Device Update Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "DeviceUpdateMgmtClient" diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/setup.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/setup.py deleted file mode 100644 index a4d93d51b514..000000000000 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-deviceupdate" -PACKAGE_PPRINT_NAME = "Device Update Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/pyproject.toml b/sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/pyproject.toml index 540da07d41af..a9bc9d4bd97b 100644 --- a/sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/pyproject.toml +++ b/sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-devopsinfrastructure" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Devopsinfrastructure Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.devopsinfrastructure._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-devopsinfrastructure" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Devopsinfrastructure Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "DevOpsInfrastructureMgmtClient" diff --git a/sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/sdk_packaging.toml b/sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/sdk_packaging.toml deleted file mode 100644 index c6c7474951e3..000000000000 --- a/sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-devopsinfrastructure" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Devopsinfrastructure Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "DevOpsInfrastructureMgmtClient" diff --git a/sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/setup.py b/sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/setup.py deleted file mode 100644 index fd8157cfb80b..000000000000 --- a/sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-devopsinfrastructure" -PACKAGE_PPRINT_NAME = "Devopsinfrastructure Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/devtestlabs/azure-mgmt-devtestlabs/pyproject.toml b/sdk/devtestlabs/azure-mgmt-devtestlabs/pyproject.toml index 540da07d41af..e06740cffc01 100644 --- a/sdk/devtestlabs/azure-mgmt-devtestlabs/pyproject.toml +++ b/sdk/devtestlabs/azure-mgmt-devtestlabs/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-devtestlabs" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Dev Test Labs Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.devtestlabs._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-devtestlabs" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Dev Test Labs Management" +package_doc_id = "devtest-labs" +is_stable = true +is_arm = true +sample_link = "" +title = "DevTestLabsClient" diff --git a/sdk/devtestlabs/azure-mgmt-devtestlabs/sdk_packaging.toml b/sdk/devtestlabs/azure-mgmt-devtestlabs/sdk_packaging.toml deleted file mode 100644 index c099ae176dc8..000000000000 --- a/sdk/devtestlabs/azure-mgmt-devtestlabs/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-devtestlabs" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Dev Test Labs Management" -package_doc_id = "devtest-labs" -is_stable = true -is_arm = true -sample_link = "" -title = "DevTestLabsClient" diff --git a/sdk/devtestlabs/azure-mgmt-devtestlabs/setup.py b/sdk/devtestlabs/azure-mgmt-devtestlabs/setup.py deleted file mode 100644 index d7b9a71b5707..000000000000 --- a/sdk/devtestlabs/azure-mgmt-devtestlabs/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-devtestlabs" -PACKAGE_PPRINT_NAME = "Dev Test Labs Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/digitaltwins/azure-digitaltwins-core/pyproject.toml b/sdk/digitaltwins/azure-digitaltwins-core/pyproject.toml index a5bdfc226cb5..d84c1b9d6ee7 100644 --- a/sdk/digitaltwins/azure-digitaltwins-core/pyproject.toml +++ b/sdk/digitaltwins/azure-digitaltwins-core/pyproject.toml @@ -1,5 +1,71 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-digitaltwins-core" +authors = [ + { name = "Microsoft Corporation", email = "azure-digitaltwins-core@microsoft.com" }, +] +description = "Microsoft Azure Azure DigitalTwins Core Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.29.0", + "isodate>=0.6.1", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/digitaltwins/azure-digitaltwins-core" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.digitaltwins.core._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "samples", + "tests", + "azure", + "azure.digitaltwins", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/digitaltwins/azure-digitaltwins-core/sdk_packaging.toml b/sdk/digitaltwins/azure-digitaltwins-core/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/digitaltwins/azure-digitaltwins-core/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/digitaltwins/azure-digitaltwins-core/setup.py b/sdk/digitaltwins/azure-digitaltwins-core/setup.py deleted file mode 100644 index 2f79b6ea2841..000000000000 --- a/sdk/digitaltwins/azure-digitaltwins-core/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/usr/bin/env python - -# ------------------------------------ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# ------------------------------------ -# pylint:disable=missing-docstring - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-digitaltwins-core" -PACKAGE_PPRINT_NAME = "Azure DigitalTwins Core" - -# a-b-c => a/b/c -PACKAGE_FOLDER_PATH = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -NAMESPACE_NAME = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(PACKAGE_FOLDER_PATH, "_version.py"), "r") as fd: - VERSION = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not VERSION: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - README = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - CHANGELOG = f.read() - -setup( - name=PACKAGE_NAME, - version=VERSION, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=README + "\n\n" + CHANGELOG, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azure-digitaltwins-core@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/digitaltwins/azure-digitaltwins-core", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "samples", - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - 'azure.digitaltwins', - ] - ), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - python_requires=">=3.7", - install_requires=[ - "azure-core<2.0.0,>=1.29.0", - "isodate>=0.6.1", - ], -) diff --git a/sdk/digitaltwins/azure-mgmt-digitaltwins/pyproject.toml b/sdk/digitaltwins/azure-mgmt-digitaltwins/pyproject.toml index 540da07d41af..3c4ec388ca9b 100644 --- a/sdk/digitaltwins/azure-mgmt-digitaltwins/pyproject.toml +++ b/sdk/digitaltwins/azure-mgmt-digitaltwins/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-digitaltwins" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Digital Twins Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.digitaltwins._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-digitaltwins" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Digital Twins Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "AzureDigitalTwinsManagementClient" diff --git a/sdk/digitaltwins/azure-mgmt-digitaltwins/sdk_packaging.toml b/sdk/digitaltwins/azure-mgmt-digitaltwins/sdk_packaging.toml deleted file mode 100644 index 82d63756365d..000000000000 --- a/sdk/digitaltwins/azure-mgmt-digitaltwins/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-digitaltwins" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Digital Twins Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "AzureDigitalTwinsManagementClient" diff --git a/sdk/digitaltwins/azure-mgmt-digitaltwins/setup.py b/sdk/digitaltwins/azure-mgmt-digitaltwins/setup.py deleted file mode 100644 index 1d9b102f80cb..000000000000 --- a/sdk/digitaltwins/azure-mgmt-digitaltwins/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-digitaltwins" -PACKAGE_PPRINT_NAME = "Digital Twins Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/documentintelligence/azure-ai-documentintelligence/pyproject.toml b/sdk/documentintelligence/azure-ai-documentintelligence/pyproject.toml index a5bdfc226cb5..3ff4b391962d 100644 --- a/sdk/documentintelligence/azure-ai-documentintelligence/pyproject.toml +++ b/sdk/documentintelligence/azure-ai-documentintelligence/pyproject.toml @@ -1,5 +1,69 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-documentintelligence" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure AI Document Intelligence Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.ai.documentintelligence._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", +] + +[tool.setuptools.package-data] +"azure.ai.documentintelligence" = [ + "py.typed", +] diff --git a/sdk/documentintelligence/azure-ai-documentintelligence/setup.py b/sdk/documentintelligence/azure-ai-documentintelligence/setup.py deleted file mode 100644 index efc94a219375..000000000000 --- a/sdk/documentintelligence/azure-ai-documentintelligence/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-ai-documentintelligence" -PACKAGE_PPRINT_NAME = "Azure AI Document Intelligence" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.ai", - ] - ), - include_package_data=True, - package_data={ - "azure.ai.documentintelligence": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/dynatrace/azure-mgmt-dynatrace/pyproject.toml b/sdk/dynatrace/azure-mgmt-dynatrace/pyproject.toml index 540da07d41af..dc9ab9c0433e 100644 --- a/sdk/dynatrace/azure-mgmt-dynatrace/pyproject.toml +++ b/sdk/dynatrace/azure-mgmt-dynatrace/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-dynatrace" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Dynatrace Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.dynatrace._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-dynatrace" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Dynatrace Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "DynatraceObservabilityMgmtClient" diff --git a/sdk/dynatrace/azure-mgmt-dynatrace/sdk_packaging.toml b/sdk/dynatrace/azure-mgmt-dynatrace/sdk_packaging.toml deleted file mode 100644 index 241ede1d4e07..000000000000 --- a/sdk/dynatrace/azure-mgmt-dynatrace/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-dynatrace" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Dynatrace Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "DynatraceObservabilityMgmtClient" diff --git a/sdk/dynatrace/azure-mgmt-dynatrace/setup.py b/sdk/dynatrace/azure-mgmt-dynatrace/setup.py deleted file mode 100644 index 17a53b9367c5..000000000000 --- a/sdk/dynatrace/azure-mgmt-dynatrace/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-dynatrace" -PACKAGE_PPRINT_NAME = "Dynatrace Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/easm/azure-defender-easm/pyproject.toml b/sdk/easm/azure-defender-easm/pyproject.toml new file mode 100644 index 000000000000..f97108b8d65d --- /dev/null +++ b/sdk/easm/azure-defender-easm/pyproject.toml @@ -0,0 +1,66 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-defender-easm" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft EASM Data Plane Client Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-core<2.0.0,>=1.24.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + +[tool.setuptools.dynamic.version] +attr = "azure.defender.easm._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.defender", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/easm/azure-defender-easm/sdk_packaging.toml b/sdk/easm/azure-defender-easm/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/easm/azure-defender-easm/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/easm/azure-defender-easm/setup.py b/sdk/easm/azure-defender-easm/setup.py deleted file mode 100644 index 8e6a7cd98000..000000000000 --- a/sdk/easm/azure-defender-easm/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-defender-easm" -PACKAGE_PPRINT_NAME = "EASM Data Plane Client" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft EASM Data Plane Client Client Library for Python", - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.defender", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.24.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/edgegateway/azure-mgmt-edgegateway/pyproject.toml b/sdk/edgegateway/azure-mgmt-edgegateway/pyproject.toml index 540da07d41af..7dea701f4ed1 100644 --- a/sdk/edgegateway/azure-mgmt-edgegateway/pyproject.toml +++ b/sdk/edgegateway/azure-mgmt-edgegateway/pyproject.toml @@ -1,6 +1,77 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-edgegateway" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Data Box Edge / Data Box Gateway Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "msrestazure>=0.4.32,<2.0.0", + "azure-common~=1.1", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.edgegateway.version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[packaging] +package_name = "azure-mgmt-edgegateway" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Data Box Edge / Data Box Gateway" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = true +need_azuremgmtcore = false +title = "DataBoxEdgeManagementClient" diff --git a/sdk/edgegateway/azure-mgmt-edgegateway/sdk_packaging.toml b/sdk/edgegateway/azure-mgmt-edgegateway/sdk_packaging.toml deleted file mode 100644 index 59fa6ef47fd6..000000000000 --- a/sdk/edgegateway/azure-mgmt-edgegateway/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-edgegateway" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Data Box Edge / Data Box Gateway" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = true -need_azuremgmtcore = false -title = "DataBoxEdgeManagementClient" diff --git a/sdk/edgegateway/azure-mgmt-edgegateway/setup.py b/sdk/edgegateway/azure-mgmt-edgegateway/setup.py deleted file mode 100644 index c489cb031d28..000000000000 --- a/sdk/edgegateway/azure-mgmt-edgegateway/setup.py +++ /dev/null @@ -1,74 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-edgegateway" -PACKAGE_PPRINT_NAME = "Data Box Edge / Data Box Gateway" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - install_requires=[ - 'msrest>=0.6.21', - 'msrestazure>=0.4.32,<2.0.0', - 'azure-common~=1.1', - ], - python_requires=">=3.6" -) diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/pyproject.toml b/sdk/edgeorder/azure-mgmt-edgeorder/pyproject.toml index 540da07d41af..c55499322e9c 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/pyproject.toml +++ b/sdk/edgeorder/azure-mgmt-edgeorder/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-edgeorder" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Edge Order Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.edgeorder._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-edgeorder" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Edge Order Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "EdgeOrderManagementClient" diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/sdk_packaging.toml b/sdk/edgeorder/azure-mgmt-edgeorder/sdk_packaging.toml deleted file mode 100644 index 8f3ee155c64b..000000000000 --- a/sdk/edgeorder/azure-mgmt-edgeorder/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-edgeorder" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Edge Order Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "EdgeOrderManagementClient" diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/setup.py b/sdk/edgeorder/azure-mgmt-edgeorder/setup.py deleted file mode 100644 index d8e8e20c30f7..000000000000 --- a/sdk/edgeorder/azure-mgmt-edgeorder/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-edgeorder" -PACKAGE_PPRINT_NAME = "Edge Order Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/edgezones/azure-mgmt-edgezones/pyproject.toml b/sdk/edgezones/azure-mgmt-edgezones/pyproject.toml index 540da07d41af..9655e34515d0 100644 --- a/sdk/edgezones/azure-mgmt-edgezones/pyproject.toml +++ b/sdk/edgezones/azure-mgmt-edgezones/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-edgezones" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Edgezones Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.edgezones._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-edgezones" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Edgezones Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "EdgeZonesMgmtClient" diff --git a/sdk/edgezones/azure-mgmt-edgezones/sdk_packaging.toml b/sdk/edgezones/azure-mgmt-edgezones/sdk_packaging.toml deleted file mode 100644 index 138d55a62e9b..000000000000 --- a/sdk/edgezones/azure-mgmt-edgezones/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-edgezones" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Edgezones Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "EdgeZonesMgmtClient" diff --git a/sdk/edgezones/azure-mgmt-edgezones/setup.py b/sdk/edgezones/azure-mgmt-edgezones/setup.py deleted file mode 100644 index 7e93515ed9c8..000000000000 --- a/sdk/edgezones/azure-mgmt-edgezones/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-edgezones" -PACKAGE_PPRINT_NAME = "Edgezones Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/education/azure-mgmt-education/pyproject.toml b/sdk/education/azure-mgmt-education/pyproject.toml index 540da07d41af..ceda2fa9e3fa 100644 --- a/sdk/education/azure-mgmt-education/pyproject.toml +++ b/sdk/education/azure-mgmt-education/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-education" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Education Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.education._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-education" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Education Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "EducationManagementClient" diff --git a/sdk/education/azure-mgmt-education/sdk_packaging.toml b/sdk/education/azure-mgmt-education/sdk_packaging.toml deleted file mode 100644 index ffc1673e6b24..000000000000 --- a/sdk/education/azure-mgmt-education/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-education" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Education Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "EducationManagementClient" diff --git a/sdk/education/azure-mgmt-education/setup.py b/sdk/education/azure-mgmt-education/setup.py deleted file mode 100644 index 37fbe1a00cef..000000000000 --- a/sdk/education/azure-mgmt-education/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-education" -PACKAGE_PPRINT_NAME = "Education Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/evaluation/azure-ai-evaluation/pyproject.toml b/sdk/evaluation/azure-ai-evaluation/pyproject.toml index 346201efb6f9..45c5caadb9db 100644 --- a/sdk/evaluation/azure-ai-evaluation/pyproject.toml +++ b/sdk/evaluation/azure-ai-evaluation/pyproject.toml @@ -1,3 +1,65 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-evaluation" +authors = [ + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, +] +description = "Microsoft Azure Evaluation Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Operating System :: OS Independent", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "pyjwt>=2.8.0", + "azure-identity>=1.19.0", + "azure-core>=1.31.0", + "nltk>=3.9.1", + "azure-storage-blob>=12.19.0", + "httpx>=0.27.2,<1", + "pandas>=2.1.2,<3.0.0;python_version<\"3.13\"", + "pandas>=2.2.3,<3.0.0;python_version==\"3.13\"", + "pandas>=2.3.3,<3.0.0;python_version>=\"3.14\"", + "openai>=1.108.0", + "ruamel.yaml>=0.17.10,<1.0.0", + "msrest>=0.6.21", + "Jinja2>=3.1.6", + "aiohttp>=3.0", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +redteam = [ + "pyrit==0.11.0;python_version>=\"3.10\"", +] +opentelemetry = [ + "opentelemetry-sdk>=1.17.0,<1.39.0", + "azure-monitor-opentelemetry-exporter>=1.0.0b17", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] mypy = false pyright = false @@ -9,15 +71,51 @@ whl_no_aio = false [tool.isort] profile = "black" line_length = 120 -known_first_party = ["azure"] +known_first_party = [ + "azure", +] filter_files = true extend_skip_glob = [ - "*/_vendor/*", - "*/_generated/*", - "*/_restclient/*", - "*/doc/*", - "*/.tox/*", + "*/_vendor/*", + "*/_generated/*", + "*/_restclient/*", + "*/doc/*", + "*/.tox/*", ] [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.ai.evaluation._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests*", + "azure", + "azure.ai", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] +"azure.ai.evaluation.simulator._prompty" = [ + "*.prompty", +] +"azure.ai.evaluation.simulator._data_sources" = [ + "*.json", +] +"azure.ai.evaluation._common.raiclient" = [ + "**/*.py", +] + +[packaging] +auto_update = false diff --git a/sdk/evaluation/azure-ai-evaluation/sdk_packaging.toml b/sdk/evaluation/azure-ai-evaluation/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/evaluation/azure-ai-evaluation/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/evaluation/azure-ai-evaluation/setup.py b/sdk/evaluation/azure-ai-evaluation/setup.py deleted file mode 100644 index 6b4701fd0a39..000000000000 --- a/sdk/evaluation/azure-ai-evaluation/setup.py +++ /dev/null @@ -1,101 +0,0 @@ -# --------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# --------------------------------------------------------- - -# cspell:ignore ruamel - -import os -import re -from io import open -from typing import Any, Match, cast - -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-ai-evaluation" -PACKAGE_PPRINT_NAME = "Evaluation" - -# a-b-c => a/b/c -PACKAGE_FOLDER_PATH = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -NAMESPACE_NAME = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(PACKAGE_FOLDER_PATH, "_version.py"), "r") as fd: - version = cast(Match[Any], re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE)).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Library for Python".format(PACKAGE_PPRINT_NAME), - long_description_content_type="text/markdown", - long_description=readme + "\n\n" + changelog, - license="MIT License", - author="Microsoft Corporation", - author_email="azuresdkengsysadmins@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - ], - zip_safe=False, - include_package_data=True, - packages=find_packages( - exclude=[ - "tests*", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.ai", - ] - ), - python_requires=">=3.9", - install_requires=[ - "pyjwt>=2.8.0", - # pickle support for credentials was added to this release - "azure-identity>=1.19.0", - "azure-core>=1.31.0", - "nltk>=3.9.1", - "azure-storage-blob>=12.19.0", - "httpx>=0.27.2,<1", - # Dependencies added since Promptflow will soon be made optional - 'pandas>=2.1.2,<3.0.0;python_version<"3.13"', - 'pandas>=2.2.3,<3.0.0;python_version=="3.13"', - 'pandas>=2.3.3,<3.0.0;python_version>="3.14"', - "openai>=1.108.0", - "ruamel.yaml>=0.17.10,<1.0.0", - "msrest>=0.6.21", - "Jinja2>=3.1.6", - "aiohttp>=3.0", - ], - extras_require={ - "redteam": ['pyrit==0.11.0;python_version>="3.10"'], - # Cap opentelemetry-sdk<1.39.0: v1.39.0+ removed LogData from opentelemetry.sdk._logs, - # breaking azure-monitor-opentelemetry-exporter 1.0.0b45. See https://github.com/Azure/azure-sdk-for-python/issues/44236 - "opentelemetry": ["opentelemetry-sdk>=1.17.0,<1.39.0", "azure-monitor-opentelemetry-exporter>=1.0.0b17"], - }, - project_urls={ - "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", - "Source": "https://github.com/Azure/azure-sdk-for-python", - }, - package_data={ - "pytyped": ["py.typed"], - "azure.ai.evaluation.simulator._prompty": ["*.prompty"], - "azure.ai.evaluation.simulator._data_sources": ["*.json"], - "azure.ai.evaluation._common.raiclient": ["**/*.py"], - }, -) diff --git a/sdk/eventgrid/azure-eventgrid/pyproject.toml b/sdk/eventgrid/azure-eventgrid/pyproject.toml index a5bdfc226cb5..733e9fd29090 100644 --- a/sdk/eventgrid/azure-eventgrid/pyproject.toml +++ b/sdk/eventgrid/azure-eventgrid/pyproject.toml @@ -1,5 +1,76 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-eventgrid" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Event Grid Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.eventgrid._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", +] + +[tool.setuptools.package-data] +"azure.eventgrid" = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-eventgrid" +package_pprint_name = "Event Grid" +package_doc_id = "event-grid" +is_stable = false +is_arm = false diff --git a/sdk/eventgrid/azure-eventgrid/sdk_packaging.toml b/sdk/eventgrid/azure-eventgrid/sdk_packaging.toml deleted file mode 100644 index 1e8195545639..000000000000 --- a/sdk/eventgrid/azure-eventgrid/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-eventgrid" -package_pprint_name = "Event Grid" -package_doc_id = "event-grid" -is_stable = false -is_arm = false diff --git a/sdk/eventgrid/azure-eventgrid/setup.py b/sdk/eventgrid/azure-eventgrid/setup.py deleted file mode 100644 index b88a566aff72..000000000000 --- a/sdk/eventgrid/azure-eventgrid/setup.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-eventgrid" -PACKAGE_PPRINT_NAME = "Azure Event Grid" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - ] - ), - include_package_data=True, - package_data={ - "azure.eventgrid": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/eventgrid/azure-mgmt-eventgrid/pyproject.toml b/sdk/eventgrid/azure-mgmt-eventgrid/pyproject.toml index 540da07d41af..ee7ef4d6ce1b 100644 --- a/sdk/eventgrid/azure-mgmt-eventgrid/pyproject.toml +++ b/sdk/eventgrid/azure-mgmt-eventgrid/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-eventgrid" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Event Grid Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.eventgrid._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-eventgrid" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Event Grid Management" +package_doc_id = "event-grid" +is_stable = false +is_arm = true +sample_link = "" +title = "EventGridManagementClient" diff --git a/sdk/eventgrid/azure-mgmt-eventgrid/sdk_packaging.toml b/sdk/eventgrid/azure-mgmt-eventgrid/sdk_packaging.toml deleted file mode 100644 index 3e7a8d60a47b..000000000000 --- a/sdk/eventgrid/azure-mgmt-eventgrid/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-eventgrid" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Event Grid Management" -package_doc_id = "event-grid" -is_stable = false -is_arm = true -sample_link = "" -title = "EventGridManagementClient" diff --git a/sdk/eventgrid/azure-mgmt-eventgrid/setup.py b/sdk/eventgrid/azure-mgmt-eventgrid/setup.py deleted file mode 100644 index 63f21ef172bd..000000000000 --- a/sdk/eventgrid/azure-mgmt-eventgrid/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-eventgrid" -PACKAGE_PPRINT_NAME = "Event Grid Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/pyproject.toml b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/pyproject.toml index 0d36263e2328..90cdf7c3d574 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/pyproject.toml +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/pyproject.toml @@ -1,14 +1,20 @@ [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-eventhub-checkpointstoreblob-aio" authors = [ - {name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com"}, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Azure Event Hubs checkpointer implementation with Blob Storage Client Library for Python" -keywords = ["azure", "azure sdk"] +keywords = [ + "azure", + "azure sdk", +] requires-python = ">=3.9" license = "MIT" classifiers = [ @@ -30,20 +36,37 @@ dependencies = [ "azure-eventhub>=5.0.0", "aiohttp>=3.11.0", ] -dynamic = ["version", "readme"] +dynamic = [ + "version", + "readme", +] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" -[tool.setuptools.dynamic] -version = {attr = "azure.eventhub.extensions.checkpointstoreblobaio._version.VERSION"} -readme = {file = ["README.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.eventhub.extensions.checkpointstoreblobaio._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] -exclude = ["samples*", "tests*", "doc*", "azure", "azure.eventhub", "azure.eventhub.extensions"] +exclude = [ + "samples*", + "tests*", + "doc*", + "azure", + "azure.eventhub", + "azure.eventhub.extensions", +] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] mypy = true @@ -59,3 +82,6 @@ black = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-eventhub" + +[packaging] +auto_update = false diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/sdk_packaging.toml b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob/pyproject.toml b/sdk/eventhub/azure-eventhub-checkpointstoreblob/pyproject.toml index f3facdb5f1c7..73b858f8d50b 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob/pyproject.toml +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob/pyproject.toml @@ -1,14 +1,20 @@ [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-eventhub-checkpointstoreblob" authors = [ - {name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com"}, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Azure Event Hubs checkpointer implementation with Blob Storage Client Library for Python" -keywords = ["azure", "azure sdk"] +keywords = [ + "azure", + "azure sdk", +] requires-python = ">=3.9" license = "MIT" classifiers = [ @@ -29,20 +35,37 @@ dependencies = [ "isodate>=0.6.1", "azure-eventhub>=5.0.0", ] -dynamic = ["version", "readme"] +dynamic = [ + "version", + "readme", +] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" -[tool.setuptools.dynamic] -version = {attr = "azure.eventhub.extensions.checkpointstoreblob._version.VERSION"} -readme = {file = ["README.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.eventhub.extensions.checkpointstoreblob._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] -exclude = ["samples*", "tests*", "doc*", "azure", "azure.eventhub", "azure.eventhub.extensions"] +exclude = [ + "samples*", + "tests*", + "doc*", + "azure", + "azure.eventhub", + "azure.eventhub.extensions", +] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] mypy = true @@ -55,3 +78,6 @@ black = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-eventhub" + +[packaging] +auto_update = false diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob/sdk_packaging.toml b/sdk/eventhub/azure-eventhub-checkpointstoreblob/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/eventhub/azure-eventhub-checkpointstoretable/pyproject.toml b/sdk/eventhub/azure-eventhub-checkpointstoretable/pyproject.toml index edc65ddaa92a..40eeb2295c1e 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoretable/pyproject.toml +++ b/sdk/eventhub/azure-eventhub-checkpointstoretable/pyproject.toml @@ -1,3 +1,61 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-eventhub-checkpointstoretable" +authors = [ + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, +] +description = "Microsoft Azure Event Hubs checkpointer implementation with Azure Table Storage Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.14.0", + "azure-eventhub<6.0.0,>=5.0.0", + "msrest>=0.6.21", + "azure-eventhub<6.0.0,>=5.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +":python_version<'3.0'" = [ + "futures", + "azure-data-nspkg<2.0.0,>=1.0.0", +] +":python_version<'3.4'" = [ + "enum34>=1.0.4", +] +":python_version<'3.5'" = [ + "typing", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] mypy = false pyright = false @@ -6,3 +64,29 @@ verifytypes = false pylint = false black = false ci_enabled = false + +[tool.setuptools.dynamic.version] +attr = "azure.eventhub.extensions.checkpointstoretable._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "samples", + "azure", + "azure.eventhub", + "azure.eventhub.extensions", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/eventhub/azure-eventhub-checkpointstoretable/sdk_packaging.toml b/sdk/eventhub/azure-eventhub-checkpointstoretable/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/eventhub/azure-eventhub-checkpointstoretable/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/eventhub/azure-eventhub-checkpointstoretable/setup.py b/sdk/eventhub/azure-eventhub-checkpointstoretable/setup.py deleted file mode 100644 index 9917ff920a14..000000000000 --- a/sdk/eventhub/azure-eventhub-checkpointstoretable/setup.py +++ /dev/null @@ -1,91 +0,0 @@ -#!/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, find_packages -import os -from io import open -import re - -PACKAGE_NAME = "azure-eventhub-checkpointstoretable" -PACKAGE_PPRINT_NAME = "Event Hubs checkpointer implementation with Azure Table Storage" - -# a-b-c => a/b/c -package_folder_path = "azure/eventhub/extensions/checkpointstoretable" -# a-b-c => a.b.c -namespace_name = "azure.eventhub.extensions.checkpointstoretable" - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - long_description = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - # ensure that these are updated to reflect the package owners' information - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - author="Microsoft Corporation", - author_email="azuresdkengsysadmins@microsoft.com", - license="MIT License", - # ensure that the development status reflects the status of your package - classifiers=[ - "Development Status :: 7 - Inactive", - "Programming Language :: Python", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - "License :: OSI Approved :: MIT License", - ], - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - # This means any folder structure that only consists of a __init__.py. - # For example, for storage, this would mean adding 'azure.storage' - 'samples', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.eventhub', - 'azure.eventhub.extensions', - ] - ), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "azure-core<2.0.0,>=1.14.0", - 'azure-eventhub<6.0.0,>=5.0.0', - 'msrest>=0.6.21', - 'azure-eventhub<6.0.0,>=5.0.0', - ], - extras_require={ - ":python_version<'3.0'": ["azure-nspkg"], - ":python_version<'3.0'": ['futures', 'azure-data-nspkg<2.0.0,>=1.0.0'], - ":python_version<'3.4'": ['enum34>=1.0.4'], - ":python_version<'3.5'": ["typing"], - }, - project_urls={ - "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", - "Source": "https://github.com/Azure/azure-sdk-for-python", - }, -) \ No newline at end of file diff --git a/sdk/eventhub/azure-eventhub/pyproject.toml b/sdk/eventhub/azure-eventhub/pyproject.toml index 7461584706ab..49cfb402b916 100644 --- a/sdk/eventhub/azure-eventhub/pyproject.toml +++ b/sdk/eventhub/azure-eventhub/pyproject.toml @@ -1,14 +1,20 @@ [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-eventhub" authors = [ - {name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com"}, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Azure Event Hubs Client Library for Python" -keywords = ["azure", "azure sdk"] +keywords = [ + "azure", + "azure sdk", +] requires-python = ">=3.9" license = "MIT" classifiers = [ @@ -26,20 +32,36 @@ dependencies = [ "azure-core>=1.27.0", "typing-extensions>=4.0.1", ] -dynamic = ["version", "readme"] +dynamic = [ + "version", + "readme", +] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" -[tool.setuptools.dynamic] -version = {attr = "azure.eventhub._version.VERSION"} -readme = {file = ["README.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.eventhub._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] -exclude = ["samples*", "tests*", "doc*", "stress*", "azure"] +exclude = [ + "samples*", + "tests*", + "doc*", + "stress*", + "azure", +] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pyright = false @@ -50,3 +72,6 @@ pylint = true [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-eventhub" + +[packaging] +auto_update = false diff --git a/sdk/eventhub/azure-eventhub/sdk_packaging.toml b/sdk/eventhub/azure-eventhub/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/eventhub/azure-eventhub/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/eventhub/azure-mgmt-eventhub/pyproject.toml b/sdk/eventhub/azure-mgmt-eventhub/pyproject.toml index cc91747b453d..f9c1a1c4d5ca 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/pyproject.toml +++ b/sdk/eventhub/azure-mgmt-eventhub/pyproject.toml @@ -1,3 +1,46 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-eventhub" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Event Hub Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false black = false @@ -5,3 +48,33 @@ mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.eventhub._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-eventhub" +package_pprint_name = "Event Hub Management" +package_doc_id = "event-hub?view=azure-python-preview" +is_stable = false +sample_link = "" +title = "EventHubManagementClient" diff --git a/sdk/eventhub/azure-mgmt-eventhub/sdk_packaging.toml b/sdk/eventhub/azure-mgmt-eventhub/sdk_packaging.toml deleted file mode 100644 index 59dace5d20ad..000000000000 --- a/sdk/eventhub/azure-mgmt-eventhub/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-eventhub" -package_pprint_name = "Event Hub Management" -package_doc_id = "event-hub?view=azure-python-preview" -is_stable = false -sample_link = "" -title = "EventHubManagementClient" diff --git a/sdk/eventhub/azure-mgmt-eventhub/setup.py b/sdk/eventhub/azure-mgmt-eventhub/setup.py deleted file mode 100644 index b02f7e29837a..000000000000 --- a/sdk/eventhub/azure-mgmt-eventhub/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-eventhub" -PACKAGE_PPRINT_NAME = "Event Hub Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/extendedlocation/azure-mgmt-extendedlocation/pyproject.toml b/sdk/extendedlocation/azure-mgmt-extendedlocation/pyproject.toml index 540da07d41af..8cd5a18a2a47 100644 --- a/sdk/extendedlocation/azure-mgmt-extendedlocation/pyproject.toml +++ b/sdk/extendedlocation/azure-mgmt-extendedlocation/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-extendedlocation" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Extended Location Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.extendedlocation._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-extendedlocation" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Extended Location Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "CustomLocations" diff --git a/sdk/extendedlocation/azure-mgmt-extendedlocation/sdk_packaging.toml b/sdk/extendedlocation/azure-mgmt-extendedlocation/sdk_packaging.toml deleted file mode 100644 index 3911a36b1db5..000000000000 --- a/sdk/extendedlocation/azure-mgmt-extendedlocation/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-extendedlocation" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Extended Location Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "CustomLocations" diff --git a/sdk/extendedlocation/azure-mgmt-extendedlocation/setup.py b/sdk/extendedlocation/azure-mgmt-extendedlocation/setup.py deleted file mode 100644 index 99342adcbb89..000000000000 --- a/sdk/extendedlocation/azure-mgmt-extendedlocation/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-extendedlocation" -PACKAGE_PPRINT_NAME = "Extended Location Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/fabric/azure-mgmt-fabric/pyproject.toml b/sdk/fabric/azure-mgmt-fabric/pyproject.toml index 540da07d41af..0cc6ebf28bd0 100644 --- a/sdk/fabric/azure-mgmt-fabric/pyproject.toml +++ b/sdk/fabric/azure-mgmt-fabric/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-fabric" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Fabric Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.fabric._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-fabric" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Fabric Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "FabricMgmtClient" diff --git a/sdk/fabric/azure-mgmt-fabric/sdk_packaging.toml b/sdk/fabric/azure-mgmt-fabric/sdk_packaging.toml deleted file mode 100644 index c79e9166bd21..000000000000 --- a/sdk/fabric/azure-mgmt-fabric/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-fabric" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Fabric Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "FabricMgmtClient" diff --git a/sdk/fabric/azure-mgmt-fabric/setup.py b/sdk/fabric/azure-mgmt-fabric/setup.py deleted file mode 100644 index 56b5f718a923..000000000000 --- a/sdk/fabric/azure-mgmt-fabric/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-fabric" -PACKAGE_PPRINT_NAME = "Fabric Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/face/azure-ai-vision-face/pyproject.toml b/sdk/face/azure-ai-vision-face/pyproject.toml index d355965d8637..3e8ab903636c 100644 --- a/sdk/face/azure-ai-vision-face/pyproject.toml +++ b/sdk/face/azure-ai-vision-face/pyproject.toml @@ -1,2 +1,70 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-vision-face" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Ai Vision Face Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.ai.vision.face._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", + "azure.ai.vision", +] + +[tool.setuptools.package-data] +"azure.ai.vision.face" = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/face/azure-ai-vision-face/sdk_packaging.toml b/sdk/face/azure-ai-vision-face/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/face/azure-ai-vision-face/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/face/azure-ai-vision-face/setup.py b/sdk/face/azure-ai-vision-face/setup.py deleted file mode 100644 index 85c0e4ceb836..000000000000 --- a/sdk/face/azure-ai-vision-face/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-ai-vision-face" -PACKAGE_PPRINT_NAME = "Azure Ai Vision Face" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.ai", - "azure.ai.vision", - ] - ), - include_package_data=True, - package_data={ - "azure.ai.vision.face": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/fluidrelay/azure-mgmt-fluidrelay/pyproject.toml b/sdk/fluidrelay/azure-mgmt-fluidrelay/pyproject.toml index 540da07d41af..8d6e7ae765d1 100644 --- a/sdk/fluidrelay/azure-mgmt-fluidrelay/pyproject.toml +++ b/sdk/fluidrelay/azure-mgmt-fluidrelay/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-fluidrelay" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Fluid Relay Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.fluidrelay._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-fluidrelay" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Fluid Relay Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "FluidRelayManagementClient" diff --git a/sdk/fluidrelay/azure-mgmt-fluidrelay/sdk_packaging.toml b/sdk/fluidrelay/azure-mgmt-fluidrelay/sdk_packaging.toml deleted file mode 100644 index e896e051f0f5..000000000000 --- a/sdk/fluidrelay/azure-mgmt-fluidrelay/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-fluidrelay" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Fluid Relay Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "FluidRelayManagementClient" diff --git a/sdk/fluidrelay/azure-mgmt-fluidrelay/setup.py b/sdk/fluidrelay/azure-mgmt-fluidrelay/setup.py deleted file mode 100644 index a4b9e06783c6..000000000000 --- a/sdk/fluidrelay/azure-mgmt-fluidrelay/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-fluidrelay" -PACKAGE_PPRINT_NAME = "Fluid Relay Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/pyproject.toml b/sdk/formrecognizer/azure-ai-formrecognizer/pyproject.toml index 4ff4fd3c9046..0ae096d02590 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/pyproject.toml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/pyproject.toml @@ -1,6 +1,87 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-formrecognizer" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Form Recognizer Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "form recognizer", + "cognitive services", + "document analyzer", + "document analysis", + "applied ai", + "azure sdk", +] +dependencies = [ + "azure-core>=1.30.0", + "msrest>=0.6.21", + "azure-common>=1.1", + "typing-extensions>=4.0.1", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false pylint = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.ai.formrecognizer._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", +] + +[tool.setuptools.package-data] +"azure.ai.formrecognizer" = [ + "py.typed", +] + +[packaging] +package_name = "azure-ai-formrecognizer" +package_nspkg = "azure-ai-nspkg" +package_pprint_name = "Cognitive Services Form Recognizer" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/sdk_packaging.toml b/sdk/formrecognizer/azure-ai-formrecognizer/sdk_packaging.toml deleted file mode 100644 index 3f3c5ea12e4e..000000000000 --- a/sdk/formrecognizer/azure-ai-formrecognizer/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-ai-formrecognizer" -package_nspkg = "azure-ai-nspkg" -package_pprint_name = "Cognitive Services Form Recognizer" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -auto_update = false diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/setup.py b/sdk/formrecognizer/azure-ai-formrecognizer/setup.py deleted file mode 100644 index ca595a58b1a3..000000000000 --- a/sdk/formrecognizer/azure-ai-formrecognizer/setup.py +++ /dev/null @@ -1,77 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-ai-formrecognizer" -PACKAGE_PPRINT_NAME = "Azure Form Recognizer" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description='Microsoft {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, form recognizer, cognitive services, document analyzer, document analysis, applied ai, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.ai', - ]), - package_data={ - 'azure.ai.formrecognizer': ['py.typed'], - }, - python_requires=">=3.8", - install_requires=[ - "azure-core>=1.30.0", - "msrest>=0.6.21", - 'azure-common>=1.1', - "typing-extensions>=4.0.1", - ] -) diff --git a/sdk/graphservices/azure-mgmt-graphservices/pyproject.toml b/sdk/graphservices/azure-mgmt-graphservices/pyproject.toml index 540da07d41af..f7aa46123a3a 100644 --- a/sdk/graphservices/azure-mgmt-graphservices/pyproject.toml +++ b/sdk/graphservices/azure-mgmt-graphservices/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-graphservices" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Graphservices Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.graphservices._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-graphservices" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Graphservices Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "GraphServicesMgmtClient" diff --git a/sdk/graphservices/azure-mgmt-graphservices/sdk_packaging.toml b/sdk/graphservices/azure-mgmt-graphservices/sdk_packaging.toml deleted file mode 100644 index 70ed84ca2387..000000000000 --- a/sdk/graphservices/azure-mgmt-graphservices/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-graphservices" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Graphservices Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "GraphServicesMgmtClient" diff --git a/sdk/graphservices/azure-mgmt-graphservices/setup.py b/sdk/graphservices/azure-mgmt-graphservices/setup.py deleted file mode 100644 index a95d225b369f..000000000000 --- a/sdk/graphservices/azure-mgmt-graphservices/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-graphservices" -PACKAGE_PPRINT_NAME = "Graphservices Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/pyproject.toml b/sdk/hanaonazure/azure-mgmt-hanaonazure/pyproject.toml index 540da07d41af..d6474074003c 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/pyproject.toml +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/pyproject.toml @@ -1,6 +1,75 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-hanaonazure" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure SAP Hana on Azure Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.hanaonazure._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[packaging] +package_name = "azure-mgmt-hanaonazure" +package_pprint_name = "SAP Hana on Azure Management" +package_doc_id = "hanaonazure" +is_stable = false +is_arm = true +auto_update = false +title = "HanaManagementClient" diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/sdk_packaging.toml b/sdk/hanaonazure/azure-mgmt-hanaonazure/sdk_packaging.toml deleted file mode 100644 index a704e88b9caa..000000000000 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-hanaonazure" -package_pprint_name = "SAP Hana on Azure Management" -package_doc_id = "hanaonazure" -is_stable = false -is_arm = true -auto_update=false -title = "HanaManagementClient" diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/setup.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/setup.py deleted file mode 100644 index 8a6c46050b52..000000000000 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/setup.py +++ /dev/null @@ -1,74 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-hanaonazure" -PACKAGE_PPRINT_NAME = "SAP Hana on Azure Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - install_requires=[ - 'msrest>=0.6.21', - 'azure-common~=1.1', - 'azure-mgmt-core>=1.3.0,<2.0.0', - ], - python_requires=">=3.6" -) diff --git a/sdk/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/pyproject.toml b/sdk/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/pyproject.toml index 540da07d41af..55a4e867e1ae 100644 --- a/sdk/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/pyproject.toml +++ b/sdk/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-hardwaresecuritymodules" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Hardwaresecuritymodules Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.hardwaresecuritymodules._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-hardwaresecuritymodules" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Hardwaresecuritymodules Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "HardwareSecurityModulesMgmtClient" diff --git a/sdk/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/sdk_packaging.toml b/sdk/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/sdk_packaging.toml deleted file mode 100644 index e219f1190845..000000000000 --- a/sdk/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-hardwaresecuritymodules" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Hardwaresecuritymodules Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "HardwareSecurityModulesMgmtClient" diff --git a/sdk/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/setup.py b/sdk/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/setup.py deleted file mode 100644 index 84d9f3f9ccae..000000000000 --- a/sdk/hardwaresecuritymodules/azure-mgmt-hardwaresecuritymodules/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-hardwaresecuritymodules" -PACKAGE_PPRINT_NAME = "Hardwaresecuritymodules Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/healthcareapis/azure-mgmt-healthcareapis/pyproject.toml b/sdk/healthcareapis/azure-mgmt-healthcareapis/pyproject.toml index 540da07d41af..bf9a6b00fa9d 100644 --- a/sdk/healthcareapis/azure-mgmt-healthcareapis/pyproject.toml +++ b/sdk/healthcareapis/azure-mgmt-healthcareapis/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-healthcareapis" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Health Care Apis Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.healthcareapis._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-healthcareapis" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Health Care Apis Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "HealthcareApisManagementClient" diff --git a/sdk/healthcareapis/azure-mgmt-healthcareapis/sdk_packaging.toml b/sdk/healthcareapis/azure-mgmt-healthcareapis/sdk_packaging.toml deleted file mode 100644 index cdc83fc0d8b3..000000000000 --- a/sdk/healthcareapis/azure-mgmt-healthcareapis/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-healthcareapis" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Health Care Apis Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "HealthcareApisManagementClient" diff --git a/sdk/healthcareapis/azure-mgmt-healthcareapis/setup.py b/sdk/healthcareapis/azure-mgmt-healthcareapis/setup.py deleted file mode 100644 index 0fb88ebc1513..000000000000 --- a/sdk/healthcareapis/azure-mgmt-healthcareapis/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-healthcareapis" -PACKAGE_PPRINT_NAME = "Health Care Apis Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/healthdataaiservices/azure-health-deidentification/pyproject.toml b/sdk/healthdataaiservices/azure-health-deidentification/pyproject.toml index f1c500aa2f77..91a249e056c2 100644 --- a/sdk/healthdataaiservices/azure-health-deidentification/pyproject.toml +++ b/sdk/healthdataaiservices/azure-health-deidentification/pyproject.toml @@ -1,5 +1,71 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-health-deidentification" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Azure Health Deidentification Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] black = true [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.health.deidentification._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.health", +] + +[tool.setuptools.package-data] +"azure.health.deidentification" = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/healthdataaiservices/azure-health-deidentification/sdk_packaging.toml b/sdk/healthdataaiservices/azure-health-deidentification/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/healthdataaiservices/azure-health-deidentification/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/healthdataaiservices/azure-health-deidentification/setup.py b/sdk/healthdataaiservices/azure-health-deidentification/setup.py deleted file mode 100644 index 1fd15892a972..000000000000 --- a/sdk/healthdataaiservices/azure-health-deidentification/setup.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-health-deidentification" -PACKAGE_PPRINT_NAME = "Azure Health Deidentification" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.health", - ] - ), - include_package_data=True, - package_data={ - "azure.health.deidentification": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/pyproject.toml b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/pyproject.toml index 540da07d41af..348695cc8550 100644 --- a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/pyproject.toml +++ b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-healthdataaiservices" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Healthdataaiservices Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.healthdataaiservices._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-healthdataaiservices" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Healthdataaiservices Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "HealthDataAIServicesMgmtClient" diff --git a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/sdk_packaging.toml b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/sdk_packaging.toml deleted file mode 100644 index 11ec77d1d0da..000000000000 --- a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-healthdataaiservices" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Healthdataaiservices Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "HealthDataAIServicesMgmtClient" diff --git a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/setup.py b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/setup.py deleted file mode 100644 index e34f37b6dc01..000000000000 --- a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-healthdataaiservices" -PACKAGE_PPRINT_NAME = "Healthdataaiservices Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/healthinsights/azure-healthinsights-cancerprofiling/pyproject.toml b/sdk/healthinsights/azure-healthinsights-cancerprofiling/pyproject.toml index 9cb578ae2491..8134212bbe2e 100644 --- a/sdk/healthinsights/azure-healthinsights-cancerprofiling/pyproject.toml +++ b/sdk/healthinsights/azure-healthinsights-cancerprofiling/pyproject.toml @@ -1,3 +1,70 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-healthinsights-cancerprofiling" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Cognitive Services Health Insights Cancer Profilings Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-core<2.0.0,>=1.24.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pylint = false pyright = false + +[tool.setuptools.dynamic.version] +attr = "azure.healthinsights.cancerprofiling._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.healthinsights", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/healthinsights/azure-healthinsights-cancerprofiling/sdk_packaging.toml b/sdk/healthinsights/azure-healthinsights-cancerprofiling/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/healthinsights/azure-healthinsights-cancerprofiling/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/healthinsights/azure-healthinsights-cancerprofiling/setup.py b/sdk/healthinsights/azure-healthinsights-cancerprofiling/setup.py deleted file mode 100644 index 661aee6d571a..000000000000 --- a/sdk/healthinsights/azure-healthinsights-cancerprofiling/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-healthinsights-cancerprofiling" -PACKAGE_PPRINT_NAME = "Cognitive Services Health Insights Cancer Profilings" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.healthinsights", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.24.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/healthinsights/azure-healthinsights-clinicalmatching/pyproject.toml b/sdk/healthinsights/azure-healthinsights-clinicalmatching/pyproject.toml index 68074b773430..7de60b19bc06 100644 --- a/sdk/healthinsights/azure-healthinsights-clinicalmatching/pyproject.toml +++ b/sdk/healthinsights/azure-healthinsights-clinicalmatching/pyproject.toml @@ -1,4 +1,71 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-healthinsights-clinicalmatching" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Cognitive Services Health Insights Clinical Matching Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-core<2.0.0,>=1.24.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pylint = false pyright = false sphinx = false + +[tool.setuptools.dynamic.version] +attr = "azure.healthinsights.clinicalmatching._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.healthinsights", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/healthinsights/azure-healthinsights-clinicalmatching/sdk_packaging.toml b/sdk/healthinsights/azure-healthinsights-clinicalmatching/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/healthinsights/azure-healthinsights-clinicalmatching/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/healthinsights/azure-healthinsights-clinicalmatching/setup.py b/sdk/healthinsights/azure-healthinsights-clinicalmatching/setup.py deleted file mode 100644 index dcd818c0a978..000000000000 --- a/sdk/healthinsights/azure-healthinsights-clinicalmatching/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-healthinsights-clinicalmatching" -PACKAGE_PPRINT_NAME = "Cognitive Services Health Insights Clinical Matching" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.healthinsights", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.24.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/healthinsights/azure-healthinsights-radiologyinsights/pyproject.toml b/sdk/healthinsights/azure-healthinsights-radiologyinsights/pyproject.toml index 5ae72981116a..9cd561b6d3e5 100644 --- a/sdk/healthinsights/azure-healthinsights-radiologyinsights/pyproject.toml +++ b/sdk/healthinsights/azure-healthinsights-radiologyinsights/pyproject.toml @@ -1,3 +1,69 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-healthinsights-radiologyinsights" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Azure Health Insights - Radiology Insights Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-healthinsights" + +[tool.setuptools.dynamic.version] +attr = "azure.healthinsights.radiologyinsights._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.healthinsights", +] + +[tool.setuptools.package-data] +"azure.healthinsights.radiologyinsights" = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/healthinsights/azure-healthinsights-radiologyinsights/sdk_packaging.toml b/sdk/healthinsights/azure-healthinsights-radiologyinsights/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/healthinsights/azure-healthinsights-radiologyinsights/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/healthinsights/azure-healthinsights-radiologyinsights/setup.py b/sdk/healthinsights/azure-healthinsights-radiologyinsights/setup.py deleted file mode 100644 index 7776e6ff7ab2..000000000000 --- a/sdk/healthinsights/azure-healthinsights-radiologyinsights/setup.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-healthinsights-radiologyinsights" -PACKAGE_PPRINT_NAME = "Azure Health Insights - Radiology Insights" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.healthinsights", - ] - ), - include_package_data=True, - package_data={ - "azure.healthinsights.radiologyinsights": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/pyproject.toml b/sdk/hybridcompute/azure-mgmt-hybridcompute/pyproject.toml index 540da07d41af..e150604767d9 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/pyproject.toml +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-hybridcompute" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Hybrid Compute Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.hybridcompute._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-hybridcompute" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Hybrid Compute Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "HybridComputeManagementClient" diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/sdk_packaging.toml b/sdk/hybridcompute/azure-mgmt-hybridcompute/sdk_packaging.toml deleted file mode 100644 index c8660e2ce35d..000000000000 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-hybridcompute" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Hybrid Compute Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "HybridComputeManagementClient" diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/setup.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/setup.py deleted file mode 100644 index 8051a1c71e22..000000000000 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-hybridcompute" -PACKAGE_PPRINT_NAME = "Hybrid Compute Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/pyproject.toml b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/pyproject.toml index 540da07d41af..e18647717be0 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/pyproject.toml +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-hybridconnectivity" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Hybridconnectivity Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.hybridconnectivity._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-hybridconnectivity" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Hybridconnectivity Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "HybridConnectivityMgmtClient" diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/sdk_packaging.toml b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/sdk_packaging.toml deleted file mode 100644 index 0fdff035cd3b..000000000000 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-hybridconnectivity" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Hybridconnectivity Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "HybridConnectivityMgmtClient" diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/setup.py b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/setup.py deleted file mode 100644 index 2903ec83b38d..000000000000 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-hybridconnectivity" -PACKAGE_PPRINT_NAME = "Hybridconnectivity Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/pyproject.toml b/sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/pyproject.toml index 540da07d41af..80c0502a2b84 100644 --- a/sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/pyproject.toml +++ b/sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-hybridcontainerservice" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Hybridcontainerservice Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.hybridcontainerservice._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-hybridcontainerservice" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Hybridcontainerservice Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "HybridContainerServiceMgmtClient" diff --git a/sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/sdk_packaging.toml b/sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/sdk_packaging.toml deleted file mode 100644 index 390519ea0f74..000000000000 --- a/sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-hybridcontainerservice" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Hybridcontainerservice Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "HybridContainerServiceMgmtClient" diff --git a/sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/setup.py b/sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/setup.py deleted file mode 100644 index 458f47010ff5..000000000000 --- a/sdk/hybridcontainerservice/azure-mgmt-hybridcontainerservice/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-hybridcontainerservice" -PACKAGE_PPRINT_NAME = "Hybridcontainerservice Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/pyproject.toml b/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/pyproject.toml index 540da07d41af..8d1212d8622b 100644 --- a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/pyproject.toml +++ b/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-hybridkubernetes" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Hybrid Kubernetes Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.hybridkubernetes._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-hybridkubernetes" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Hybrid Kubernetes Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "ConnectedKubernetesClient" diff --git a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/sdk_packaging.toml b/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/sdk_packaging.toml deleted file mode 100644 index d9dda0f7a839..000000000000 --- a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-hybridkubernetes" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Hybrid Kubernetes Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "ConnectedKubernetesClient" diff --git a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/setup.py b/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/setup.py deleted file mode 100644 index c866e548806d..000000000000 --- a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-hybridkubernetes" -PACKAGE_PPRINT_NAME = "Hybrid Kubernetes Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/pyproject.toml b/sdk/hybridnetwork/azure-mgmt-hybridnetwork/pyproject.toml index 540da07d41af..03dfc4bde28e 100644 --- a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/pyproject.toml +++ b/sdk/hybridnetwork/azure-mgmt-hybridnetwork/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-hybridnetwork" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Hybrid Network Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.hybridnetwork._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-hybridnetwork" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Hybrid Network Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "HybridNetworkManagementClient" diff --git a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/sdk_packaging.toml b/sdk/hybridnetwork/azure-mgmt-hybridnetwork/sdk_packaging.toml deleted file mode 100644 index 6797b21671f2..000000000000 --- a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-hybridnetwork" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Hybrid Network Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "HybridNetworkManagementClient" diff --git a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/setup.py b/sdk/hybridnetwork/azure-mgmt-hybridnetwork/setup.py deleted file mode 100644 index 79ba55ad4e35..000000000000 --- a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-hybridnetwork" -PACKAGE_PPRINT_NAME = "Hybrid Network Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/identity/azure-identity-broker/pyproject.toml b/sdk/identity/azure-identity-broker/pyproject.toml index dbaae86e8a22..a3a43b5cf265 100644 --- a/sdk/identity/azure-identity-broker/pyproject.toml +++ b/sdk/identity/azure-identity-broker/pyproject.toml @@ -1,14 +1,20 @@ [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-identity-broker" authors = [ - {name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com"}, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Azure Identity Broker plugin for Python" -keywords = ["azure", "azure sdk"] +keywords = [ + "azure", + "azure sdk", +] requires-python = ">=3.9" license = "MIT" classifiers = [ @@ -27,20 +33,33 @@ dependencies = [ "azure-identity<2.0.0,>=1.18.0", "msal[broker]>=1.35.0b1,<2", ] -dynamic = ["version", "readme"] +dynamic = [ + "version", + "readme", +] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.identity.broker._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.identity.broker._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] -include = ["azure.identity.broker"] +include = [ + "azure.identity.broker", +] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pyright = false @@ -48,3 +67,6 @@ black = true [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/identity/azure-identity-broker/sdk_packaging.toml b/sdk/identity/azure-identity-broker/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/identity/azure-identity-broker/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/identity/azure-identity/pyproject.toml b/sdk/identity/azure-identity/pyproject.toml index 12f18848e5ea..9775d0d82942 100644 --- a/sdk/identity/azure-identity/pyproject.toml +++ b/sdk/identity/azure-identity/pyproject.toml @@ -1,14 +1,20 @@ [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-identity" authors = [ - {name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com"}, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Azure Identity Library for Python" -keywords = ["azure", "azure sdk"] +keywords = [ + "azure", + "azure sdk", +] requires-python = ">=3.9" license = "MIT" classifiers = [ @@ -30,20 +36,35 @@ dependencies = [ "msal-extensions>=1.2.0", "typing-extensions>=4.0.0", ] -dynamic = ["version", "readme"] +dynamic = [ + "version", + "readme", +] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.identity._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.identity._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] -exclude = ["tests*", "samples*", "azure"] +exclude = [ + "tests*", + "samples*", + "azure", +] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pyright = false @@ -52,3 +73,6 @@ black = true [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/identity/azure-identity/sdk_packaging.toml b/sdk/identity/azure-identity/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/identity/azure-identity/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/impactreporting/azure-mgmt-impactreporting/pyproject.toml b/sdk/impactreporting/azure-mgmt-impactreporting/pyproject.toml index 42a7f73e0386..89b02c74ce91 100644 --- a/sdk/impactreporting/azure-mgmt-impactreporting/pyproject.toml +++ b/sdk/impactreporting/azure-mgmt-impactreporting/pyproject.toml @@ -1,2 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-impactreporting" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Impactreporting Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.impactreporting._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-impactreporting" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Impactreporting Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "ImpactReportingMgmtClient" diff --git a/sdk/impactreporting/azure-mgmt-impactreporting/sdk_packaging.toml b/sdk/impactreporting/azure-mgmt-impactreporting/sdk_packaging.toml deleted file mode 100644 index af077b35e06a..000000000000 --- a/sdk/impactreporting/azure-mgmt-impactreporting/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-impactreporting" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Impactreporting Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "ImpactReportingMgmtClient" diff --git a/sdk/impactreporting/azure-mgmt-impactreporting/setup.py b/sdk/impactreporting/azure-mgmt-impactreporting/setup.py deleted file mode 100644 index fe9648afa0df..000000000000 --- a/sdk/impactreporting/azure-mgmt-impactreporting/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-impactreporting" -PACKAGE_PPRINT_NAME = "Impactreporting Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/informaticadatamanagement/azure-mgmt-informaticadatamanagement/pyproject.toml b/sdk/informaticadatamanagement/azure-mgmt-informaticadatamanagement/pyproject.toml index 540da07d41af..0c9bcabcf06b 100644 --- a/sdk/informaticadatamanagement/azure-mgmt-informaticadatamanagement/pyproject.toml +++ b/sdk/informaticadatamanagement/azure-mgmt-informaticadatamanagement/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-informaticadatamanagement" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Informaticadatamanagement Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.informaticadatamanagement._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-informaticadatamanagement" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Informaticadatamanagement Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "InformaticaDataMgmtClient" diff --git a/sdk/informaticadatamanagement/azure-mgmt-informaticadatamanagement/sdk_packaging.toml b/sdk/informaticadatamanagement/azure-mgmt-informaticadatamanagement/sdk_packaging.toml deleted file mode 100644 index 941343429a38..000000000000 --- a/sdk/informaticadatamanagement/azure-mgmt-informaticadatamanagement/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-informaticadatamanagement" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Informaticadatamanagement Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "InformaticaDataMgmtClient" diff --git a/sdk/informaticadatamanagement/azure-mgmt-informaticadatamanagement/setup.py b/sdk/informaticadatamanagement/azure-mgmt-informaticadatamanagement/setup.py deleted file mode 100644 index e9caf49a0cb7..000000000000 --- a/sdk/informaticadatamanagement/azure-mgmt-informaticadatamanagement/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-informaticadatamanagement" -PACKAGE_PPRINT_NAME = "Informaticadatamanagement Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/iotfirmwaredefense/azure-mgmt-iotfirmwaredefense/pyproject.toml b/sdk/iotfirmwaredefense/azure-mgmt-iotfirmwaredefense/pyproject.toml index 63266cbdaa62..47af5d196e6f 100644 --- a/sdk/iotfirmwaredefense/azure-mgmt-iotfirmwaredefense/pyproject.toml +++ b/sdk/iotfirmwaredefense/azure-mgmt-iotfirmwaredefense/pyproject.toml @@ -1,3 +1,47 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-iotfirmwaredefense" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Iotfirmwaredefense Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false @@ -5,6 +49,28 @@ pyright = false type_check_samples = false verifytypes = false +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.iotfirmwaredefense._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + [packaging] package_name = "azure-mgmt-iotfirmwaredefense" package_nspkg = "azure-mgmt-nspkg" diff --git a/sdk/iotfirmwaredefense/azure-mgmt-iotfirmwaredefense/setup.py b/sdk/iotfirmwaredefense/azure-mgmt-iotfirmwaredefense/setup.py deleted file mode 100644 index 59f563f8b3aa..000000000000 --- a/sdk/iotfirmwaredefense/azure-mgmt-iotfirmwaredefense/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-iotfirmwaredefense" -PACKAGE_PPRINT_NAME = "Iotfirmwaredefense Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/iothub/azure-iot-deviceprovisioning/pyproject.toml b/sdk/iothub/azure-iot-deviceprovisioning/pyproject.toml index 0891ce3392f5..23f040583cfb 100644 --- a/sdk/iothub/azure-iot-deviceprovisioning/pyproject.toml +++ b/sdk/iothub/azure-iot-deviceprovisioning/pyproject.toml @@ -1,2 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-iot-deviceprovisioning" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure IoT Device Provisioning Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", + "iot", + "dps", + "device", + "provisioning", +] +dependencies = [ + "azure-core<2.0.0,>=1.24.0", + "isodate<1.0.0,>=0.6.1", + "typing-extensions>=4.3.0", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +aio = [ + "azure-core[aio]<2.0.0,>=1.24.0", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pylint = false + +[tool.setuptools.dynamic.version] +attr = "azure.iot.deviceprovisioning._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.iot", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-iot-deviceprovisioning" +package_pprint_name = "IoT Device Provisioning Client" +package_doc_id = "iot" +is_stable = true +is_arm = false +sample_link = "" +title = "DeviceProvisioningClient" diff --git a/sdk/iothub/azure-iot-deviceprovisioning/sdk_packaging.toml b/sdk/iothub/azure-iot-deviceprovisioning/sdk_packaging.toml deleted file mode 100644 index 1c244246d921..000000000000 --- a/sdk/iothub/azure-iot-deviceprovisioning/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-iot-deviceprovisioning" -package_pprint_name = "IoT Device Provisioning Client" -package_doc_id = "iot" -is_stable = true -is_arm = false -sample_link = "" -title = "DeviceProvisioningClient" diff --git a/sdk/iothub/azure-iot-deviceprovisioning/setup.py b/sdk/iothub/azure-iot-deviceprovisioning/setup.py deleted file mode 100644 index b8b4e7e635a6..000000000000 --- a/sdk/iothub/azure-iot-deviceprovisioning/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-iot-deviceprovisioning" -PACKAGE_PPRINT_NAME = "IoT Device Provisioning" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk, iot, dps, device, provisioning", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.iot', - ]), - python_requires=">=3.7", - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "azure-core<2.0.0,>=1.24.0", - "isodate<1.0.0,>=0.6.1", - "typing-extensions>=4.3.0", - ], - extras_require={ - "aio": [ - "azure-core[aio]<2.0.0,>=1.24.0", - ], - }, -) diff --git a/sdk/iothub/azure-mgmt-iotcentral/pyproject.toml b/sdk/iothub/azure-mgmt-iotcentral/pyproject.toml index 540da07d41af..474a1e5b97bb 100644 --- a/sdk/iothub/azure-mgmt-iotcentral/pyproject.toml +++ b/sdk/iothub/azure-mgmt-iotcentral/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-iotcentral" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Iot Central Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.iotcentral._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-iotcentral" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Iot Central Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "IotCentralClient" diff --git a/sdk/iothub/azure-mgmt-iotcentral/sdk_packaging.toml b/sdk/iothub/azure-mgmt-iotcentral/sdk_packaging.toml deleted file mode 100644 index 81aa58551315..000000000000 --- a/sdk/iothub/azure-mgmt-iotcentral/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-iotcentral" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Iot Central Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "IotCentralClient" diff --git a/sdk/iothub/azure-mgmt-iotcentral/setup.py b/sdk/iothub/azure-mgmt-iotcentral/setup.py deleted file mode 100644 index 1fe958db09b5..000000000000 --- a/sdk/iothub/azure-mgmt-iotcentral/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-iotcentral" -PACKAGE_PPRINT_NAME = "Iot Central Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/pyproject.toml b/sdk/iotoperations/azure-mgmt-iotoperations/pyproject.toml index 540da07d41af..181356cd0eba 100644 --- a/sdk/iotoperations/azure-mgmt-iotoperations/pyproject.toml +++ b/sdk/iotoperations/azure-mgmt-iotoperations/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-iotoperations" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Iotoperations Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.iotoperations._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-iotoperations" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Iotoperations Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "IoTOperationsMgmtClient" diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/sdk_packaging.toml b/sdk/iotoperations/azure-mgmt-iotoperations/sdk_packaging.toml deleted file mode 100644 index ab2e907e35c4..000000000000 --- a/sdk/iotoperations/azure-mgmt-iotoperations/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-iotoperations" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Iotoperations Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "IoTOperationsMgmtClient" diff --git a/sdk/iotoperations/azure-mgmt-iotoperations/setup.py b/sdk/iotoperations/azure-mgmt-iotoperations/setup.py deleted file mode 100644 index 87e5dc487a7e..000000000000 --- a/sdk/iotoperations/azure-mgmt-iotoperations/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-iotoperations" -PACKAGE_PPRINT_NAME = "Iotoperations Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/keyvault/azure-keyvault-administration/pyproject.toml b/sdk/keyvault/azure-keyvault-administration/pyproject.toml index a82bda788dee..0763b3ae4503 100644 --- a/sdk/keyvault/azure-keyvault-administration/pyproject.toml +++ b/sdk/keyvault/azure-keyvault-administration/pyproject.toml @@ -1,6 +1,69 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-keyvault-administration" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Key Vault Administration Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.38.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-keyvault" + +[tool.setuptools.dynamic.version] +attr = "azure.keyvault.administration._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "samples", + "tests", + "azure", + "azure.keyvault", +] + +[packaging] +auto_update = false diff --git a/sdk/keyvault/azure-keyvault-administration/sdk_packaging.toml b/sdk/keyvault/azure-keyvault-administration/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/keyvault/azure-keyvault-administration/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/keyvault/azure-keyvault-administration/setup.py b/sdk/keyvault/azure-keyvault-administration/setup.py deleted file mode 100644 index 0edb70640803..000000000000 --- a/sdk/keyvault/azure-keyvault-administration/setup.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-keyvault-administration" -PACKAGE_PPRINT_NAME = "Key Vault Administration" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "samples", - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.keyvault", - ] - ), - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.38.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/keyvault/azure-keyvault-certificates/pyproject.toml b/sdk/keyvault/azure-keyvault-certificates/pyproject.toml index a82bda788dee..854010bf6ab6 100644 --- a/sdk/keyvault/azure-keyvault-certificates/pyproject.toml +++ b/sdk/keyvault/azure-keyvault-certificates/pyproject.toml @@ -1,6 +1,69 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-keyvault-certificates" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Key Vault Certificates Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.31.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-keyvault" + +[tool.setuptools.dynamic.version] +attr = "azure.keyvault.certificates._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "samples", + "tests", + "azure", + "azure.keyvault", +] + +[packaging] +auto_update = false diff --git a/sdk/keyvault/azure-keyvault-certificates/sdk_packaging.toml b/sdk/keyvault/azure-keyvault-certificates/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/keyvault/azure-keyvault-certificates/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/keyvault/azure-keyvault-certificates/setup.py b/sdk/keyvault/azure-keyvault-certificates/setup.py deleted file mode 100644 index b9ea86ee01d9..000000000000 --- a/sdk/keyvault/azure-keyvault-certificates/setup.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-keyvault-certificates" -PACKAGE_PPRINT_NAME = "Key Vault Certificates" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "samples", - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.keyvault", - ] - ), - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.31.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/keyvault/azure-keyvault-keys/pyproject.toml b/sdk/keyvault/azure-keyvault-keys/pyproject.toml index 7caa00c7dd7c..d472ab5bb8c7 100644 --- a/sdk/keyvault/azure-keyvault-keys/pyproject.toml +++ b/sdk/keyvault/azure-keyvault-keys/pyproject.toml @@ -1,16 +1,21 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = [ + "setuptools>=61.0.0", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-keyvault-keys" authors = [ - {name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com"}, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Key Vault Keys Client Library for Python" -keywords = ["azure", "azure sdk"] +keywords = [ + "azure", + "azure sdk", +] requires-python = ">=3.9" -license = {text = "MIT License"} classifiers = [ "Development Status :: 5 - Production/Stable", "Programming Language :: Python", @@ -29,28 +34,55 @@ dependencies = [ "isodate>=0.6.1", "typing-extensions>=4.6.0", ] -dynamic = ["version", "readme"] +dynamic = [ + "version", + "readme", +] + +[project.license] +text = "MIT License" [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" -[tool.setuptools.dynamic] -version = {attr = "azure.keyvault.keys._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.keyvault.keys._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] -exclude = ["samples*", "tests*", "azure", "azure.keyvault"] +exclude = [ + "samples*", + "tests*", + "azure", + "azure.keyvault", +] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pyright = false -[tool.uv.sources] -azure-core = { path = "../../core/azure-core" } -azure-keyvault-nspkg = { path = "../../nspkg/azure-keyvault-nspkg" } -azure-sdk-tools = { path = "../../../eng/tools/azure-sdk-tools" } +[tool.uv.sources.azure-core] +path = "../../core/azure-core" + +[tool.uv.sources.azure-keyvault-nspkg] +path = "../../nspkg/azure-keyvault-nspkg" + +[tool.uv.sources.azure-sdk-tools] +path = "../../../eng/tools/azure-sdk-tools" + +[tool.azure-sdk-conda] +in_bundle = true +bundle_name = "azure-keyvault" [dependency-groups] dev = [ @@ -64,6 +96,5 @@ dev = [ "python-dateutil>=2.8.0", ] -[tool.azure-sdk-conda] -in_bundle = true -bundle_name = "azure-keyvault" +[packaging] +auto_update = false diff --git a/sdk/keyvault/azure-keyvault-keys/sdk_packaging.toml b/sdk/keyvault/azure-keyvault-keys/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/keyvault/azure-keyvault-secrets/pyproject.toml b/sdk/keyvault/azure-keyvault-secrets/pyproject.toml index b66730034d2c..fff3027cc793 100644 --- a/sdk/keyvault/azure-keyvault-secrets/pyproject.toml +++ b/sdk/keyvault/azure-keyvault-secrets/pyproject.toml @@ -1,5 +1,68 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-keyvault-secrets" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Key Vault Secrets Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.31.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-keyvault" + +[tool.setuptools.dynamic.version] +attr = "azure.keyvault.secrets._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "samples", + "tests", + "azure", + "azure.keyvault", +] + +[packaging] +auto_update = false diff --git a/sdk/keyvault/azure-keyvault-secrets/sdk_packaging.toml b/sdk/keyvault/azure-keyvault-secrets/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/keyvault/azure-keyvault-secrets/setup.py b/sdk/keyvault/azure-keyvault-secrets/setup.py deleted file mode 100644 index 62f8b4627517..000000000000 --- a/sdk/keyvault/azure-keyvault-secrets/setup.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-keyvault-secrets" -PACKAGE_PPRINT_NAME = "Key Vault Secrets" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "samples", - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.keyvault", - ] - ), - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.31.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/keyvault/azure-keyvault-securitydomain/pyproject.toml b/sdk/keyvault/azure-keyvault-securitydomain/pyproject.toml new file mode 100644 index 000000000000..41fb28d7e427 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-securitydomain/pyproject.toml @@ -0,0 +1,63 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-keyvault-securitydomain" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Azure Keyvault Securitydomain Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.31.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + +[tool.setuptools.dynamic.version] +attr = "azure.keyvault.securitydomain._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.keyvault", +] + +[tool.setuptools.package-data] +"azure.keyvault.securitydomain" = [ + "py.typed", +] diff --git a/sdk/keyvault/azure-keyvault-securitydomain/setup.py b/sdk/keyvault/azure-keyvault-securitydomain/setup.py deleted file mode 100644 index 227484eaaeda..000000000000 --- a/sdk/keyvault/azure-keyvault-securitydomain/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-keyvault-securitydomain" -PACKAGE_PPRINT_NAME = "Azure Keyvault Securitydomain" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.keyvault", - ] - ), - include_package_data=True, - package_data={ - "azure.keyvault.securitydomain": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.31.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/keyvault/azure-keyvault/pyproject.toml b/sdk/keyvault/azure-keyvault/pyproject.toml index b93c482834e2..a365d35a3b24 100644 --- a/sdk/keyvault/azure-keyvault/pyproject.toml +++ b/sdk/keyvault/azure-keyvault/pyproject.toml @@ -3,3 +3,6 @@ pylint = false [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/keyvault/azure-keyvault/sdk_packaging.toml b/sdk/keyvault/azure-keyvault/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/keyvault/azure-keyvault/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/pyproject.toml b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/pyproject.toml index ee542ddce18b..bf7cfdd9e2ef 100644 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/pyproject.toml +++ b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/pyproject.toml @@ -1,4 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-kubernetesconfiguration-extensions" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Kubernetesconfiguration-extensions Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.kubernetesconfiguration.extensions._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", + "azure.mgmt.kubernetesconfiguration", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-kubernetesconfiguration-extensions" +package_nspkg = "azure-mgmt-kubernetesconfiguration-nspkg" +package_pprint_name = "Kubernetesconfiguration-extensions Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "KubernetesConfigurationExtensionsMgmtClient" diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/sdk_packaging.toml b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/sdk_packaging.toml deleted file mode 100644 index 4d593a6ca657..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-kubernetesconfiguration-extensions" -package_nspkg = "azure-mgmt-kubernetesconfiguration-nspkg" -package_pprint_name = "Kubernetesconfiguration-extensions Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "KubernetesConfigurationExtensionsMgmtClient" diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/setup.py b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/setup.py deleted file mode 100644 index ba737eaa55b7..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-kubernetesconfiguration-extensions" -PACKAGE_PPRINT_NAME = "Kubernetesconfiguration-extensions Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - "azure.mgmt.kubernetesconfiguration", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensiontypes/pyproject.toml b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensiontypes/pyproject.toml index ee542ddce18b..f2c776f0cbef 100644 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensiontypes/pyproject.toml +++ b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensiontypes/pyproject.toml @@ -1,4 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-kubernetesconfiguration-extensiontypes" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Kubernetesconfiguration-extensiontypes Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.kubernetesconfiguration.extensiontypes._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", + "azure.mgmt.kubernetesconfiguration", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-kubernetesconfiguration-extensiontypes" +package_nspkg = "azure-mgmt-kubernetesconfiguration-nspkg" +package_pprint_name = "Kubernetesconfiguration-extensiontypes Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "KubernetesConfigurationExtensionTypesMgmtClient" diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensiontypes/sdk_packaging.toml b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensiontypes/sdk_packaging.toml deleted file mode 100644 index e54e3069c7bd..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensiontypes/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-kubernetesconfiguration-extensiontypes" -package_nspkg = "azure-mgmt-kubernetesconfiguration-nspkg" -package_pprint_name = "Kubernetesconfiguration-extensiontypes Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "KubernetesConfigurationExtensionTypesMgmtClient" diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensiontypes/setup.py b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensiontypes/setup.py deleted file mode 100644 index 408532c9dbdf..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensiontypes/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-kubernetesconfiguration-extensiontypes" -PACKAGE_PPRINT_NAME = "Kubernetesconfiguration-extensiontypes Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - "azure.mgmt.kubernetesconfiguration", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-fluxconfigurations/pyproject.toml b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-fluxconfigurations/pyproject.toml index ee542ddce18b..dc230d1aa529 100644 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-fluxconfigurations/pyproject.toml +++ b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-fluxconfigurations/pyproject.toml @@ -1,4 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-kubernetesconfiguration-fluxconfigurations" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Kubernetesconfiguration-fluxconfigurations Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.kubernetesconfiguration.fluxconfigurations._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", + "azure.mgmt.kubernetesconfiguration", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-kubernetesconfiguration-fluxconfigurations" +package_nspkg = "azure-mgmt-kubernetesconfiguration-nspkg" +package_pprint_name = "Kubernetesconfiguration-fluxconfigurations Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "KubernetesConfigurationFluxConfigurationsMgmtClient" diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-fluxconfigurations/sdk_packaging.toml b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-fluxconfigurations/sdk_packaging.toml deleted file mode 100644 index d63f8dffc0e9..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-fluxconfigurations/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-kubernetesconfiguration-fluxconfigurations" -package_nspkg = "azure-mgmt-kubernetesconfiguration-nspkg" -package_pprint_name = "Kubernetesconfiguration-fluxconfigurations Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "KubernetesConfigurationFluxConfigurationsMgmtClient" diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-fluxconfigurations/setup.py b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-fluxconfigurations/setup.py deleted file mode 100644 index d1b19cf1a1db..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-fluxconfigurations/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-kubernetesconfiguration-fluxconfigurations" -PACKAGE_PPRINT_NAME = "Kubernetesconfiguration-fluxconfigurations Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - "azure.mgmt.kubernetesconfiguration", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-privatelinkscopes/pyproject.toml b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-privatelinkscopes/pyproject.toml index ee542ddce18b..1bff30ed401c 100644 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-privatelinkscopes/pyproject.toml +++ b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-privatelinkscopes/pyproject.toml @@ -1,4 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-kubernetesconfiguration-privatelinkscopes" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Kubernetesconfiguration-privatelinkscopes Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.kubernetesconfiguration.privatelinkscopes._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", + "azure.mgmt.kubernetesconfiguration", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-kubernetesconfiguration-privatelinkscopes" +package_nspkg = "azure-mgmt-kubernetesconfiguration-nspkg" +package_pprint_name = "Kubernetesconfiguration-privatelinkscopes Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "KubernetesConfigurationPrivateLinkScopesMgmtClient" diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-privatelinkscopes/sdk_packaging.toml b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-privatelinkscopes/sdk_packaging.toml deleted file mode 100644 index 81e3e7e743aa..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-privatelinkscopes/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-kubernetesconfiguration-privatelinkscopes" -package_nspkg = "azure-mgmt-kubernetesconfiguration-nspkg" -package_pprint_name = "Kubernetesconfiguration-privatelinkscopes Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "KubernetesConfigurationPrivateLinkScopesMgmtClient" diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-privatelinkscopes/setup.py b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-privatelinkscopes/setup.py deleted file mode 100644 index a6a24cc6936b..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-privatelinkscopes/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-kubernetesconfiguration-privatelinkscopes" -PACKAGE_PPRINT_NAME = "Kubernetesconfiguration-privatelinkscopes Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - "azure.mgmt.kubernetesconfiguration", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/pyproject.toml b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/pyproject.toml index 540da07d41af..4fbb51614f10 100644 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/pyproject.toml +++ b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-kubernetesconfiguration" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Kubernetes Configuration Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.kubernetesconfiguration._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-kubernetesconfiguration" +package_pprint_name = "Kubernetes Configuration Management" +package_doc_id = "" +is_stable = true +title = "SourceControlConfigurationClient" diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/sdk_packaging.toml b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/sdk_packaging.toml deleted file mode 100644 index 6ad12e15bcce..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/sdk_packaging.toml +++ /dev/null @@ -1,6 +0,0 @@ -[packaging] -package_name = "azure-mgmt-kubernetesconfiguration" -package_pprint_name = "Kubernetes Configuration Management" -package_doc_id = "" -is_stable = true -title = "SourceControlConfigurationClient" diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/setup.py b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/setup.py deleted file mode 100644 index a15a937f2162..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-kubernetesconfiguration" -PACKAGE_PPRINT_NAME = "Kubernetes Configuration Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/kusto/azure-mgmt-kusto/pyproject.toml b/sdk/kusto/azure-mgmt-kusto/pyproject.toml index 540da07d41af..9aa225e173ff 100644 --- a/sdk/kusto/azure-mgmt-kusto/pyproject.toml +++ b/sdk/kusto/azure-mgmt-kusto/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-kusto" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Kusto Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.kusto._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-kusto" +package_pprint_name = "Kusto Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "KustoManagementClient" diff --git a/sdk/kusto/azure-mgmt-kusto/sdk_packaging.toml b/sdk/kusto/azure-mgmt-kusto/sdk_packaging.toml deleted file mode 100644 index b83776f978e9..000000000000 --- a/sdk/kusto/azure-mgmt-kusto/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-kusto" -package_pprint_name = "Kusto Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "KustoManagementClient" diff --git a/sdk/kusto/azure-mgmt-kusto/setup.py b/sdk/kusto/azure-mgmt-kusto/setup.py deleted file mode 100644 index 8cb66a3f57c9..000000000000 --- a/sdk/kusto/azure-mgmt-kusto/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-kusto" -PACKAGE_PPRINT_NAME = "Kusto Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/labservices/azure-mgmt-labservices/pyproject.toml b/sdk/labservices/azure-mgmt-labservices/pyproject.toml index 540da07d41af..2e87db35d99c 100644 --- a/sdk/labservices/azure-mgmt-labservices/pyproject.toml +++ b/sdk/labservices/azure-mgmt-labservices/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-labservices" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Lab Services Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.labservices._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-labservices" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Lab Services" +package_doc_id = "" +is_stable = false +is_arm = true +sample_link = "" +title = "ManagedLabsClient" diff --git a/sdk/labservices/azure-mgmt-labservices/sdk_packaging.toml b/sdk/labservices/azure-mgmt-labservices/sdk_packaging.toml deleted file mode 100644 index 4e27a99fdfb3..000000000000 --- a/sdk/labservices/azure-mgmt-labservices/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-labservices" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Lab Services" -package_doc_id = "" -is_stable = false -is_arm = true -sample_link = "" -title = "ManagedLabsClient" diff --git a/sdk/labservices/azure-mgmt-labservices/setup.py b/sdk/labservices/azure-mgmt-labservices/setup.py deleted file mode 100644 index f88511fd8445..000000000000 --- a/sdk/labservices/azure-mgmt-labservices/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-labservices" -PACKAGE_PPRINT_NAME = "Lab Services" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/lambdatesthyperexecute/azure-mgmt-lambdatesthyperexecute/pyproject.toml b/sdk/lambdatesthyperexecute/azure-mgmt-lambdatesthyperexecute/pyproject.toml index 42a7f73e0386..c3c7eab603f3 100644 --- a/sdk/lambdatesthyperexecute/azure-mgmt-lambdatesthyperexecute/pyproject.toml +++ b/sdk/lambdatesthyperexecute/azure-mgmt-lambdatesthyperexecute/pyproject.toml @@ -1,2 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-lambdatesthyperexecute" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Lambdatesthyperexecute Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.lambdatesthyperexecute._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-lambdatesthyperexecute" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Lambdatesthyperexecute Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "LambdaTestHyperExecuteMgmtClient" diff --git a/sdk/lambdatesthyperexecute/azure-mgmt-lambdatesthyperexecute/sdk_packaging.toml b/sdk/lambdatesthyperexecute/azure-mgmt-lambdatesthyperexecute/sdk_packaging.toml deleted file mode 100644 index f7934364b2d6..000000000000 --- a/sdk/lambdatesthyperexecute/azure-mgmt-lambdatesthyperexecute/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-lambdatesthyperexecute" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Lambdatesthyperexecute Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "LambdaTestHyperExecuteMgmtClient" diff --git a/sdk/lambdatesthyperexecute/azure-mgmt-lambdatesthyperexecute/setup.py b/sdk/lambdatesthyperexecute/azure-mgmt-lambdatesthyperexecute/setup.py deleted file mode 100644 index 7a2f44c0716c..000000000000 --- a/sdk/lambdatesthyperexecute/azure-mgmt-lambdatesthyperexecute/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-lambdatesthyperexecute" -PACKAGE_PPRINT_NAME = "Lambdatesthyperexecute Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/largeinstance/azure-mgmt-largeinstance/pyproject.toml b/sdk/largeinstance/azure-mgmt-largeinstance/pyproject.toml index 540da07d41af..4712807a0c94 100644 --- a/sdk/largeinstance/azure-mgmt-largeinstance/pyproject.toml +++ b/sdk/largeinstance/azure-mgmt-largeinstance/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-largeinstance" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Largeinstance Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.largeinstance._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-largeinstance" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Largeinstance Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "LargeInstanceMgmtClient" diff --git a/sdk/largeinstance/azure-mgmt-largeinstance/sdk_packaging.toml b/sdk/largeinstance/azure-mgmt-largeinstance/sdk_packaging.toml deleted file mode 100644 index 46d35f0e6498..000000000000 --- a/sdk/largeinstance/azure-mgmt-largeinstance/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-largeinstance" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Largeinstance Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "LargeInstanceMgmtClient" diff --git a/sdk/largeinstance/azure-mgmt-largeinstance/setup.py b/sdk/largeinstance/azure-mgmt-largeinstance/setup.py deleted file mode 100644 index 93d0bc156e6f..000000000000 --- a/sdk/largeinstance/azure-mgmt-largeinstance/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-largeinstance" -PACKAGE_PPRINT_NAME = "Largeinstance Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/loadtesting/azure-developer-loadtesting/pyproject.toml b/sdk/loadtesting/azure-developer-loadtesting/pyproject.toml index 8035abb3a51e..9f5494b3af50 100644 --- a/sdk/loadtesting/azure-developer-loadtesting/pyproject.toml +++ b/sdk/loadtesting/azure-developer-loadtesting/pyproject.toml @@ -1,6 +1,73 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-developer-loadtesting" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Developer Loadtesting Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pylint = false pyright = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.developer.loadtesting._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.developer", +] + +[tool.setuptools.package-data] +"azure.developer.loadtesting" = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/loadtesting/azure-developer-loadtesting/sdk_packaging.toml b/sdk/loadtesting/azure-developer-loadtesting/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/loadtesting/azure-developer-loadtesting/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/loadtesting/azure-developer-loadtesting/setup.py b/sdk/loadtesting/azure-developer-loadtesting/setup.py deleted file mode 100644 index 0d0752f9040b..000000000000 --- a/sdk/loadtesting/azure-developer-loadtesting/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-developer-loadtesting" -PACKAGE_PPRINT_NAME = "Azure Developer Loadtesting" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.developer", - ] - ), - include_package_data=True, - package_data={ - "azure.developer.loadtesting": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/loadtesting/azure-mgmt-loadtesting/pyproject.toml b/sdk/loadtesting/azure-mgmt-loadtesting/pyproject.toml index 540da07d41af..b4800d051e8f 100644 --- a/sdk/loadtesting/azure-mgmt-loadtesting/pyproject.toml +++ b/sdk/loadtesting/azure-mgmt-loadtesting/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-loadtesting" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Loadtesting Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.loadtesting._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-loadtesting" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Loadtesting Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "LoadTestMgmtClient" diff --git a/sdk/loadtesting/azure-mgmt-loadtesting/sdk_packaging.toml b/sdk/loadtesting/azure-mgmt-loadtesting/sdk_packaging.toml deleted file mode 100644 index c79f52ed7253..000000000000 --- a/sdk/loadtesting/azure-mgmt-loadtesting/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-loadtesting" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Loadtesting Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "LoadTestMgmtClient" diff --git a/sdk/loadtesting/azure-mgmt-loadtesting/setup.py b/sdk/loadtesting/azure-mgmt-loadtesting/setup.py deleted file mode 100644 index 37cf466b6090..000000000000 --- a/sdk/loadtesting/azure-mgmt-loadtesting/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-loadtesting" -PACKAGE_PPRINT_NAME = "Loadtesting Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/logic/azure-mgmt-logic/pyproject.toml b/sdk/logic/azure-mgmt-logic/pyproject.toml index 540da07d41af..4e8f25a83a20 100644 --- a/sdk/logic/azure-mgmt-logic/pyproject.toml +++ b/sdk/logic/azure-mgmt-logic/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-logic" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Logic Apps Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.logic._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-logic" +package_pprint_name = "Logic Apps Management" +package_doc_id = "logic-apps" +is_stable = false +sample_link = "" +title = "LogicManagementClient" diff --git a/sdk/logic/azure-mgmt-logic/sdk_packaging.toml b/sdk/logic/azure-mgmt-logic/sdk_packaging.toml deleted file mode 100644 index c8a8dfbb247e..000000000000 --- a/sdk/logic/azure-mgmt-logic/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-logic" -package_pprint_name = "Logic Apps Management" -package_doc_id = "logic-apps" -is_stable = false -sample_link = "" -title = "LogicManagementClient" diff --git a/sdk/logic/azure-mgmt-logic/setup.py b/sdk/logic/azure-mgmt-logic/setup.py deleted file mode 100644 index afbbb8a53c5b..000000000000 --- a/sdk/logic/azure-mgmt-logic/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-logic" -PACKAGE_PPRINT_NAME = "Logic Apps Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/machinelearning/azure-mgmt-guestconfig/pyproject.toml b/sdk/machinelearning/azure-mgmt-guestconfig/pyproject.toml index 540da07d41af..ae5217d16d40 100644 --- a/sdk/machinelearning/azure-mgmt-guestconfig/pyproject.toml +++ b/sdk/machinelearning/azure-mgmt-guestconfig/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-guestconfig" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Guest Config Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.guestconfig._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-guestconfig" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Guest Config Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "GuestConfigurationClient" diff --git a/sdk/machinelearning/azure-mgmt-guestconfig/sdk_packaging.toml b/sdk/machinelearning/azure-mgmt-guestconfig/sdk_packaging.toml deleted file mode 100644 index 478415b4ae16..000000000000 --- a/sdk/machinelearning/azure-mgmt-guestconfig/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-guestconfig" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Guest Config Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "GuestConfigurationClient" diff --git a/sdk/machinelearning/azure-mgmt-guestconfig/setup.py b/sdk/machinelearning/azure-mgmt-guestconfig/setup.py deleted file mode 100644 index 68d96f700861..000000000000 --- a/sdk/machinelearning/azure-mgmt-guestconfig/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-guestconfig" -PACKAGE_PPRINT_NAME = "Guest Config Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/machinelearning/azure-mgmt-machinelearningcompute/pyproject.toml b/sdk/machinelearning/azure-mgmt-machinelearningcompute/pyproject.toml index 540da07d41af..d50cad3704e2 100644 --- a/sdk/machinelearning/azure-mgmt-machinelearningcompute/pyproject.toml +++ b/sdk/machinelearning/azure-mgmt-machinelearningcompute/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-machinelearningcompute" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Machine Learning Compute Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.machinelearningcompute._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-machinelearningcompute" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Machine Learning Compute Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "MachineLearningComputeManagementClient" diff --git a/sdk/machinelearning/azure-mgmt-machinelearningcompute/sdk_packaging.toml b/sdk/machinelearning/azure-mgmt-machinelearningcompute/sdk_packaging.toml deleted file mode 100644 index 3eb9d1f926d4..000000000000 --- a/sdk/machinelearning/azure-mgmt-machinelearningcompute/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-machinelearningcompute" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Machine Learning Compute Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "MachineLearningComputeManagementClient" diff --git a/sdk/machinelearning/azure-mgmt-machinelearningcompute/setup.py b/sdk/machinelearning/azure-mgmt-machinelearningcompute/setup.py deleted file mode 100644 index 63886b14cd64..000000000000 --- a/sdk/machinelearning/azure-mgmt-machinelearningcompute/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-machinelearningcompute" -PACKAGE_PPRINT_NAME = "Machine Learning Compute Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/machinelearning/azure-mgmt-machinelearningservices/pyproject.toml b/sdk/machinelearning/azure-mgmt-machinelearningservices/pyproject.toml index 540da07d41af..ed5787d9bb4c 100644 --- a/sdk/machinelearning/azure-mgmt-machinelearningservices/pyproject.toml +++ b/sdk/machinelearning/azure-mgmt-machinelearningservices/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-machinelearningservices" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Machine Learning Services Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.machinelearningservices._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-machinelearningservices" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Machine Learning Services Management" +package_doc_id = "" +is_stable = false +is_arm = true +sample_link = "" +title = "MachineLearningServicesMgmtClient" diff --git a/sdk/machinelearning/azure-mgmt-machinelearningservices/sdk_packaging.toml b/sdk/machinelearning/azure-mgmt-machinelearningservices/sdk_packaging.toml deleted file mode 100644 index 5a5d3d2f30ce..000000000000 --- a/sdk/machinelearning/azure-mgmt-machinelearningservices/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-machinelearningservices" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Machine Learning Services Management" -package_doc_id = "" -is_stable = false -is_arm = true -sample_link = "" -title = "MachineLearningServicesMgmtClient" diff --git a/sdk/machinelearning/azure-mgmt-machinelearningservices/setup.py b/sdk/machinelearning/azure-mgmt-machinelearningservices/setup.py deleted file mode 100644 index 4be603c34618..000000000000 --- a/sdk/machinelearning/azure-mgmt-machinelearningservices/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-machinelearningservices" -PACKAGE_PPRINT_NAME = "Machine Learning Services Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/maintenance/azure-mgmt-maintenance/pyproject.toml b/sdk/maintenance/azure-mgmt-maintenance/pyproject.toml index 540da07d41af..7488c69f3429 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/pyproject.toml +++ b/sdk/maintenance/azure-mgmt-maintenance/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-maintenance" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Maintenance Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.maintenance._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-maintenance" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Maintenance Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "MaintenanceManagementClient" diff --git a/sdk/maintenance/azure-mgmt-maintenance/sdk_packaging.toml b/sdk/maintenance/azure-mgmt-maintenance/sdk_packaging.toml deleted file mode 100644 index b4b84c868c9c..000000000000 --- a/sdk/maintenance/azure-mgmt-maintenance/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-maintenance" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Maintenance Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "MaintenanceManagementClient" diff --git a/sdk/maintenance/azure-mgmt-maintenance/setup.py b/sdk/maintenance/azure-mgmt-maintenance/setup.py deleted file mode 100644 index 46d4da6d0554..000000000000 --- a/sdk/maintenance/azure-mgmt-maintenance/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-maintenance" -PACKAGE_PPRINT_NAME = "Maintenance Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/managedapplications/azure-mgmt-managedapplications/pyproject.toml b/sdk/managedapplications/azure-mgmt-managedapplications/pyproject.toml index 540da07d41af..b823e08416a1 100644 --- a/sdk/managedapplications/azure-mgmt-managedapplications/pyproject.toml +++ b/sdk/managedapplications/azure-mgmt-managedapplications/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-managedapplications" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Managedapplications Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.managedapplications._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-managedapplications" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Managedapplications Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "ManagedApplicationsMgmtClient" diff --git a/sdk/managedapplications/azure-mgmt-managedapplications/sdk_packaging.toml b/sdk/managedapplications/azure-mgmt-managedapplications/sdk_packaging.toml deleted file mode 100644 index da8ca7758f42..000000000000 --- a/sdk/managedapplications/azure-mgmt-managedapplications/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-managedapplications" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Managedapplications Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "ManagedApplicationsMgmtClient" diff --git a/sdk/managedapplications/azure-mgmt-managedapplications/setup.py b/sdk/managedapplications/azure-mgmt-managedapplications/setup.py deleted file mode 100644 index 1e220d76611c..000000000000 --- a/sdk/managedapplications/azure-mgmt-managedapplications/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-managedapplications" -PACKAGE_PPRINT_NAME = "Managedapplications Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/managednetworkfabric/azure-mgmt-managednetworkfabric/pyproject.toml b/sdk/managednetworkfabric/azure-mgmt-managednetworkfabric/pyproject.toml index 540da07d41af..55ae7d9f3bac 100644 --- a/sdk/managednetworkfabric/azure-mgmt-managednetworkfabric/pyproject.toml +++ b/sdk/managednetworkfabric/azure-mgmt-managednetworkfabric/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-managednetworkfabric" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Managednetworkfabric Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.managednetworkfabric._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-managednetworkfabric" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Managednetworkfabric Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "ManagedNetworkFabricMgmtClient" diff --git a/sdk/managednetworkfabric/azure-mgmt-managednetworkfabric/sdk_packaging.toml b/sdk/managednetworkfabric/azure-mgmt-managednetworkfabric/sdk_packaging.toml deleted file mode 100644 index c89fab30ee36..000000000000 --- a/sdk/managednetworkfabric/azure-mgmt-managednetworkfabric/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-managednetworkfabric" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Managednetworkfabric Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "ManagedNetworkFabricMgmtClient" diff --git a/sdk/managednetworkfabric/azure-mgmt-managednetworkfabric/setup.py b/sdk/managednetworkfabric/azure-mgmt-managednetworkfabric/setup.py deleted file mode 100644 index a222ce417493..000000000000 --- a/sdk/managednetworkfabric/azure-mgmt-managednetworkfabric/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-managednetworkfabric" -PACKAGE_PPRINT_NAME = "Managednetworkfabric Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/managedservices/azure-mgmt-managedservices/pyproject.toml b/sdk/managedservices/azure-mgmt-managedservices/pyproject.toml index 540da07d41af..24613f49682f 100644 --- a/sdk/managedservices/azure-mgmt-managedservices/pyproject.toml +++ b/sdk/managedservices/azure-mgmt-managedservices/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-managedservices" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Managed Services Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.managedservices._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-managedservices" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Managed Services" +package_doc_id = "" +is_stable = true +is_arm = true +title = "ManagedServicesClient" diff --git a/sdk/managedservices/azure-mgmt-managedservices/sdk_packaging.toml b/sdk/managedservices/azure-mgmt-managedservices/sdk_packaging.toml deleted file mode 100644 index 33d678ef3c81..000000000000 --- a/sdk/managedservices/azure-mgmt-managedservices/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-managedservices" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Managed Services" -package_doc_id = "" -is_stable = true -is_arm = true -title = "ManagedServicesClient" diff --git a/sdk/managedservices/azure-mgmt-managedservices/setup.py b/sdk/managedservices/azure-mgmt-managedservices/setup.py deleted file mode 100644 index ee9c9c5d7d94..000000000000 --- a/sdk/managedservices/azure-mgmt-managedservices/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-managedservices" -PACKAGE_PPRINT_NAME = "Managed Services" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/managementpartner/azure-mgmt-managementpartner/pyproject.toml b/sdk/managementpartner/azure-mgmt-managementpartner/pyproject.toml index 540da07d41af..56bcb397b80d 100644 --- a/sdk/managementpartner/azure-mgmt-managementpartner/pyproject.toml +++ b/sdk/managementpartner/azure-mgmt-managementpartner/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-managementpartner" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Management Partner Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.managementpartner._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-managementpartner" +package_nspkg = "azure-mgmt-nspkg" +is_stable = false +is_arm = true +package_pprint_name = "Management Partner Management" +package_doc_id = "" +title = "ACEProvisioningManagementPartnerAPI" diff --git a/sdk/managementpartner/azure-mgmt-managementpartner/sdk_packaging.toml b/sdk/managementpartner/azure-mgmt-managementpartner/sdk_packaging.toml deleted file mode 100644 index f8246203e491..000000000000 --- a/sdk/managementpartner/azure-mgmt-managementpartner/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-managementpartner" -package_nspkg = "azure-mgmt-nspkg" -is_stable = false -is_arm = true -package_pprint_name = "Management Partner Management" -package_doc_id = "" -title = "ACEProvisioningManagementPartnerAPI" diff --git a/sdk/managementpartner/azure-mgmt-managementpartner/setup.py b/sdk/managementpartner/azure-mgmt-managementpartner/setup.py deleted file mode 100644 index a2dc6e959d23..000000000000 --- a/sdk/managementpartner/azure-mgmt-managementpartner/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-managementpartner" -PACKAGE_PPRINT_NAME = "Management Partner Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/maps/azure-maps-geolocation/pyproject.toml b/sdk/maps/azure-maps-geolocation/pyproject.toml index c885b5014c67..85294e89a206 100644 --- a/sdk/maps/azure-maps-geolocation/pyproject.toml +++ b/sdk/maps/azure-maps-geolocation/pyproject.toml @@ -1,3 +1,73 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-maps-geolocation" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Maps Geolocation Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-mgmt-core<2.0.0,>=1.3.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-geolocation" + [tool.azure-sdk-build] pyright = false ci_enabled = true + +[tool.setuptools.dynamic.version] +attr = "azure.maps.geolocation._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.maps", +] + +[packaging] +package_name = "azure-maps-geolocation" +package_nspkg = "azure-maps-nspkg" +package_pprint_name = "Maps Geolocation" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true diff --git a/sdk/maps/azure-maps-geolocation/sdk_packaging.toml b/sdk/maps/azure-maps-geolocation/sdk_packaging.toml deleted file mode 100644 index 8e07d3e214f4..000000000000 --- a/sdk/maps/azure-maps-geolocation/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-maps-geolocation" -package_nspkg = "azure-maps-nspkg" -package_pprint_name = "Maps Geolocation" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true diff --git a/sdk/maps/azure-maps-geolocation/setup.py b/sdk/maps/azure-maps-geolocation/setup.py deleted file mode 100644 index c8cf3d1b2408..000000000000 --- a/sdk/maps/azure-maps-geolocation/setup.py +++ /dev/null @@ -1,92 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-maps-geolocation" -PACKAGE_PPRINT_NAME = "Maps Geolocation" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - - try: - ver = azure.__version__ - raise Exception( - "This package is incompatible with azure=={}. ".format(ver) + 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-geolocation", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.maps", - ] - ), - include_package_data=True, - install_requires=["msrest>=0.6.21", "azure-common~=1.1", "azure-mgmt-core<2.0.0,>=1.3.0"], - python_requires=">=3.8", -) diff --git a/sdk/maps/azure-maps-render/pyproject.toml b/sdk/maps/azure-maps-render/pyproject.toml index c885b5014c67..bf7f7f30980b 100644 --- a/sdk/maps/azure-maps-render/pyproject.toml +++ b/sdk/maps/azure-maps-render/pyproject.toml @@ -1,3 +1,73 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-maps-render" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Maps Render Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-render" + [tool.azure-sdk-build] pyright = false ci_enabled = true + +[tool.setuptools.dynamic.version] +attr = "azure.maps.render._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.maps", +] + +[packaging] +package_name = "azure-maps-render" +package_nspkg = "azure-maps-nspkg" +package_pprint_name = "Maps Render" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true diff --git a/sdk/maps/azure-maps-render/sdk_packaging.toml b/sdk/maps/azure-maps-render/sdk_packaging.toml deleted file mode 100644 index 39e900039872..000000000000 --- a/sdk/maps/azure-maps-render/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-maps-render" -package_nspkg = "azure-maps-nspkg" -package_pprint_name = "Maps Render" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true diff --git a/sdk/maps/azure-maps-render/setup.py b/sdk/maps/azure-maps-render/setup.py deleted file mode 100644 index faeadc3b4de5..000000000000 --- a/sdk/maps/azure-maps-render/setup.py +++ /dev/null @@ -1,96 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-maps-render" -PACKAGE_PPRINT_NAME = "Maps Render" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - - try: - ver = azure.__version__ - raise Exception( - "This package is incompatible with azure=={}. ".format(ver) + 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-render", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.maps", - ] - ), - include_package_data=True, - install_requires=[ - "msrest>=0.6.21", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.0,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/maps/azure-maps-route/pyproject.toml b/sdk/maps/azure-maps-route/pyproject.toml index c885b5014c67..0dc86047877a 100644 --- a/sdk/maps/azure-maps-route/pyproject.toml +++ b/sdk/maps/azure-maps-route/pyproject.toml @@ -1,3 +1,74 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-maps-route" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Maps Route Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false ci_enabled = true + +[tool.setuptools.dynamic.version] +attr = "azure.maps.route._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.maps", +] + +[packaging] +package_name = "azure-maps-route" +package_nspkg = "azure-maps-nspkg" +package_pprint_name = "Map Route" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +auto_update = false diff --git a/sdk/maps/azure-maps-route/sdk_packaging.toml b/sdk/maps/azure-maps-route/sdk_packaging.toml deleted file mode 100644 index 7ae6c6a1a159..000000000000 --- a/sdk/maps/azure-maps-route/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-maps-route" -package_nspkg = "azure-maps-nspkg" -package_pprint_name = "Map Route" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -auto_update = false diff --git a/sdk/maps/azure-maps-route/setup.py b/sdk/maps/azure-maps-route/setup.py deleted file mode 100644 index 55a8710dd493..000000000000 --- a/sdk/maps/azure-maps-route/setup.py +++ /dev/null @@ -1,95 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-maps-route" -PACKAGE_PPRINT_NAME = "Maps Route" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - - try: - ver = azure.__version__ - raise Exception( - "This package is incompatible with azure=={}. ".format(ver) + 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - "azure", - "azure.maps", - ] - ), - include_package_data=True, - install_requires=[ - "msrest>=0.6.21", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.0,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/maps/azure-maps-search/pyproject.toml b/sdk/maps/azure-maps-search/pyproject.toml index c885b5014c67..68c0a4c70057 100644 --- a/sdk/maps/azure-maps-search/pyproject.toml +++ b/sdk/maps/azure-maps-search/pyproject.toml @@ -1,3 +1,72 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-maps-search" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Maps Search Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-search" + [tool.azure-sdk-build] pyright = false ci_enabled = true + +[tool.setuptools.dynamic.version] +attr = "azure.maps.search._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.maps", +] + +[packaging] +package_name = "azure-maps-search" +package_nspkg = "azure-maps-nspkg" +package_pprint_name = "Maps Search" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true diff --git a/sdk/maps/azure-maps-search/sdk_packaging.toml b/sdk/maps/azure-maps-search/sdk_packaging.toml deleted file mode 100644 index f0ade9c0bff4..000000000000 --- a/sdk/maps/azure-maps-search/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-maps-search" -package_nspkg = "azure-maps-nspkg" -package_pprint_name = "Maps Search" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true diff --git a/sdk/maps/azure-maps-search/setup.py b/sdk/maps/azure-maps-search/setup.py deleted file mode 100644 index 6e0086dd9448..000000000000 --- a/sdk/maps/azure-maps-search/setup.py +++ /dev/null @@ -1,94 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-maps-search" -PACKAGE_PPRINT_NAME = "Maps Search" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - - try: - ver = azure.__version__ - raise Exception( - "This package is incompatible with azure=={}. ".format(ver) + 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-search", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - "azure", - "azure.maps", - ] - ), - include_package_data=True, - install_requires=[ - "msrest>=0.6.21", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.0,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/maps/azure-maps-timezone/pyproject.toml b/sdk/maps/azure-maps-timezone/pyproject.toml index c885b5014c67..60d143a6a26a 100644 --- a/sdk/maps/azure-maps-timezone/pyproject.toml +++ b/sdk/maps/azure-maps-timezone/pyproject.toml @@ -1,3 +1,72 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-maps-timezone" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Maps timezone Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-timezone" + [tool.azure-sdk-build] pyright = false ci_enabled = true + +[tool.setuptools.dynamic.version] +attr = "azure.maps.timezone._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.maps", +] + +[packaging] +package_name = "azure-maps-timezone" +package_nspkg = "azure-maps-nspkg" +package_pprint_name = "Maps Timezone" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true diff --git a/sdk/maps/azure-maps-timezone/sdk_packaging.toml b/sdk/maps/azure-maps-timezone/sdk_packaging.toml deleted file mode 100644 index abecd71c3285..000000000000 --- a/sdk/maps/azure-maps-timezone/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-maps-timezone" -package_nspkg = "azure-maps-nspkg" -package_pprint_name = "Maps Timezone" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true diff --git a/sdk/maps/azure-maps-timezone/setup.py b/sdk/maps/azure-maps-timezone/setup.py deleted file mode 100644 index 7bac00b36fbc..000000000000 --- a/sdk/maps/azure-maps-timezone/setup.py +++ /dev/null @@ -1,94 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-maps-timezone" -PACKAGE_PPRINT_NAME = "Maps timezone" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - - try: - ver = azure.__version__ - raise Exception( - "This package is incompatible with azure=={}. ".format(ver) + 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-timezone", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - "azure", - "azure.maps", - ] - ), - include_package_data=True, - install_requires=[ - "msrest>=0.6.21", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.0,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/maps/azure-maps-weather/pyproject.toml b/sdk/maps/azure-maps-weather/pyproject.toml index c885b5014c67..6998f694cc80 100644 --- a/sdk/maps/azure-maps-weather/pyproject.toml +++ b/sdk/maps/azure-maps-weather/pyproject.toml @@ -1,3 +1,72 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-maps-weather" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Maps Weather Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-weather" + [tool.azure-sdk-build] pyright = false ci_enabled = true + +[tool.setuptools.dynamic.version] +attr = "azure.maps.weather._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.maps", +] + +[packaging] +package_name = "azure-maps-weather" +package_nspkg = "azure-maps-nspkg" +package_pprint_name = "Maps Weather" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true diff --git a/sdk/maps/azure-maps-weather/sdk_packaging.toml b/sdk/maps/azure-maps-weather/sdk_packaging.toml deleted file mode 100644 index 66af343bbaa1..000000000000 --- a/sdk/maps/azure-maps-weather/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-maps-weather" -package_nspkg = "azure-maps-nspkg" -package_pprint_name = "Maps Weather" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true diff --git a/sdk/maps/azure-maps-weather/setup.py b/sdk/maps/azure-maps-weather/setup.py deleted file mode 100644 index 72d282d01e38..000000000000 --- a/sdk/maps/azure-maps-weather/setup.py +++ /dev/null @@ -1,94 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-maps-weather" -PACKAGE_PPRINT_NAME = "Maps Weather" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - - try: - ver = azure.__version__ - raise Exception( - "This package is incompatible with azure=={}. ".format(ver) + 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-weather", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - "azure", - "azure.maps", - ] - ), - include_package_data=True, - install_requires=[ - "msrest>=0.6.21", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.0,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/maps/azure-mgmt-maps/pyproject.toml b/sdk/maps/azure-mgmt-maps/pyproject.toml index 540da07d41af..18514a476d16 100644 --- a/sdk/maps/azure-mgmt-maps/pyproject.toml +++ b/sdk/maps/azure-mgmt-maps/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-maps" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Maps Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.maps._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-maps" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Maps" +package_doc_id = "" +is_stable = true +is_arm = true +title = "AzureMapsManagementClient" diff --git a/sdk/maps/azure-mgmt-maps/sdk_packaging.toml b/sdk/maps/azure-mgmt-maps/sdk_packaging.toml deleted file mode 100644 index b421a49d8377..000000000000 --- a/sdk/maps/azure-mgmt-maps/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-maps" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Maps" -package_doc_id = "" -is_stable = true -is_arm = true -title = "AzureMapsManagementClient" diff --git a/sdk/maps/azure-mgmt-maps/setup.py b/sdk/maps/azure-mgmt-maps/setup.py deleted file mode 100644 index 8778c2d329a3..000000000000 --- a/sdk/maps/azure-mgmt-maps/setup.py +++ /dev/null @@ -1,86 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-maps" -PACKAGE_PPRINT_NAME = "Maps" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.8", -) diff --git a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/pyproject.toml b/sdk/marketplaceordering/azure-mgmt-marketplaceordering/pyproject.toml index 540da07d41af..217cf261314b 100644 --- a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/pyproject.toml +++ b/sdk/marketplaceordering/azure-mgmt-marketplaceordering/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-marketplaceordering" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Market Place Ordering Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.marketplaceordering._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-marketplaceordering" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Market Place Ordering" +package_doc_id = "" +is_stable = true +is_arm = true +sample_link = "" +title = "MarketplaceOrderingAgreements" diff --git a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/sdk_packaging.toml b/sdk/marketplaceordering/azure-mgmt-marketplaceordering/sdk_packaging.toml deleted file mode 100644 index 0d03782c11ca..000000000000 --- a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-marketplaceordering" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Market Place Ordering" -package_doc_id = "" -is_stable = true -is_arm = true -sample_link = "" -title = "MarketplaceOrderingAgreements" diff --git a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/setup.py b/sdk/marketplaceordering/azure-mgmt-marketplaceordering/setup.py deleted file mode 100644 index 8e4e91c63fbc..000000000000 --- a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-marketplaceordering" -PACKAGE_PPRINT_NAME = "Market Place Ordering" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/media/azure-mgmt-media/pyproject.toml b/sdk/media/azure-mgmt-media/pyproject.toml index c242826aedc8..676fb48d304f 100644 --- a/sdk/media/azure-mgmt-media/pyproject.toml +++ b/sdk/media/azure-mgmt-media/pyproject.toml @@ -1,3 +1,47 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-media" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Media Services Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false @@ -5,3 +49,33 @@ pyright = false type_check_samples = false verifytypes = false auto_update = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.media._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-media" +package_pprint_name = "Media Services" +package_doc_id = "media-services" +is_stable = true +is_arm = true +title = "MediaManagementClient" diff --git a/sdk/media/azure-mgmt-media/sdk_packaging.toml b/sdk/media/azure-mgmt-media/sdk_packaging.toml deleted file mode 100644 index c2758190a63c..000000000000 --- a/sdk/media/azure-mgmt-media/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-media" -package_pprint_name = "Media Services" -package_doc_id = "media-services" -is_stable = true -is_arm = true -title = "MediaManagementClient" diff --git a/sdk/media/azure-mgmt-media/setup.py b/sdk/media/azure-mgmt-media/setup.py deleted file mode 100644 index 19e87628844d..000000000000 --- a/sdk/media/azure-mgmt-media/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-media" -PACKAGE_PPRINT_NAME = "Media Services" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 7 - Inactive', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/migrate/azure-mgmt-migrationassessment/pyproject.toml b/sdk/migrate/azure-mgmt-migrationassessment/pyproject.toml index ee542ddce18b..9ee6b14efba9 100644 --- a/sdk/migrate/azure-mgmt-migrationassessment/pyproject.toml +++ b/sdk/migrate/azure-mgmt-migrationassessment/pyproject.toml @@ -1,4 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-migrationassessment" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Migrationassessment Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.migrationassessment._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-migrationassessment" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Migrationassessment Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "MigrationAssessmentMgmtClient" diff --git a/sdk/migrate/azure-mgmt-migrationassessment/sdk_packaging.toml b/sdk/migrate/azure-mgmt-migrationassessment/sdk_packaging.toml deleted file mode 100644 index 288fb16c5c69..000000000000 --- a/sdk/migrate/azure-mgmt-migrationassessment/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-migrationassessment" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Migrationassessment Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "MigrationAssessmentMgmtClient" diff --git a/sdk/migrate/azure-mgmt-migrationassessment/setup.py b/sdk/migrate/azure-mgmt-migrationassessment/setup.py deleted file mode 100644 index 5d9750a2057d..000000000000 --- a/sdk/migrate/azure-mgmt-migrationassessment/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-migrationassessment" -PACKAGE_PPRINT_NAME = "Migrationassessment Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/migrationdiscovery/azure-mgmt-migrationdiscoverysap/pyproject.toml b/sdk/migrationdiscovery/azure-mgmt-migrationdiscoverysap/pyproject.toml index 540da07d41af..6575dfcbd554 100644 --- a/sdk/migrationdiscovery/azure-mgmt-migrationdiscoverysap/pyproject.toml +++ b/sdk/migrationdiscovery/azure-mgmt-migrationdiscoverysap/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-migrationdiscoverysap" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Migrationdiscoverysap Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.migrationdiscoverysap._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-migrationdiscoverysap" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Migrationdiscoverysap Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "MigrationDiscoverySapMgmtClient" diff --git a/sdk/migrationdiscovery/azure-mgmt-migrationdiscoverysap/sdk_packaging.toml b/sdk/migrationdiscovery/azure-mgmt-migrationdiscoverysap/sdk_packaging.toml deleted file mode 100644 index 12a52f9bc78d..000000000000 --- a/sdk/migrationdiscovery/azure-mgmt-migrationdiscoverysap/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-migrationdiscoverysap" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Migrationdiscoverysap Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "MigrationDiscoverySapMgmtClient" diff --git a/sdk/migrationdiscovery/azure-mgmt-migrationdiscoverysap/setup.py b/sdk/migrationdiscovery/azure-mgmt-migrationdiscoverysap/setup.py deleted file mode 100644 index 217800d882c3..000000000000 --- a/sdk/migrationdiscovery/azure-mgmt-migrationdiscoverysap/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-migrationdiscoverysap" -PACKAGE_PPRINT_NAME = "Migrationdiscoverysap Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/mixedreality/azure-mgmt-mixedreality/pyproject.toml b/sdk/mixedreality/azure-mgmt-mixedreality/pyproject.toml index 540da07d41af..4801ba27353e 100644 --- a/sdk/mixedreality/azure-mgmt-mixedreality/pyproject.toml +++ b/sdk/mixedreality/azure-mgmt-mixedreality/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-mixedreality" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Mixed Reality Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.mixedreality._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-mixedreality" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Mixed Reality Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "MixedRealityClient" +auto_update = false diff --git a/sdk/mixedreality/azure-mgmt-mixedreality/sdk_packaging.toml b/sdk/mixedreality/azure-mgmt-mixedreality/sdk_packaging.toml deleted file mode 100644 index ebfde27c5e78..000000000000 --- a/sdk/mixedreality/azure-mgmt-mixedreality/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-mixedreality" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Mixed Reality Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "MixedRealityClient" -auto_update = false diff --git a/sdk/mixedreality/azure-mgmt-mixedreality/setup.py b/sdk/mixedreality/azure-mgmt-mixedreality/setup.py deleted file mode 100644 index 55b302e00ab2..000000000000 --- a/sdk/mixedreality/azure-mgmt-mixedreality/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-mixedreality" -PACKAGE_PPRINT_NAME = "Mixed Reality Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 7 - Inactive', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/mixedreality/azure-mixedreality-authentication/pyproject.toml b/sdk/mixedreality/azure-mixedreality-authentication/pyproject.toml index 540da07d41af..cd537b14b573 100644 --- a/sdk/mixedreality/azure-mixedreality-authentication/pyproject.toml +++ b/sdk/mixedreality/azure-mixedreality-authentication/pyproject.toml @@ -1,6 +1,77 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mixedreality-authentication" +authors = [ + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, +] +description = "Microsoft Azure Mixed Reality Authentication Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.4.0", + "msrest>=0.6.21", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mixedreality.authentication._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mixedreality", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-mixedreality-authentication" +package_pprint_name = "Mixed Reality Authentication" +package_doc_id = "" +is_stable = false +is_arm = false diff --git a/sdk/mixedreality/azure-mixedreality-authentication/sdk_packaging.toml b/sdk/mixedreality/azure-mixedreality-authentication/sdk_packaging.toml deleted file mode 100644 index 2684d587e162..000000000000 --- a/sdk/mixedreality/azure-mixedreality-authentication/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-mixedreality-authentication" -package_pprint_name = "Mixed Reality Authentication" -package_doc_id = "" -is_stable = false -is_arm = false diff --git a/sdk/mixedreality/azure-mixedreality-authentication/setup.py b/sdk/mixedreality/azure-mixedreality-authentication/setup.py deleted file mode 100644 index a69b7914d14e..000000000000 --- a/sdk/mixedreality/azure-mixedreality-authentication/setup.py +++ /dev/null @@ -1,76 +0,0 @@ -from setuptools import setup, find_packages -import os -from io import open -import re - -# example setup.py Feel free to copy the entire "azure-template" folder into a package folder named -# with "azure-". Ensure that the below arguments to setup() are updated to reflect -# your package. - -PACKAGE_NAME = "azure-mixedreality-authentication" -PACKAGE_PPRINT_NAME = "Mixed Reality Authentication" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() - -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - - # ensure that these are updated to reflect the package owners' information - long_description=readme + "\n\n" + changelog, - long_description_content_type='text/markdown', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - author='Microsoft Corporation', - author_email='azuresdkengsysadmins@microsoft.com', - - license='MIT License', - # ensure that the development status reflects the status of your package - classifiers=[ - 'Development Status :: 7 - Inactive', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mixedreality' - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - python_requires=">=3.7", - install_requires=[ - 'azure-core<2.0.0,>=1.4.0', - 'msrest>=0.6.21' - ], - project_urls={ - 'Bug Reports': 'https://github.com/Azure/azure-sdk-for-python/issues', - 'Source': 'https://github.com/Azure/azure-sdk-for-python', - } -) diff --git a/sdk/ml/azure-ai-ml/pyproject.toml b/sdk/ml/azure-ai-ml/pyproject.toml index db9da58c93c9..98ca9194273a 100644 --- a/sdk/ml/azure-ai-ml/pyproject.toml +++ b/sdk/ml/azure-ai-ml/pyproject.toml @@ -1,3 +1,69 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-ml" +authors = [ + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, +] +description = "Microsoft Azure Machine Learning Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "pyyaml>=5.1.0,<7.0.0", + "azure-core>=1.23.0", + "azure-mgmt-core>=1.3.0", + "marshmallow>=3.5,<4.0.0", + "jsonschema>=4.0.0,<5.0.0", + "tqdm<5.0.0", + "strictyaml<2.0.0", + "colorama<1.0.0", + "pyjwt<3.0.0", + "azure-storage-blob>=12.10.0", + "azure-storage-file-share", + "azure-storage-file-datalake>=12.2.0", + "pydash>=6.0.0,<9.0.0", + "isodate<1.0.0", + "azure-common>=1.1", + "typing-extensions<5.0.0", + "azure-monitor-opentelemetry", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +designer = [ + "mldesigner", +] +mount = [ + "azureml-dataprep-rslex>=2.22.0; python_version < '3.13'", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] mypy = true pyright = false @@ -12,29 +78,31 @@ absolute_cov_percent = 65 [tool.isort] profile = "black" line_length = 120 -known_first_party = ["azure"] -filter_files=true +known_first_party = [ + "azure", +] +filter_files = true extend_skip_glob = [ - "*/_vendor/*", - "*/_generated/*", - "*/_restclient/*", - "*/doc/*", - "*/.tox/*", + "*/_vendor/*", + "*/_generated/*", + "*/_restclient/*", + "*/doc/*", + "*/.tox/*", ] [tool.mypy] python_version = "3.10" exclude = [ - "azure/ai/ml/_restclient", - "azure/ai/ml/_vendor/", - "azure/ai/ml/_schema/", - "azure/ai/ml/_arm_deployments/", - "tests", - "downloaded", - "setup.py", - "azure/ai/ml/_utils", - "azure/ai/ml/exceptions.py", - "azure/ai/ml/_exception_helper.py", + "azure/ai/ml/_restclient", + "azure/ai/ml/_vendor/", + "azure/ai/ml/_schema/", + "azure/ai/ml/_arm_deployments/", + "tests", + "downloaded", + "setup.py", + "azure/ai/ml/_utils", + "azure/ai/ml/exceptions.py", + "azure/ai/ml/_exception_helper.py", ] warn_unused_configs = true follow_imports = "skip" @@ -43,3 +111,23 @@ follow_imports_for_stubs = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.ai.ml._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", +] + +[packaging] +auto_update = false diff --git a/sdk/ml/azure-ai-ml/sdk_packaging.toml b/sdk/ml/azure-ai-ml/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/ml/azure-ai-ml/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/ml/azure-ai-ml/setup.py b/sdk/ml/azure-ai-ml/setup.py deleted file mode 100644 index 6a6e6c28f512..000000000000 --- a/sdk/ml/azure-ai-ml/setup.py +++ /dev/null @@ -1,105 +0,0 @@ -# --------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# --------------------------------------------------------- - -import os -import re -from io import open -from typing import Any, Match, cast - -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-ai-ml" -PACKAGE_PPRINT_NAME = "Machine Learning" - -# a-b-c => a/b/c -PACKAGE_FOLDER_PATH = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -NAMESPACE_NAME = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(PACKAGE_FOLDER_PATH, "_version.py"), "r") as fd: - version = cast(Match[Any], re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE)).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description_content_type="text/markdown", - long_description=readme + "\n\n" + changelog, - license="MIT License", - author="Microsoft Corporation", - author_email="azuresdkengsysadmins@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Programming Language :: Python :: 3.14", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - include_package_data=True, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.ai", - ] - ), - python_requires=">=3.7", - install_requires=[ - # NOTE: To avoid breaking changes in a major version bump, all dependencies should pin an upper bound if possible. - "pyyaml>=5.1.0,<7.0.0", - "azure-core>=1.23.0", - "azure-mgmt-core>=1.3.0", - "marshmallow>=3.5,<4.0.0", - "jsonschema>=4.0.0,<5.0.0", - "tqdm<5.0.0", - # Used for PR 825138 - "strictyaml<2.0.0", - # Used for PR 718512 - "colorama<1.0.0", - "pyjwt<3.0.0", - "azure-storage-blob>=12.10.0", - "azure-storage-file-share", - "azure-storage-file-datalake>=12.2.0", - "pydash>=6.0.0,<9.0.0", - "isodate<1.0.0", - "azure-common>=1.1", - "typing-extensions<5.0.0", - "azure-monitor-opentelemetry", - ], - extras_require={ - # user can run `pip install azure-ai-ml[designer]` to install mldesigner along with this package - # so user can submit @dsl.pipeline with @mldesigner.command_component inside it. - "designer": [ - "mldesigner", - ], - # user can run `pip install azure-ai-ml[mount]` to install azureml-dataprep-rslex along with this package - # so user can call data.mount() and datastore.mount() operations supported by it. - "mount": [ - "azureml-dataprep-rslex>=2.22.0; python_version < '3.13'", - ], - }, - project_urls={ - "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", - "Source": "https://github.com/Azure/azure-sdk-for-python", - }, -) diff --git a/sdk/mongodbatlas/azure-mgmt-mongodbatlas/pyproject.toml b/sdk/mongodbatlas/azure-mgmt-mongodbatlas/pyproject.toml index ce5cf69b33f0..8dd06511a345 100644 --- a/sdk/mongodbatlas/azure-mgmt-mongodbatlas/pyproject.toml +++ b/sdk/mongodbatlas/azure-mgmt-mongodbatlas/pyproject.toml @@ -1,4 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-mongodbatlas" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Mongodbatlas Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false pyright = false mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.mongodbatlas._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-mongodbatlas" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Mongodbatlas Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "MongoDBAtlasMgmtClient" diff --git a/sdk/mongodbatlas/azure-mgmt-mongodbatlas/sdk_packaging.toml b/sdk/mongodbatlas/azure-mgmt-mongodbatlas/sdk_packaging.toml deleted file mode 100644 index cf6825f0de86..000000000000 --- a/sdk/mongodbatlas/azure-mgmt-mongodbatlas/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-mongodbatlas" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Mongodbatlas Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "MongoDBAtlasMgmtClient" diff --git a/sdk/mongodbatlas/azure-mgmt-mongodbatlas/setup.py b/sdk/mongodbatlas/azure-mgmt-mongodbatlas/setup.py deleted file mode 100644 index 9797161b4a50..000000000000 --- a/sdk/mongodbatlas/azure-mgmt-mongodbatlas/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-mongodbatlas" -PACKAGE_PPRINT_NAME = "Mongodbatlas Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/monitor/azure-monitor-ingestion/pyproject.toml b/sdk/monitor/azure-monitor-ingestion/pyproject.toml index 0504960bccae..cd142e5ab495 100644 --- a/sdk/monitor/azure-monitor-ingestion/pyproject.toml +++ b/sdk/monitor/azure-monitor-ingestion/pyproject.toml @@ -1,2 +1,71 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-monitor-ingestion" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Monitor Ingestion Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.28.0", + "isodate>=0.6.0", + "typing-extensions>=4.0.1", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.monitor.ingestion._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "samples", + "azure", + "azure.monitor", +] + +[packaging] +auto_update = false +package_name = "azure-monitor-ingestion" +package_pprint_name = "Monitor Ingestion" +package_doc_id = "monitor-ingestion" +is_stable = false +is_arm = false diff --git a/sdk/monitor/azure-monitor-ingestion/sdk_packaging.toml b/sdk/monitor/azure-monitor-ingestion/sdk_packaging.toml deleted file mode 100644 index bc89ecfddf5b..000000000000 --- a/sdk/monitor/azure-monitor-ingestion/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-monitor-ingestion" -package_pprint_name = "Monitor Ingestion" -package_doc_id = "monitor-ingestion" -is_stable = false -is_arm = false diff --git a/sdk/monitor/azure-monitor-ingestion/setup.py b/sdk/monitor/azure-monitor-ingestion/setup.py deleted file mode 100644 index 09b195c99d56..000000000000 --- a/sdk/monitor/azure-monitor-ingestion/setup.py +++ /dev/null @@ -1,93 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-monitor-ingestion" -PACKAGE_PPRINT_NAME = "Azure Monitor Ingestion" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - - try: - ver = azure.__version__ - raise Exception( - "This package is incompatible with azure=={}. ".format(ver) + 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - python_requires=">=3.9", - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - "samples", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.monitor", - ] - ), - include_package_data=True, - install_requires=["azure-core>=1.28.0", "isodate>=0.6.0", "typing-extensions>=4.0.1"], -) diff --git a/sdk/monitor/azure-monitor-opentelemetry-exporter/pyproject.toml b/sdk/monitor/azure-monitor-opentelemetry-exporter/pyproject.toml index 5986017dfa1a..c8ea7d8aefa3 100644 --- a/sdk/monitor/azure-monitor-opentelemetry-exporter/pyproject.toml +++ b/sdk/monitor/azure-monitor-opentelemetry-exporter/pyproject.toml @@ -1,4 +1,76 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-monitor-opentelemetry-exporter" +authors = [ + { name = "Microsoft Corporation", email = "ascl@microsoft.com" }, +] +description = "Microsoft Azure Monitor Opentelemetry Exporter Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.28.0", + "azure-identity~=1.17", + "msrest>=0.6.10", + "opentelemetry-api==1.39", + "opentelemetry-sdk==1.39", + "psutil>=5.9,<8", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-opentelemetry-exporter" + [tool.azure-sdk-build] mypy = true pyright = false black = true + +[tool.setuptools.dynamic.version] +attr = "azure.monitor.opentelemetry.exporter._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "samples", + "azure", + "azure.monitor", + "azure.monitor.opentelemetry", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/monitor/azure-monitor-opentelemetry-exporter/sdk_packaging.toml b/sdk/monitor/azure-monitor-opentelemetry-exporter/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/monitor/azure-monitor-opentelemetry-exporter/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-opentelemetry-exporter/setup.py b/sdk/monitor/azure-monitor-opentelemetry-exporter/setup.py deleted file mode 100644 index 1f1fa32aaa66..000000000000 --- a/sdk/monitor/azure-monitor-opentelemetry-exporter/setup.py +++ /dev/null @@ -1,110 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -# cSpell:disable - -import os -import re - -from setuptools import setup, find_packages - - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-monitor-opentelemetry-exporter" -PACKAGE_PPRINT_NAME = "Azure Monitor Opentelemetry Exporter" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - - -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - - try: - ver = azure.__version__ - raise Exception( - "This package is incompatible with azure=={}. ".format(ver) + 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="ascl@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-opentelemetry-exporter", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Programming Language :: Python :: 3.14", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - "samples", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.monitor", - "azure.monitor.opentelemetry", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - python_requires=">=3.8", - install_requires=[ - "azure-core<2.0.0,>=1.28.0", - "azure-identity~=1.17", - "msrest>=0.6.10", - "opentelemetry-api==1.39", - "opentelemetry-sdk==1.39", - "psutil>=5.9,<8", - ], - entry_points={ - "opentelemetry_traces_exporter": [ - "azure_monitor_opentelemetry_exporter = azure.monitor.opentelemetry.exporter:AzureMonitorTraceExporter" - ], - "opentelemetry_logs_exporter": [ - "azure_monitor_opentelemetry_exporter = azure.monitor.opentelemetry.exporter:AzureMonitorLogExporter" - ], - "opentelemetry_metrics_exporter": [ - "azure_monitor_opentelemetry_exporter = azure.monitor.opentelemetry.exporter:AzureMonitorMetricExporter" - ], - "opentelemetry_traces_sampler": [ - "azure_monitor_opentelemetry_sampler = azure.monitor.opentelemetry.exporter.export.trace._sampling:azure_monitor_opentelemetry_sampler_factory" - ], - }, -) - -# cSpell:enable diff --git a/sdk/monitor/azure-monitor-opentelemetry/pyproject.toml b/sdk/monitor/azure-monitor-opentelemetry/pyproject.toml index 995068564aa1..4f37edcdc5e1 100644 --- a/sdk/monitor/azure-monitor-opentelemetry/pyproject.toml +++ b/sdk/monitor/azure-monitor-opentelemetry/pyproject.toml @@ -1,3 +1,56 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-monitor-opentelemetry" +authors = [ + { name = "Microsoft Corporation", email = "ascl@microsoft.com" }, +] +description = "Microsoft Azure Monitor Opentelemetry Distro Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.28.0", + "azure-core-tracing-opentelemetry~=1.0.0b11", + "azure-monitor-opentelemetry-exporter~=1.0.0b47", + "opentelemetry-sdk==1.39", + "opentelemetry-instrumentation-django==0.60b0", + "opentelemetry-instrumentation-fastapi==0.60b0", + "opentelemetry-instrumentation-flask==0.60b0", + "opentelemetry-instrumentation-psycopg2==0.60b0", + "opentelemetry-instrumentation-requests==0.60b0", + "opentelemetry-instrumentation-urllib==0.60b0", + "opentelemetry-instrumentation-urllib3==0.60b0", + "opentelemetry-resource-detector-azure<1.0.0,>=0.1.5", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-opentelemetry" + [tool.azure-sdk-build] pyright = false pylint = true @@ -6,3 +59,28 @@ black = true [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.monitor.opentelemetry._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "samples", + "azure", + "azure.monitor", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/monitor/azure-monitor-opentelemetry/sdk_packaging.toml b/sdk/monitor/azure-monitor-opentelemetry/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/monitor/azure-monitor-opentelemetry/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-opentelemetry/setup.py b/sdk/monitor/azure-monitor-opentelemetry/setup.py deleted file mode 100644 index 13494f9ec99f..000000000000 --- a/sdk/monitor/azure-monitor-opentelemetry/setup.py +++ /dev/null @@ -1,106 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - - -import os -import re - -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-monitor-opentelemetry" -PACKAGE_PPRINT_NAME = "Azure Monitor Opentelemetry Distro" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - - -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - - try: - ver = azure.__version__ - raise Exception( - "This package is incompatible with azure=={}. ".format(ver) + 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="ascl@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-opentelemetry", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Programming Language :: Python :: 3.14", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - "samples", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.monitor", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - python_requires=">=3.8", - install_requires=[ - "azure-core<2.0.0,>=1.28.0", - "azure-core-tracing-opentelemetry~=1.0.0b11", - "azure-monitor-opentelemetry-exporter~=1.0.0b47", - "opentelemetry-sdk==1.39", - "opentelemetry-instrumentation-django==0.60b0", - "opentelemetry-instrumentation-fastapi==0.60b0", - "opentelemetry-instrumentation-flask==0.60b0", - "opentelemetry-instrumentation-psycopg2==0.60b0", - "opentelemetry-instrumentation-requests==0.60b0", - "opentelemetry-instrumentation-urllib==0.60b0", - "opentelemetry-instrumentation-urllib3==0.60b0", - "opentelemetry-resource-detector-azure<1.0.0,>=0.1.5", - ], - entry_points={ - "opentelemetry_distro": [ - "azure_monitor_opentelemetry_distro = azure.monitor.opentelemetry._autoinstrumentation.distro:AzureMonitorDistro" - ], - "opentelemetry_configurator": [ - "azure_monitor_opentelemetry_configurator = azure.monitor.opentelemetry._autoinstrumentation.configurator:AzureMonitorConfigurator" - ], - }, -) diff --git a/sdk/monitor/azure-monitor-query/pyproject.toml b/sdk/monitor/azure-monitor-query/pyproject.toml index 0504960bccae..53bca8a4086d 100644 --- a/sdk/monitor/azure-monitor-query/pyproject.toml +++ b/sdk/monitor/azure-monitor-query/pyproject.toml @@ -1,2 +1,74 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-monitor-query" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Azure Monitor Query Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.monitor.query._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.monitor", +] + +[tool.setuptools.package-data] +"azure.monitor.query" = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-monitor-query" +package_pprint_name = "Monitor Query" +package_doc_id = "monitor-query" +is_stable = false +is_arm = false diff --git a/sdk/monitor/azure-monitor-query/sdk_packaging.toml b/sdk/monitor/azure-monitor-query/sdk_packaging.toml deleted file mode 100644 index efd98b3f246b..000000000000 --- a/sdk/monitor/azure-monitor-query/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-monitor-query" -package_pprint_name = "Monitor Query" -package_doc_id = "monitor-query" -is_stable = false -is_arm = false diff --git a/sdk/monitor/azure-monitor-query/setup.py b/sdk/monitor/azure-monitor-query/setup.py deleted file mode 100644 index 7b75d47ded79..000000000000 --- a/sdk/monitor/azure-monitor-query/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-monitor-query" -PACKAGE_PPRINT_NAME = "Azure Monitor Query" -PACKAGE_NAMESPACE = "azure.monitor.query" - -# a.b.c => a/b/c -package_folder_path = PACKAGE_NAMESPACE.replace(".", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.monitor", - ] - ), - include_package_data=True, - package_data={ - "azure.monitor.query": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/monitor/azure-monitor-querymetrics/pyproject.toml b/sdk/monitor/azure-monitor-querymetrics/pyproject.toml index 0504960bccae..0ddebdadf049 100644 --- a/sdk/monitor/azure-monitor-querymetrics/pyproject.toml +++ b/sdk/monitor/azure-monitor-querymetrics/pyproject.toml @@ -1,2 +1,66 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-monitor-querymetrics" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Azure Monitor Query Metrics Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.monitor.querymetrics._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.monitor", +] + +[tool.setuptools.package-data] +"azure.monitor.querymetrics" = [ + "py.typed", +] diff --git a/sdk/monitor/azure-monitor-querymetrics/setup.py b/sdk/monitor/azure-monitor-querymetrics/setup.py deleted file mode 100644 index e163a49b1615..000000000000 --- a/sdk/monitor/azure-monitor-querymetrics/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-monitor-querymetrics" -PACKAGE_PPRINT_NAME = "Azure Monitor Query Metrics" -PACKAGE_NAMESPACE = "azure.monitor.querymetrics" - -# a.b.c => a/b/c -package_folder_path = PACKAGE_NAMESPACE.replace(".", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.monitor", - ] - ), - include_package_data=True, - package_data={ - "azure.monitor.querymetrics": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/monitor/azure-monitor/pyproject.toml b/sdk/monitor/azure-monitor/pyproject.toml index 0504960bccae..ad258f7a7a04 100644 --- a/sdk/monitor/azure-monitor/pyproject.toml +++ b/sdk/monitor/azure-monitor/pyproject.toml @@ -1,2 +1,5 @@ [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/monitor/azure-monitor/sdk_packaging.toml b/sdk/monitor/azure-monitor/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/monitor/azure-monitor/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/neonpostgres/azure-mgmt-neonpostgres/pyproject.toml b/sdk/neonpostgres/azure-mgmt-neonpostgres/pyproject.toml index 540da07d41af..96fbc0e68e52 100644 --- a/sdk/neonpostgres/azure-mgmt-neonpostgres/pyproject.toml +++ b/sdk/neonpostgres/azure-mgmt-neonpostgres/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-neonpostgres" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Neonpostgres Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.neonpostgres._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-neonpostgres" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Neonpostgres Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "NeonPostgresMgmtClient" diff --git a/sdk/neonpostgres/azure-mgmt-neonpostgres/sdk_packaging.toml b/sdk/neonpostgres/azure-mgmt-neonpostgres/sdk_packaging.toml deleted file mode 100644 index 38306b5c25d8..000000000000 --- a/sdk/neonpostgres/azure-mgmt-neonpostgres/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-neonpostgres" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Neonpostgres Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "NeonPostgresMgmtClient" diff --git a/sdk/neonpostgres/azure-mgmt-neonpostgres/setup.py b/sdk/neonpostgres/azure-mgmt-neonpostgres/setup.py deleted file mode 100644 index 090dc2220bcc..000000000000 --- a/sdk/neonpostgres/azure-mgmt-neonpostgres/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-neonpostgres" -PACKAGE_PPRINT_NAME = "Neonpostgres Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/network/azure-mgmt-dns/pyproject.toml b/sdk/network/azure-mgmt-dns/pyproject.toml index 540da07d41af..177cdaac631f 100644 --- a/sdk/network/azure-mgmt-dns/pyproject.toml +++ b/sdk/network/azure-mgmt-dns/pyproject.toml @@ -1,6 +1,78 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-dns" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure DNS Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.dns._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-dns" +package_pprint_name = "DNS Management" +package_doc_id = "dns" +is_stable = true +title = "DnsManagementClient" diff --git a/sdk/network/azure-mgmt-dns/sdk_packaging.toml b/sdk/network/azure-mgmt-dns/sdk_packaging.toml deleted file mode 100644 index 28206ab2769c..000000000000 --- a/sdk/network/azure-mgmt-dns/sdk_packaging.toml +++ /dev/null @@ -1,6 +0,0 @@ -[packaging] -package_name = "azure-mgmt-dns" -package_pprint_name = "DNS Management" -package_doc_id = "dns" -is_stable = true -title = "DnsManagementClient" diff --git a/sdk/network/azure-mgmt-dns/setup.py b/sdk/network/azure-mgmt-dns/setup.py deleted file mode 100644 index 63989f123e98..000000000000 --- a/sdk/network/azure-mgmt-dns/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-dns" -PACKAGE_PPRINT_NAME = "DNS Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/network/azure-mgmt-frontdoor/pyproject.toml b/sdk/network/azure-mgmt-frontdoor/pyproject.toml index 540da07d41af..204960c779d0 100644 --- a/sdk/network/azure-mgmt-frontdoor/pyproject.toml +++ b/sdk/network/azure-mgmt-frontdoor/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-frontdoor" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Front Door Service Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.frontdoor._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-frontdoor" +package_pprint_name = "Front Door Service" +package_doc_id = "" +is_stable = true +is_arm = true +title = "FrontDoorManagementClient" diff --git a/sdk/network/azure-mgmt-frontdoor/sdk_packaging.toml b/sdk/network/azure-mgmt-frontdoor/sdk_packaging.toml deleted file mode 100644 index ca9a9fa5cc7e..000000000000 --- a/sdk/network/azure-mgmt-frontdoor/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-frontdoor" -package_pprint_name = "Front Door Service" -package_doc_id = "" -is_stable = true -is_arm = true -title = "FrontDoorManagementClient" \ No newline at end of file diff --git a/sdk/network/azure-mgmt-frontdoor/setup.py b/sdk/network/azure-mgmt-frontdoor/setup.py deleted file mode 100644 index aed570f34b33..000000000000 --- a/sdk/network/azure-mgmt-frontdoor/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-frontdoor" -PACKAGE_PPRINT_NAME = "Front Door Service" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/network/azure-mgmt-privatedns/pyproject.toml b/sdk/network/azure-mgmt-privatedns/pyproject.toml index 540da07d41af..d2c7b5cecbad 100644 --- a/sdk/network/azure-mgmt-privatedns/pyproject.toml +++ b/sdk/network/azure-mgmt-privatedns/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-privatedns" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure DNS Private Zones Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.privatedns._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-privatedns" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "DNS Private Zones" +package_doc_id = "" +is_stable = true +is_arm = true +title = "PrivateDnsManagementClient" diff --git a/sdk/network/azure-mgmt-privatedns/sdk_packaging.toml b/sdk/network/azure-mgmt-privatedns/sdk_packaging.toml deleted file mode 100644 index a084acf22641..000000000000 --- a/sdk/network/azure-mgmt-privatedns/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-privatedns" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "DNS Private Zones" -package_doc_id = "" -is_stable = true -is_arm = true -title = "PrivateDnsManagementClient" diff --git a/sdk/network/azure-mgmt-privatedns/setup.py b/sdk/network/azure-mgmt-privatedns/setup.py deleted file mode 100644 index 974aeb2e1b47..000000000000 --- a/sdk/network/azure-mgmt-privatedns/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-privatedns" -PACKAGE_PPRINT_NAME = "DNS Private Zones" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/networkanalytics/azure-mgmt-networkanalytics/pyproject.toml b/sdk/networkanalytics/azure-mgmt-networkanalytics/pyproject.toml index 540da07d41af..dcf753331c6c 100644 --- a/sdk/networkanalytics/azure-mgmt-networkanalytics/pyproject.toml +++ b/sdk/networkanalytics/azure-mgmt-networkanalytics/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-networkanalytics" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Networkanalytics Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.networkanalytics._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-networkanalytics" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Networkanalytics Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "NetworkAnalyticsMgmtClient" diff --git a/sdk/networkanalytics/azure-mgmt-networkanalytics/sdk_packaging.toml b/sdk/networkanalytics/azure-mgmt-networkanalytics/sdk_packaging.toml deleted file mode 100644 index 9f005a3d3c3c..000000000000 --- a/sdk/networkanalytics/azure-mgmt-networkanalytics/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-networkanalytics" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Networkanalytics Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "NetworkAnalyticsMgmtClient" diff --git a/sdk/networkanalytics/azure-mgmt-networkanalytics/setup.py b/sdk/networkanalytics/azure-mgmt-networkanalytics/setup.py deleted file mode 100644 index 7a26fec2bd3a..000000000000 --- a/sdk/networkanalytics/azure-mgmt-networkanalytics/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-networkanalytics" -PACKAGE_PPRINT_NAME = "Networkanalytics Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/networkfunction/azure-mgmt-networkfunction/pyproject.toml b/sdk/networkfunction/azure-mgmt-networkfunction/pyproject.toml index 540da07d41af..4f68e22ef15f 100644 --- a/sdk/networkfunction/azure-mgmt-networkfunction/pyproject.toml +++ b/sdk/networkfunction/azure-mgmt-networkfunction/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-networkfunction" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Networkfunction Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.networkfunction._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-networkfunction" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Networkfunction Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "TrafficCollectorMgmtClient" diff --git a/sdk/networkfunction/azure-mgmt-networkfunction/sdk_packaging.toml b/sdk/networkfunction/azure-mgmt-networkfunction/sdk_packaging.toml deleted file mode 100644 index 85b002ef8a38..000000000000 --- a/sdk/networkfunction/azure-mgmt-networkfunction/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-networkfunction" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Networkfunction Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "TrafficCollectorMgmtClient" diff --git a/sdk/networkfunction/azure-mgmt-networkfunction/setup.py b/sdk/networkfunction/azure-mgmt-networkfunction/setup.py deleted file mode 100644 index d5f048090884..000000000000 --- a/sdk/networkfunction/azure-mgmt-networkfunction/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-networkfunction" -PACKAGE_PPRINT_NAME = "Networkfunction Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/notificationhubs/azure-mgmt-notificationhubs/pyproject.toml b/sdk/notificationhubs/azure-mgmt-notificationhubs/pyproject.toml index 540da07d41af..3c8049c58418 100644 --- a/sdk/notificationhubs/azure-mgmt-notificationhubs/pyproject.toml +++ b/sdk/notificationhubs/azure-mgmt-notificationhubs/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-notificationhubs" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Notification Hubs Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.notificationhubs._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-notificationhubs" +package_pprint_name = "Notification Hubs Management" +package_doc_id = "notification-hubs" +is_stable = false +sample_link = "" +title = "NotificationHubsManagementClient" diff --git a/sdk/notificationhubs/azure-mgmt-notificationhubs/sdk_packaging.toml b/sdk/notificationhubs/azure-mgmt-notificationhubs/sdk_packaging.toml deleted file mode 100644 index 199549324243..000000000000 --- a/sdk/notificationhubs/azure-mgmt-notificationhubs/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-notificationhubs" -package_pprint_name = "Notification Hubs Management" -package_doc_id = "notification-hubs" -is_stable = false -sample_link = "" -title = "NotificationHubsManagementClient" diff --git a/sdk/notificationhubs/azure-mgmt-notificationhubs/setup.py b/sdk/notificationhubs/azure-mgmt-notificationhubs/setup.py deleted file mode 100644 index e40ff58d7a90..000000000000 --- a/sdk/notificationhubs/azure-mgmt-notificationhubs/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-notificationhubs" -PACKAGE_PPRINT_NAME = "Notification Hubs Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/oep/azure-mgmt-oep/pyproject.toml b/sdk/oep/azure-mgmt-oep/pyproject.toml index 540da07d41af..b69e5e0361a8 100644 --- a/sdk/oep/azure-mgmt-oep/pyproject.toml +++ b/sdk/oep/azure-mgmt-oep/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-oep" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Oep Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.oep._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-oep" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Oep Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "OpenEnergyPlatformManagementServiceAPIs" diff --git a/sdk/oep/azure-mgmt-oep/sdk_packaging.toml b/sdk/oep/azure-mgmt-oep/sdk_packaging.toml deleted file mode 100644 index c99290815cd9..000000000000 --- a/sdk/oep/azure-mgmt-oep/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-oep" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Oep Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "OpenEnergyPlatformManagementServiceAPIs" diff --git a/sdk/oep/azure-mgmt-oep/setup.py b/sdk/oep/azure-mgmt-oep/setup.py deleted file mode 100644 index 312f9cdf1bd2..000000000000 --- a/sdk/oep/azure-mgmt-oep/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-oep" -PACKAGE_PPRINT_NAME = "Oep Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/onlineexperimentation/azure-mgmt-onlineexperimentation/pyproject.toml b/sdk/onlineexperimentation/azure-mgmt-onlineexperimentation/pyproject.toml index 42a7f73e0386..41dbe23299df 100644 --- a/sdk/onlineexperimentation/azure-mgmt-onlineexperimentation/pyproject.toml +++ b/sdk/onlineexperimentation/azure-mgmt-onlineexperimentation/pyproject.toml @@ -1,2 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-onlineexperimentation" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Onlineexperimentation Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.onlineexperimentation._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-onlineexperimentation" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Onlineexperimentation Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "OnlineExperimentationMgmtClient" diff --git a/sdk/onlineexperimentation/azure-mgmt-onlineexperimentation/sdk_packaging.toml b/sdk/onlineexperimentation/azure-mgmt-onlineexperimentation/sdk_packaging.toml deleted file mode 100644 index 3ea0d491dddb..000000000000 --- a/sdk/onlineexperimentation/azure-mgmt-onlineexperimentation/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-onlineexperimentation" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Onlineexperimentation Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "OnlineExperimentationMgmtClient" diff --git a/sdk/onlineexperimentation/azure-mgmt-onlineexperimentation/setup.py b/sdk/onlineexperimentation/azure-mgmt-onlineexperimentation/setup.py deleted file mode 100644 index 181e483e4be1..000000000000 --- a/sdk/onlineexperimentation/azure-mgmt-onlineexperimentation/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-onlineexperimentation" -PACKAGE_PPRINT_NAME = "Onlineexperimentation Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/onlineexperimentation/azure-onlineexperimentation/pyproject.toml b/sdk/onlineexperimentation/azure-onlineexperimentation/pyproject.toml new file mode 100644 index 000000000000..6a1edf7b2bb0 --- /dev/null +++ b/sdk/onlineexperimentation/azure-onlineexperimentation/pyproject.toml @@ -0,0 +1,61 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-onlineexperimentation" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Azure Onlineexperimentation Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + +[tool.setuptools.dynamic.version] +attr = "azure.onlineexperimentation._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", +] + +[tool.setuptools.package-data] +"azure.onlineexperimentation" = [ + "py.typed", +] diff --git a/sdk/onlineexperimentation/azure-onlineexperimentation/setup.py b/sdk/onlineexperimentation/azure-onlineexperimentation/setup.py deleted file mode 100644 index 0ae144b3bb0e..000000000000 --- a/sdk/onlineexperimentation/azure-onlineexperimentation/setup.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-onlineexperimentation" -PACKAGE_PPRINT_NAME = "Azure Onlineexperimentation" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - ] - ), - include_package_data=True, - package_data={ - "azure.onlineexperimentation": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/openai/azure-openai/pyproject.toml b/sdk/openai/azure-openai/pyproject.toml index 825426301560..840467876752 100644 --- a/sdk/openai/azure-openai/pyproject.toml +++ b/sdk/openai/azure-openai/pyproject.toml @@ -1,3 +1,44 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-openai" +authors = [ + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, +] +description = "Microsoft Azure Azure OpenAI Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-identity<2.0.0,>=1.15.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pylint = false mypy = false @@ -8,3 +49,26 @@ sphinx = false sdist = false mindependency = false verifysdist = false + +[tool.setuptools.dynamic.version] +attr = "azure.openai._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", +] + +[tool.setuptools.package-data] +"azure.openai" = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/openai/azure-openai/sdk_packaging.toml b/sdk/openai/azure-openai/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/openai/azure-openai/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/openai/azure-openai/setup.py b/sdk/openai/azure-openai/setup.py deleted file mode 100644 index c111c60387bb..000000000000 --- a/sdk/openai/azure-openai/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -from setuptools import setup, find_packages -import os -from io import open -import re - -# azure openai testing package - -PACKAGE_NAME = "azure-openai" -PACKAGE_PPRINT_NAME = "Azure OpenAI" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - long_description = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - # ensure that these are updated to reflect the package owners' information - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - author="Microsoft Corporation", - author_email="azuresdkengsysadmins@microsoft.com", - license="MIT License", - # ensure that the development status reflects the status of your package - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - # This means any folder structure that only consists of a __init__.py. - # For example, for storage, this would mean adding 'azure.storage' - # in addition to the default 'azure' that is seen here. - "azure", - ] - ), - include_package_data=True, - package_data={ - 'azure.openai': ['py.typed'], - }, - install_requires=[ - "azure-identity<2.0.0,>=1.15.0" - ], - python_requires=">=3.7", - project_urls={ - "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", - "Source": "https://github.com/Azure/azure-sdk-for-python", - }, -) diff --git a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/pyproject.toml b/sdk/operationsmanagement/azure-mgmt-operationsmanagement/pyproject.toml index 540da07d41af..5e98e410cf73 100644 --- a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/pyproject.toml +++ b/sdk/operationsmanagement/azure-mgmt-operationsmanagement/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-operationsmanagement" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Operationsmanagement Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.operationsmanagement._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-operationsmanagement" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Operationsmanagement Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "OperationsManagementClient" diff --git a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/sdk_packaging.toml b/sdk/operationsmanagement/azure-mgmt-operationsmanagement/sdk_packaging.toml deleted file mode 100644 index 591c9715f39f..000000000000 --- a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-operationsmanagement" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Operationsmanagement Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "OperationsManagementClient" diff --git a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/setup.py b/sdk/operationsmanagement/azure-mgmt-operationsmanagement/setup.py deleted file mode 100644 index 865531745f2a..000000000000 --- a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-operationsmanagement" -PACKAGE_PPRINT_NAME = "Operationsmanagement Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/orbital/azure-mgmt-orbital/pyproject.toml b/sdk/orbital/azure-mgmt-orbital/pyproject.toml index 540da07d41af..029023fa00ef 100644 --- a/sdk/orbital/azure-mgmt-orbital/pyproject.toml +++ b/sdk/orbital/azure-mgmt-orbital/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-orbital" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Orbital Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.orbital._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-orbital" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Orbital Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "AzureOrbital" diff --git a/sdk/orbital/azure-mgmt-orbital/sdk_packaging.toml b/sdk/orbital/azure-mgmt-orbital/sdk_packaging.toml deleted file mode 100644 index 87c7b8168e5e..000000000000 --- a/sdk/orbital/azure-mgmt-orbital/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-orbital" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Orbital Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "AzureOrbital" diff --git a/sdk/orbital/azure-mgmt-orbital/setup.py b/sdk/orbital/azure-mgmt-orbital/setup.py deleted file mode 100644 index f2bba6a81634..000000000000 --- a/sdk/orbital/azure-mgmt-orbital/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-orbital" -PACKAGE_PPRINT_NAME = "Orbital Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/peering/azure-mgmt-peering/pyproject.toml b/sdk/peering/azure-mgmt-peering/pyproject.toml index 540da07d41af..ae7e6304bb0c 100644 --- a/sdk/peering/azure-mgmt-peering/pyproject.toml +++ b/sdk/peering/azure-mgmt-peering/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-peering" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Peering Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.peering._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-peering" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Peering Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "PeeringManagementClient" diff --git a/sdk/peering/azure-mgmt-peering/sdk_packaging.toml b/sdk/peering/azure-mgmt-peering/sdk_packaging.toml deleted file mode 100644 index 6523b308ccd0..000000000000 --- a/sdk/peering/azure-mgmt-peering/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-peering" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Peering Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "PeeringManagementClient" diff --git a/sdk/peering/azure-mgmt-peering/setup.py b/sdk/peering/azure-mgmt-peering/setup.py deleted file mode 100644 index 9ddde0eb9244..000000000000 --- a/sdk/peering/azure-mgmt-peering/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-peering" -PACKAGE_PPRINT_NAME = "Peering Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/personalizer/azure-ai-personalizer/pyproject.toml b/sdk/personalizer/azure-ai-personalizer/pyproject.toml index c2179227be3e..e7be0f0b1f56 100644 --- a/sdk/personalizer/azure-ai-personalizer/pyproject.toml +++ b/sdk/personalizer/azure-ai-personalizer/pyproject.toml @@ -1,7 +1,78 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-personalizer" +authors = [ + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, +] +description = "Microsoft Azure Personalizer Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "personalizer", + "cognitive services", + "reinforcement learning", + "contextual bandit", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.24.0", + "isodate<1.0.0,>=0.6.1", + "typing-extensions>=4.0.1", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pylint = false pyright = false type_check_samples = false verifytypes = false ci_enabled = false -black = true \ No newline at end of file +black = true + +[tool.setuptools.dynamic.version] +attr = "azure.ai.personalizer._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/personalizer/azure-ai-personalizer/sdk_packaging.toml b/sdk/personalizer/azure-ai-personalizer/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/personalizer/azure-ai-personalizer/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/personalizer/azure-ai-personalizer/setup.py b/sdk/personalizer/azure-ai-personalizer/setup.py deleted file mode 100644 index 340c4742be0d..000000000000 --- a/sdk/personalizer/azure-ai-personalizer/setup.py +++ /dev/null @@ -1,80 +0,0 @@ -from setuptools import setup, find_packages -import os -from io import open -import re - -# example setup.py Feel free to copy the entire "azure-template" folder into a package folder named -# with "azure-". Ensure that the below arguments to setup() are updated to reflect -# your package. - -# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way -# up from python 2.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging - -PACKAGE_NAME = "azure-ai-personalizer" -PACKAGE_PPRINT_NAME = "Personalizer" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - long_description = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - # ensure that these are updated to reflect the package owners' information - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/Azure/azure-sdk-for-python", - keywords=["azure", "personalizer", "cognitive services", "reinforcement learning", "contextual bandit", "azure sdk"], - author="Microsoft Corporation", - author_email="azuresdkengsysadmins@microsoft.com", - license="MIT License", - # ensure that the development status reflects the status of your package - classifiers=[ - "Development Status :: 7 - Inactive", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - # This means any folder structure that only consists of a __init__.py. - # For example, for storage, this would mean adding 'azure.storage' - # in addition to the default 'azure' that is seen here. - "azure", - "azure.ai", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "azure-core<2.0.0,>=1.24.0", - "isodate<1.0.0,>=0.6.1", - "typing-extensions>=4.0.1", - ], - python_requires=">=3.7", - project_urls={ - "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", - "Source": "https://github.com/Azure/azure-sdk-for-python", - }, -) diff --git a/sdk/pineconevectordb/azure-mgmt-pineconevectordb/pyproject.toml b/sdk/pineconevectordb/azure-mgmt-pineconevectordb/pyproject.toml index 42a7f73e0386..244a621be7ff 100644 --- a/sdk/pineconevectordb/azure-mgmt-pineconevectordb/pyproject.toml +++ b/sdk/pineconevectordb/azure-mgmt-pineconevectordb/pyproject.toml @@ -1,2 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-pineconevectordb" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Pineconevectordb Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.pineconevectordb._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-pineconevectordb" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Pineconevectordb Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "PineconeVectorDbMgmtClient" diff --git a/sdk/pineconevectordb/azure-mgmt-pineconevectordb/sdk_packaging.toml b/sdk/pineconevectordb/azure-mgmt-pineconevectordb/sdk_packaging.toml deleted file mode 100644 index 51c29a8b71ce..000000000000 --- a/sdk/pineconevectordb/azure-mgmt-pineconevectordb/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-pineconevectordb" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Pineconevectordb Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "PineconeVectorDbMgmtClient" diff --git a/sdk/pineconevectordb/azure-mgmt-pineconevectordb/setup.py b/sdk/pineconevectordb/azure-mgmt-pineconevectordb/setup.py deleted file mode 100644 index 204fbf6a3474..000000000000 --- a/sdk/pineconevectordb/azure-mgmt-pineconevectordb/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-pineconevectordb" -PACKAGE_PPRINT_NAME = "Pineconevectordb Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/planetarycomputer/azure-mgmt-planetarycomputer/pyproject.toml b/sdk/planetarycomputer/azure-mgmt-planetarycomputer/pyproject.toml index 42a7f73e0386..8abe243b1b63 100644 --- a/sdk/planetarycomputer/azure-mgmt-planetarycomputer/pyproject.toml +++ b/sdk/planetarycomputer/azure-mgmt-planetarycomputer/pyproject.toml @@ -1,2 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-planetarycomputer" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Planetarycomputer Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.planetarycomputer._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-planetarycomputer" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Planetarycomputer Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "PlanetaryComputerMgmtClient" diff --git a/sdk/planetarycomputer/azure-mgmt-planetarycomputer/sdk_packaging.toml b/sdk/planetarycomputer/azure-mgmt-planetarycomputer/sdk_packaging.toml deleted file mode 100644 index e8eb242b9123..000000000000 --- a/sdk/planetarycomputer/azure-mgmt-planetarycomputer/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-planetarycomputer" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Planetarycomputer Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "PlanetaryComputerMgmtClient" diff --git a/sdk/planetarycomputer/azure-mgmt-planetarycomputer/setup.py b/sdk/planetarycomputer/azure-mgmt-planetarycomputer/setup.py deleted file mode 100644 index c00d9dbd5a83..000000000000 --- a/sdk/planetarycomputer/azure-mgmt-planetarycomputer/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-planetarycomputer" -PACKAGE_PPRINT_NAME = "Planetarycomputer Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/playwright/azure-mgmt-playwright/pyproject.toml b/sdk/playwright/azure-mgmt-playwright/pyproject.toml index de178fb9ee3b..e6f12ab81e00 100644 --- a/sdk/playwright/azure-mgmt-playwright/pyproject.toml +++ b/sdk/playwright/azure-mgmt-playwright/pyproject.toml @@ -1,8 +1,74 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-playwright" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Playwright Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false pyright = false mypy = false +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.playwright._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + [packaging] package_name = "azure-mgmt-playwright" package_nspkg = "azure-mgmt-nspkg" diff --git a/sdk/playwright/azure-mgmt-playwright/setup.py b/sdk/playwright/azure-mgmt-playwright/setup.py deleted file mode 100644 index 678c83b04c77..000000000000 --- a/sdk/playwright/azure-mgmt-playwright/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-playwright" -PACKAGE_PPRINT_NAME = "Playwright Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/playwrighttesting/azure-mgmt-playwrighttesting/pyproject.toml b/sdk/playwrighttesting/azure-mgmt-playwrighttesting/pyproject.toml index 540da07d41af..41c6612de400 100644 --- a/sdk/playwrighttesting/azure-mgmt-playwrighttesting/pyproject.toml +++ b/sdk/playwrighttesting/azure-mgmt-playwrighttesting/pyproject.toml @@ -1,6 +1,86 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-playwrighttesting" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Playwrighttesting Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.playwrighttesting._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-playwrighttesting" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Playwrighttesting Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "PlaywrightTestingMgmtClient" +auto_update = false diff --git a/sdk/playwrighttesting/azure-mgmt-playwrighttesting/sdk_packaging.toml b/sdk/playwrighttesting/azure-mgmt-playwrighttesting/sdk_packaging.toml deleted file mode 100644 index f602a8ea17c4..000000000000 --- a/sdk/playwrighttesting/azure-mgmt-playwrighttesting/sdk_packaging.toml +++ /dev/null @@ -1,13 +0,0 @@ -[packaging] -package_name = "azure-mgmt-playwrighttesting" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Playwrighttesting Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "PlaywrightTestingMgmtClient" -auto_update = false diff --git a/sdk/playwrighttesting/azure-mgmt-playwrighttesting/setup.py b/sdk/playwrighttesting/azure-mgmt-playwrighttesting/setup.py deleted file mode 100644 index 9fc70e013fff..000000000000 --- a/sdk/playwrighttesting/azure-mgmt-playwrighttesting/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-playwrighttesting" -PACKAGE_PPRINT_NAME = "Playwrighttesting Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 7 - Inactive", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/policyinsights/azure-mgmt-policyinsights/pyproject.toml b/sdk/policyinsights/azure-mgmt-policyinsights/pyproject.toml index 540da07d41af..282fe5ecf51d 100644 --- a/sdk/policyinsights/azure-mgmt-policyinsights/pyproject.toml +++ b/sdk/policyinsights/azure-mgmt-policyinsights/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-policyinsights" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Policy Insights Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.policyinsights._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-policyinsights" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Policy Insights" +package_doc_id = "" +is_stable = false +is_arm = true +sample_link = "" +title = "PolicyInsightsClient" diff --git a/sdk/policyinsights/azure-mgmt-policyinsights/sdk_packaging.toml b/sdk/policyinsights/azure-mgmt-policyinsights/sdk_packaging.toml deleted file mode 100644 index 46609b5cbf39..000000000000 --- a/sdk/policyinsights/azure-mgmt-policyinsights/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-policyinsights" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Policy Insights" -package_doc_id = "" -is_stable = false -is_arm = true -sample_link = "" -title = "PolicyInsightsClient" diff --git a/sdk/policyinsights/azure-mgmt-policyinsights/setup.py b/sdk/policyinsights/azure-mgmt-policyinsights/setup.py deleted file mode 100644 index dcf631fd3553..000000000000 --- a/sdk/policyinsights/azure-mgmt-policyinsights/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-policyinsights" -PACKAGE_PPRINT_NAME = "Policy Insights" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/portal/azure-mgmt-portal/pyproject.toml b/sdk/portal/azure-mgmt-portal/pyproject.toml index 540da07d41af..08eff9431dda 100644 --- a/sdk/portal/azure-mgmt-portal/pyproject.toml +++ b/sdk/portal/azure-mgmt-portal/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-portal" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Portal Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.portal._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-portal" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Portal Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "Portal" diff --git a/sdk/portal/azure-mgmt-portal/sdk_packaging.toml b/sdk/portal/azure-mgmt-portal/sdk_packaging.toml deleted file mode 100644 index 4d43d210fa45..000000000000 --- a/sdk/portal/azure-mgmt-portal/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-portal" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Portal Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "Portal" diff --git a/sdk/portal/azure-mgmt-portal/setup.py b/sdk/portal/azure-mgmt-portal/setup.py deleted file mode 100644 index e44bfe691b32..000000000000 --- a/sdk/portal/azure-mgmt-portal/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-portal" -PACKAGE_PPRINT_NAME = "Portal Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/portalservices/azure-mgmt-portalservicescopilot/pyproject.toml b/sdk/portalservices/azure-mgmt-portalservicescopilot/pyproject.toml index 42a7f73e0386..6420cae20330 100644 --- a/sdk/portalservices/azure-mgmt-portalservicescopilot/pyproject.toml +++ b/sdk/portalservices/azure-mgmt-portalservicescopilot/pyproject.toml @@ -1,2 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-portalservicescopilot" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Portalservicescopilot Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.portalservicescopilot._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-portalservicescopilot" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Portalservicescopilot Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "PortalServicesCopilotMgmtClient" diff --git a/sdk/portalservices/azure-mgmt-portalservicescopilot/sdk_packaging.toml b/sdk/portalservices/azure-mgmt-portalservicescopilot/sdk_packaging.toml deleted file mode 100644 index cfbe9d421b46..000000000000 --- a/sdk/portalservices/azure-mgmt-portalservicescopilot/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-portalservicescopilot" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Portalservicescopilot Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "PortalServicesCopilotMgmtClient" diff --git a/sdk/portalservices/azure-mgmt-portalservicescopilot/setup.py b/sdk/portalservices/azure-mgmt-portalservicescopilot/setup.py deleted file mode 100644 index 4399f1480435..000000000000 --- a/sdk/portalservices/azure-mgmt-portalservicescopilot/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-portalservicescopilot" -PACKAGE_PPRINT_NAME = "Portalservicescopilot Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/pyproject.toml b/sdk/powerbidedicated/azure-mgmt-powerbidedicated/pyproject.toml index 540da07d41af..dd1f841a8336 100644 --- a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/pyproject.toml +++ b/sdk/powerbidedicated/azure-mgmt-powerbidedicated/pyproject.toml @@ -1,6 +1,78 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-powerbidedicated" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Power BI Dedicated Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.powerbidedicated._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-powerbidedicated" +package_pprint_name = "Power BI Dedicated Management" +package_doc_id = "" +is_stable = false +title = "PowerBIDedicated" diff --git a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/sdk_packaging.toml b/sdk/powerbidedicated/azure-mgmt-powerbidedicated/sdk_packaging.toml deleted file mode 100644 index f748e8965b23..000000000000 --- a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/sdk_packaging.toml +++ /dev/null @@ -1,6 +0,0 @@ -[packaging] -package_name = "azure-mgmt-powerbidedicated" -package_pprint_name = "Power BI Dedicated Management" -package_doc_id = "" -is_stable = false -title = "PowerBIDedicated" diff --git a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/setup.py b/sdk/powerbidedicated/azure-mgmt-powerbidedicated/setup.py deleted file mode 100644 index 97103c0454cd..000000000000 --- a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-powerbidedicated" -PACKAGE_PPRINT_NAME = "Power BI Dedicated Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/pyproject.toml b/sdk/powerbiembedded/azure-mgmt-powerbiembedded/pyproject.toml index 540da07d41af..495a3ce4050d 100644 --- a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/pyproject.toml +++ b/sdk/powerbiembedded/azure-mgmt-powerbiembedded/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-powerbiembedded" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Power BI Embedded Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.powerbiembedded._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-powerbiembedded" +package_pprint_name = "Power BI Embedded Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "PowerBIEmbeddedManagementClient" diff --git a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/sdk_packaging.toml b/sdk/powerbiembedded/azure-mgmt-powerbiembedded/sdk_packaging.toml deleted file mode 100644 index 56b7695f2fbf..000000000000 --- a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-powerbiembedded" -package_pprint_name = "Power BI Embedded Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "PowerBIEmbeddedManagementClient" diff --git a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/setup.py b/sdk/powerbiembedded/azure-mgmt-powerbiembedded/setup.py deleted file mode 100644 index 54229b720455..000000000000 --- a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-powerbiembedded" -PACKAGE_PPRINT_NAME = "Power BI Embedded Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/projects/azure-projects/pyproject.toml b/sdk/projects/azure-projects/pyproject.toml index d99d7775f7cf..a0d1e7da835a 100644 --- a/sdk/projects/azure-projects/pyproject.toml +++ b/sdk/projects/azure-projects/pyproject.toml @@ -1,11 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-projects" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Projects Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 1 - Planning", + "Intended Audience :: Developers", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", + "azure projects", +] +dependencies = [ + "typing-extensions>=4.5", + "python-dotenv>=1.0.0", + "pyyaml>=6.0.2", + "azure-core>=1.31.0", + "azure-identity>=1.20", + "azure-appconfiguration-provider>=2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +mcp = [ + "mcp>=1.6", + "makefun>=1.15", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] mypy = true type_check_samples = true verifytypes = true -# TODO: Get pyright passing pyright = false pylint = true black = true sphinx = true -# absolute_cov = true -# absolute_cov_percent = 80.00 + +[tool.setuptools.dynamic.version] +attr = "azure.projects._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", +] + +[tool.setuptools.package-data] +"azure.projects" = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/projects/azure-projects/sdk_packaging.toml b/sdk/projects/azure-projects/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/projects/azure-projects/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/projects/azure-projects/setup.py b/sdk/projects/azure-projects/setup.py deleted file mode 100644 index b7bda7624f6a..000000000000 --- a/sdk/projects/azure-projects/setup.py +++ /dev/null @@ -1,94 +0,0 @@ -#!/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, find_packages -import os -from io import open -import re - - -PACKAGE_NAME = "azure-projects" -PACKAGE_PPRINT_NAME = "Projects" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - long_description = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Library for Python".format(PACKAGE_PPRINT_NAME), - # ensure that these are updated to reflect the package owners' information - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk, azure projects", # update with search keywords relevant to the azure service / product - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - license="MIT License", - # ensure that the development status reflects the status of your package - classifiers=[ - "Development Status :: 1 - Planning", - "Intended Audience :: Developers", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - # This means any folder structure that only consists of a __init__.py. - # For example, for storage, this would mean adding 'azure.storage' - # in addition to the default 'azure' that is seen here. - "azure", - ] - ), - include_package_data=True, - package_data={ - "azure.projects": ["py.typed"], - }, - install_requires=[ - "typing-extensions>=4.5", - "python-dotenv>=1.0.0", - "pyyaml>=6.0.2", - "azure-core>=1.31.0", - "azure-identity>=1.20", - "azure-appconfiguration-provider>=2.0.0", # TODO: This needs to be removed before GA. - ], - python_requires=">=3.8", - entry_points={ - "console_scripts": ["azproj=azure.projects._command:command"], - }, - extras_require={ - "mcp": [ - "mcp>=1.6", - "makefun>=1.15", - ], - }, - project_urls={ - "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", - "Source": "https://github.com/Azure/azure-sdk-for-python", - }, -) diff --git a/sdk/purestorageblock/azure-mgmt-purestorageblock/pyproject.toml b/sdk/purestorageblock/azure-mgmt-purestorageblock/pyproject.toml index ce5cf69b33f0..061d50b56d7b 100644 --- a/sdk/purestorageblock/azure-mgmt-purestorageblock/pyproject.toml +++ b/sdk/purestorageblock/azure-mgmt-purestorageblock/pyproject.toml @@ -1,4 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-purestorageblock" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Purestorageblock Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false pyright = false mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.purestorageblock._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-purestorageblock" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Purestorageblock Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "PureStorageBlockMgmtClient" diff --git a/sdk/purestorageblock/azure-mgmt-purestorageblock/sdk_packaging.toml b/sdk/purestorageblock/azure-mgmt-purestorageblock/sdk_packaging.toml deleted file mode 100644 index 7e6103f10931..000000000000 --- a/sdk/purestorageblock/azure-mgmt-purestorageblock/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-purestorageblock" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Purestorageblock Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "PureStorageBlockMgmtClient" diff --git a/sdk/purestorageblock/azure-mgmt-purestorageblock/setup.py b/sdk/purestorageblock/azure-mgmt-purestorageblock/setup.py deleted file mode 100644 index eb3f6d5c79af..000000000000 --- a/sdk/purestorageblock/azure-mgmt-purestorageblock/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-purestorageblock" -PACKAGE_PPRINT_NAME = "Purestorageblock Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/purview/azure-mgmt-purview/pyproject.toml b/sdk/purview/azure-mgmt-purview/pyproject.toml index 540da07d41af..687c77dbac8c 100644 --- a/sdk/purview/azure-mgmt-purview/pyproject.toml +++ b/sdk/purview/azure-mgmt-purview/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-purview" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Purview Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.purview._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-purview" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Purview Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "PurviewManagementClient" diff --git a/sdk/purview/azure-mgmt-purview/sdk_packaging.toml b/sdk/purview/azure-mgmt-purview/sdk_packaging.toml deleted file mode 100644 index 52bbef1819c0..000000000000 --- a/sdk/purview/azure-mgmt-purview/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-purview" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Purview Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "PurviewManagementClient" \ No newline at end of file diff --git a/sdk/purview/azure-mgmt-purview/setup.py b/sdk/purview/azure-mgmt-purview/setup.py deleted file mode 100644 index 52e6fa48b4ca..000000000000 --- a/sdk/purview/azure-mgmt-purview/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-purview" -PACKAGE_PPRINT_NAME = "Purview Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/purview/azure-purview-administration/pyproject.toml b/sdk/purview/azure-purview-administration/pyproject.toml index 1ea1e48c18ff..516d6eefa5e6 100644 --- a/sdk/purview/azure-purview-administration/pyproject.toml +++ b/sdk/purview/azure-purview-administration/pyproject.toml @@ -1,3 +1,75 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-purview-administration" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Purview Administration Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.23.0", + "msrest>=0.6.21", + "six>=1.11.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false ci_enabled = false + +[tool.setuptools.dynamic.version] +attr = "azure.purview.administration._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.purview", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-purview-administration" +package_pprint_name = "Azure Purview Administration" +is_stable = false +is_arm = false diff --git a/sdk/purview/azure-purview-administration/sdk_packaging.toml b/sdk/purview/azure-purview-administration/sdk_packaging.toml deleted file mode 100644 index 58287ec51a84..000000000000 --- a/sdk/purview/azure-purview-administration/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-purview-administration" -package_pprint_name = "Azure Purview Administration" -is_stable = false -is_arm = false - -# Package owners should uncomment and set this doc id. -# package_doc_id = "purview-account" \ No newline at end of file diff --git a/sdk/purview/azure-purview-administration/setup.py b/sdk/purview/azure-purview-administration/setup.py deleted file mode 100644 index 636984c3d021..000000000000 --- a/sdk/purview/azure-purview-administration/setup.py +++ /dev/null @@ -1,76 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-purview-administration" -PACKAGE_PPRINT_NAME = "Azure Purview Administration" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.purview', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - python_requires=">=3.6", - install_requires=[ - "azure-core<2.0.0,>=1.23.0", - "msrest>=0.6.21", - 'six>=1.11.0', - ], -) diff --git a/sdk/purview/azure-purview-catalog/pyproject.toml b/sdk/purview/azure-purview-catalog/pyproject.toml index e397b6597079..9103b31a3a99 100644 --- a/sdk/purview/azure-purview-catalog/pyproject.toml +++ b/sdk/purview/azure-purview-catalog/pyproject.toml @@ -1,6 +1,77 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-purview-catalog" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Azure Purview Catalog Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-core>=1.23.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pylint = false pyright = false mypy = false type_check_samples = false ci_enabled = false + +[tool.setuptools.dynamic.version] +attr = "azure.purview.catalog._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.purview", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-purview-catalog" +package_pprint_name = "Azure Purview Catalog" +is_stable = false +is_arm = false diff --git a/sdk/purview/azure-purview-catalog/sdk_packaging.toml b/sdk/purview/azure-purview-catalog/sdk_packaging.toml deleted file mode 100644 index 222d1b0d43da..000000000000 --- a/sdk/purview/azure-purview-catalog/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-purview-catalog" -package_pprint_name = "Azure Purview Catalog" -is_stable = false -is_arm = false - -# Package owners should uncomment and set this doc id. -# package_doc_id = "purview-catalog" \ No newline at end of file diff --git a/sdk/purview/azure-purview-catalog/setup.py b/sdk/purview/azure-purview-catalog/setup.py deleted file mode 100644 index 5cb4354bfa68..000000000000 --- a/sdk/purview/azure-purview-catalog/setup.py +++ /dev/null @@ -1,77 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-purview-catalog" -PACKAGE_PPRINT_NAME = "Azure Purview Catalog" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 7 - Inactive", - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.purview', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - 'msrest>=0.6.21', - 'azure-core>=1.23.0,<2.0.0', - ], - python_requires=">=3.6" -) diff --git a/sdk/purview/azure-purview-datamap/pyproject.toml b/sdk/purview/azure-purview-datamap/pyproject.toml index 41816c26a06d..a31357237dd3 100644 --- a/sdk/purview/azure-purview-datamap/pyproject.toml +++ b/sdk/purview/azure-purview-datamap/pyproject.toml @@ -1,3 +1,67 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-purview-datamap" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Purview Datamap Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-core<2.0.0,>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pylint = false sphinx = false + +[tool.setuptools.dynamic.version] +attr = "azure.purview.datamap._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.purview", +] + +[tool.setuptools.package-data] +"azure.purview.datamap" = [ + "py.typed", +] diff --git a/sdk/purview/azure-purview-datamap/setup.py b/sdk/purview/azure-purview-datamap/setup.py deleted file mode 100644 index 2f897189a3b7..000000000000 --- a/sdk/purview/azure-purview-datamap/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-purview-datamap" -PACKAGE_PPRINT_NAME = "Azure Purview Datamap" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.purview", - ] - ), - include_package_data=True, - package_data={ - "azure.purview.datamap": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/purview/azure-purview-scanning/pyproject.toml b/sdk/purview/azure-purview-scanning/pyproject.toml index 1ea1e48c18ff..b3cb1d748afc 100644 --- a/sdk/purview/azure-purview-scanning/pyproject.toml +++ b/sdk/purview/azure-purview-scanning/pyproject.toml @@ -1,3 +1,75 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-purview-scanning" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Purview Scanning Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.23.0", + "msrest>=0.6.21", + "six>=1.11.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false ci_enabled = false + +[tool.setuptools.dynamic.version] +attr = "azure.purview.scanning._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.purview", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-purview-scanning" +package_pprint_name = "Azure Purview Scanning" +is_stable = false +is_arm = false diff --git a/sdk/purview/azure-purview-scanning/sdk_packaging.toml b/sdk/purview/azure-purview-scanning/sdk_packaging.toml deleted file mode 100644 index 15eac00d8773..000000000000 --- a/sdk/purview/azure-purview-scanning/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-purview-scanning" -package_pprint_name = "Azure Purview Scanning" -is_stable = false -is_arm = false - -# Package owners should uncomment and set this doc id. -# package_doc_id = "purview-scanning" \ No newline at end of file diff --git a/sdk/purview/azure-purview-scanning/setup.py b/sdk/purview/azure-purview-scanning/setup.py deleted file mode 100644 index 2c25b1cddd41..000000000000 --- a/sdk/purview/azure-purview-scanning/setup.py +++ /dev/null @@ -1,76 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-purview-scanning" -PACKAGE_PPRINT_NAME = "Azure Purview Scanning" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.purview', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - python_requires=">=3.6", - install_requires=[ - "azure-core<2.0.0,>=1.23.0", - "msrest>=0.6.21", - 'six>=1.11.0', - ], -) diff --git a/sdk/purview/azure-purview-sharing/pyproject.toml b/sdk/purview/azure-purview-sharing/pyproject.toml index 68074b773430..196098f8cb94 100644 --- a/sdk/purview/azure-purview-sharing/pyproject.toml +++ b/sdk/purview/azure-purview-sharing/pyproject.toml @@ -1,4 +1,75 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-purview-sharing" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Purview Sharing Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-core<2.0.0,>=1.24.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pylint = false pyright = false sphinx = false + +[tool.setuptools.dynamic.version] +attr = "azure.purview.sharing._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.purview", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-purview-sharing" +package_pprint_name = "Azure Purview Sharing" +is_stable = false +is_arm = false diff --git a/sdk/purview/azure-purview-sharing/sdk_packaging.toml b/sdk/purview/azure-purview-sharing/sdk_packaging.toml deleted file mode 100644 index d5da3848301c..000000000000 --- a/sdk/purview/azure-purview-sharing/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-purview-sharing" -package_pprint_name = "Azure Purview Sharing" -is_stable = false -is_arm = false - -# Package owners should uncomment and set this doc id. -# package_doc_id = "purview-sharing" \ No newline at end of file diff --git a/sdk/purview/azure-purview-sharing/setup.py b/sdk/purview/azure-purview-sharing/setup.py deleted file mode 100644 index cdc351addf4b..000000000000 --- a/sdk/purview/azure-purview-sharing/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-purview-sharing" -PACKAGE_PPRINT_NAME = "Azure Purview Sharing" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure Purview Sharing Client Library for Python", - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.purview", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.24.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/purview/azure-purview-workflow/pyproject.toml b/sdk/purview/azure-purview-workflow/pyproject.toml new file mode 100644 index 000000000000..9e1226a2a4b9 --- /dev/null +++ b/sdk/purview/azure-purview-workflow/pyproject.toml @@ -0,0 +1,67 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-purview-workflow" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Purview Workflow Service Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-core<2.0.0,>=1.28.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + +[tool.setuptools.dynamic.version] +attr = "azure.purview.workflow._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.purview", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/purview/azure-purview-workflow/sdk_packaging.toml b/sdk/purview/azure-purview-workflow/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/purview/azure-purview-workflow/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/purview/azure-purview-workflow/setup.py b/sdk/purview/azure-purview-workflow/setup.py deleted file mode 100644 index bdca833e7925..000000000000 --- a/sdk/purview/azure-purview-workflow/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-purview-workflow" -PACKAGE_PPRINT_NAME = "Azure Purview Workflow Service" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.purview", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.28.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/quantum/azure-mgmt-quantum/pyproject.toml b/sdk/quantum/azure-mgmt-quantum/pyproject.toml index 540da07d41af..560a5bbb1d16 100644 --- a/sdk/quantum/azure-mgmt-quantum/pyproject.toml +++ b/sdk/quantum/azure-mgmt-quantum/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-quantum" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Quantum Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.quantum._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-quantum" +package_pprint_name = "Quantum Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "AzureQuantumManagementClient" diff --git a/sdk/quantum/azure-mgmt-quantum/sdk_packaging.toml b/sdk/quantum/azure-mgmt-quantum/sdk_packaging.toml deleted file mode 100644 index 939e9e23774d..000000000000 --- a/sdk/quantum/azure-mgmt-quantum/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-quantum" -package_pprint_name = "Quantum Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "AzureQuantumManagementClient" diff --git a/sdk/quantum/azure-mgmt-quantum/setup.py b/sdk/quantum/azure-mgmt-quantum/setup.py deleted file mode 100644 index 61eba21c923e..000000000000 --- a/sdk/quantum/azure-mgmt-quantum/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-quantum" -PACKAGE_PPRINT_NAME = "Quantum Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/qumulo/azure-mgmt-qumulo/pyproject.toml b/sdk/qumulo/azure-mgmt-qumulo/pyproject.toml index 540da07d41af..dff8742f6f91 100644 --- a/sdk/qumulo/azure-mgmt-qumulo/pyproject.toml +++ b/sdk/qumulo/azure-mgmt-qumulo/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-qumulo" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Qumulo Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.qumulo._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-qumulo" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Qumulo Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "QumuloMgmtClient" diff --git a/sdk/qumulo/azure-mgmt-qumulo/sdk_packaging.toml b/sdk/qumulo/azure-mgmt-qumulo/sdk_packaging.toml deleted file mode 100644 index 3b766b3ca5c5..000000000000 --- a/sdk/qumulo/azure-mgmt-qumulo/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-qumulo" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Qumulo Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "QumuloMgmtClient" diff --git a/sdk/qumulo/azure-mgmt-qumulo/setup.py b/sdk/qumulo/azure-mgmt-qumulo/setup.py deleted file mode 100644 index 23a2d50177f8..000000000000 --- a/sdk/qumulo/azure-mgmt-qumulo/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-qumulo" -PACKAGE_PPRINT_NAME = "Qumulo Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/rdbms/azure-mgmt-rdbms/pyproject.toml b/sdk/rdbms/azure-mgmt-rdbms/pyproject.toml index 540da07d41af..6e07812f83a2 100644 --- a/sdk/rdbms/azure-mgmt-rdbms/pyproject.toml +++ b/sdk/rdbms/azure-mgmt-rdbms/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-rdbms" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure RDBMS Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.rdbms._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-rdbms" +package_pprint_name = "RDBMS Management" +package_doc_id = "" +is_stable = false +title = "MySQLManagementClient" +sub_namespace = "mysql" diff --git a/sdk/rdbms/azure-mgmt-rdbms/sdk_packaging.toml b/sdk/rdbms/azure-mgmt-rdbms/sdk_packaging.toml deleted file mode 100644 index 5adb4e533439..000000000000 --- a/sdk/rdbms/azure-mgmt-rdbms/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-rdbms" -package_pprint_name = "RDBMS Management" -package_doc_id = "" -is_stable = false -title = "MySQLManagementClient" -sub_namespace = "mysql" \ No newline at end of file diff --git a/sdk/rdbms/azure-mgmt-rdbms/setup.py b/sdk/rdbms/azure-mgmt-rdbms/setup.py deleted file mode 100644 index 26b793d7384d..000000000000 --- a/sdk/rdbms/azure-mgmt-rdbms/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-rdbms" -PACKAGE_PPRINT_NAME = "RDBMS Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/pyproject.toml b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/pyproject.toml index 540da07d41af..95a5fb77ee6d 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/pyproject.toml +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-recoveryservicessiterecovery" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Recovery Services Site Recovery Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.recoveryservicessiterecovery._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-recoveryservicessiterecovery" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Recovery Services Site Recovery Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "SiteRecoveryManagementClient" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/sdk_packaging.toml b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/sdk_packaging.toml deleted file mode 100644 index 19befa7f508c..000000000000 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-recoveryservicessiterecovery" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Recovery Services Site Recovery Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "SiteRecoveryManagementClient" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/setup.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/setup.py deleted file mode 100644 index 0229e7056e16..000000000000 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-recoveryservicessiterecovery" -PACKAGE_PPRINT_NAME = "Recovery Services Site Recovery Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.9", -) diff --git a/sdk/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/pyproject.toml b/sdk/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/pyproject.toml index 540da07d41af..95674ad81a64 100644 --- a/sdk/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/pyproject.toml +++ b/sdk/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-recoveryservicesdatareplication" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Recoveryservicesdatareplication Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.recoveryservicesdatareplication._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-recoveryservicesdatareplication" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Recoveryservicesdatareplication Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "RecoveryServicesDataReplicationMgmtClient" diff --git a/sdk/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/sdk_packaging.toml b/sdk/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/sdk_packaging.toml deleted file mode 100644 index e161e8184bf3..000000000000 --- a/sdk/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-recoveryservicesdatareplication" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Recoveryservicesdatareplication Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "RecoveryServicesDataReplicationMgmtClient" diff --git a/sdk/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/setup.py b/sdk/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/setup.py deleted file mode 100644 index 2747ff8c9424..000000000000 --- a/sdk/recoveryservicesdatareplication/azure-mgmt-recoveryservicesdatareplication/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-recoveryservicesdatareplication" -PACKAGE_PPRINT_NAME = "Recoveryservicesdatareplication Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/redis/azure-mgmt-redis/pyproject.toml b/sdk/redis/azure-mgmt-redis/pyproject.toml index 540da07d41af..852782a8300c 100644 --- a/sdk/redis/azure-mgmt-redis/pyproject.toml +++ b/sdk/redis/azure-mgmt-redis/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-redis" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Redis Cache Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.redis._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-redis" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Redis Cache Management" +package_doc_id = "redis" +is_stable = true +is_arm = true +sample_link = "" +title = "RedisManagementClient" diff --git a/sdk/redis/azure-mgmt-redis/sdk_packaging.toml b/sdk/redis/azure-mgmt-redis/sdk_packaging.toml deleted file mode 100644 index 406e718c99a4..000000000000 --- a/sdk/redis/azure-mgmt-redis/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-redis" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Redis Cache Management" -package_doc_id = "redis" -is_stable = true -is_arm = true -sample_link = "" -title = "RedisManagementClient" diff --git a/sdk/redis/azure-mgmt-redis/setup.py b/sdk/redis/azure-mgmt-redis/setup.py deleted file mode 100644 index e673ef0b9339..000000000000 --- a/sdk/redis/azure-mgmt-redis/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-redis" -PACKAGE_PPRINT_NAME = "Redis Cache Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/relay/azure-mgmt-relay/pyproject.toml b/sdk/relay/azure-mgmt-relay/pyproject.toml index 540da07d41af..c8fa949348fa 100644 --- a/sdk/relay/azure-mgmt-relay/pyproject.toml +++ b/sdk/relay/azure-mgmt-relay/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-relay" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Relay Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.relay._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-relay" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Relay" +package_doc_id = "relay" +is_stable = false +is_arm = true +sample_link = "" +title = "RelayAPI" diff --git a/sdk/relay/azure-mgmt-relay/sdk_packaging.toml b/sdk/relay/azure-mgmt-relay/sdk_packaging.toml deleted file mode 100644 index be016444e116..000000000000 --- a/sdk/relay/azure-mgmt-relay/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-relay" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Relay" -package_doc_id = "relay" -is_stable = false -is_arm = true -sample_link = "" -title = "RelayAPI" diff --git a/sdk/relay/azure-mgmt-relay/setup.py b/sdk/relay/azure-mgmt-relay/setup.py deleted file mode 100644 index 389416686962..000000000000 --- a/sdk/relay/azure-mgmt-relay/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-relay" -PACKAGE_PPRINT_NAME = "Relay" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/remoterendering/azure-mixedreality-remoterendering/pyproject.toml b/sdk/remoterendering/azure-mixedreality-remoterendering/pyproject.toml index e00361912969..88faa4019dcc 100644 --- a/sdk/remoterendering/azure-mixedreality-remoterendering/pyproject.toml +++ b/sdk/remoterendering/azure-mixedreality-remoterendering/pyproject.toml @@ -1,2 +1,74 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mixedreality-remoterendering" +authors = [ + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, +] +description = "Microsoft Azure Azure Remote Rendering Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 7 - Inactive", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.26.0", + "azure-mixedreality-authentication>=1.0.0b1", + "msrest>=0.6.21", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false + +[tool.setuptools.dynamic.version] +attr = "azure.mixedreality.remoterendering._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mixedreality", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false +package_name = "azure-mixedreality-remoterendering" +package_pprint_name = "Azure Remote Rendering" +package_doc_id = "" +is_stable = false +is_arm = false diff --git a/sdk/remoterendering/azure-mixedreality-remoterendering/sdk_packaging.toml b/sdk/remoterendering/azure-mixedreality-remoterendering/sdk_packaging.toml deleted file mode 100644 index 773788868685..000000000000 --- a/sdk/remoterendering/azure-mixedreality-remoterendering/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -auto_update = false -package_name = "azure-mixedreality-remoterendering" -package_pprint_name = "Azure Remote Rendering" -package_doc_id = "" -is_stable = false -is_arm = false diff --git a/sdk/remoterendering/azure-mixedreality-remoterendering/setup.py b/sdk/remoterendering/azure-mixedreality-remoterendering/setup.py deleted file mode 100644 index ac72a896b9a2..000000000000 --- a/sdk/remoterendering/azure-mixedreality-remoterendering/setup.py +++ /dev/null @@ -1,74 +0,0 @@ -from setuptools import setup, find_packages -import os -from io import open -import re - -PACKAGE_NAME = "azure-mixedreality-remoterendering" -PACKAGE_PPRINT_NAME = "Azure Remote Rendering" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - long_description = f.read() - -with open("CHANGELOG.md", encoding="utf-8") as f: - long_description += f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format( - PACKAGE_PPRINT_NAME), - - # ensure that these are updated to reflect the package owners' information - long_description=long_description, - long_description_content_type='text/markdown', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - author='Microsoft Corporation', - author_email='azuresdkengsysadmins@microsoft.com', - - license='MIT License', - # ensure that the development status reflects the status of your package - classifiers=[ - "Development Status :: 7 - Inactive", - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mixedreality' - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - python_requires=">=3.7", - install_requires=[ - 'azure-core<2.0.0,>=1.26.0', - 'azure-mixedreality-authentication>=1.0.0b1', - 'msrest>=0.6.21' - ], - project_urls={ - 'Bug Reports': 'https://github.com/Azure/azure-sdk-for-python/issues', - 'Source': 'https://github.com/Azure/azure-sdk-for-python', - } -) diff --git a/sdk/reservations/azure-mgmt-reservations/pyproject.toml b/sdk/reservations/azure-mgmt-reservations/pyproject.toml index 540da07d41af..8fc5e7b8edeb 100644 --- a/sdk/reservations/azure-mgmt-reservations/pyproject.toml +++ b/sdk/reservations/azure-mgmt-reservations/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-reservations" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Reservations Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.reservations._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-reservations" +package_pprint_name = "Reservations" +package_doc_id = "" +is_stable = false +title = "AzureReservationAPI" diff --git a/sdk/reservations/azure-mgmt-reservations/sdk_packaging.toml b/sdk/reservations/azure-mgmt-reservations/sdk_packaging.toml deleted file mode 100644 index de6ccd6be366..000000000000 --- a/sdk/reservations/azure-mgmt-reservations/sdk_packaging.toml +++ /dev/null @@ -1,6 +0,0 @@ -[packaging] -package_name = "azure-mgmt-reservations" -package_pprint_name = "Reservations" -package_doc_id = "" -is_stable = false -title = "AzureReservationAPI" diff --git a/sdk/reservations/azure-mgmt-reservations/setup.py b/sdk/reservations/azure-mgmt-reservations/setup.py deleted file mode 100644 index 7aaa79b31161..000000000000 --- a/sdk/reservations/azure-mgmt-reservations/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-reservations" -PACKAGE_PPRINT_NAME = "Reservations" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/resourcehealth/azure-mgmt-resourcehealth/pyproject.toml b/sdk/resourcehealth/azure-mgmt-resourcehealth/pyproject.toml index 540da07d41af..7c3972d44527 100644 --- a/sdk/resourcehealth/azure-mgmt-resourcehealth/pyproject.toml +++ b/sdk/resourcehealth/azure-mgmt-resourcehealth/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-resourcehealth" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Resource Health Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.resourcehealth._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-resourcehealth" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Resource Health Management" +package_doc_id = "" +is_stable = false +is_arm = true +sample_link = "" +title = "ResourceHealthMgmtClient" diff --git a/sdk/resourcehealth/azure-mgmt-resourcehealth/sdk_packaging.toml b/sdk/resourcehealth/azure-mgmt-resourcehealth/sdk_packaging.toml deleted file mode 100644 index 4058dd422c9f..000000000000 --- a/sdk/resourcehealth/azure-mgmt-resourcehealth/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-resourcehealth" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Resource Health Management" -package_doc_id = "" -is_stable = false -is_arm = true -sample_link = "" -title = "ResourceHealthMgmtClient" diff --git a/sdk/resourcehealth/azure-mgmt-resourcehealth/setup.py b/sdk/resourcehealth/azure-mgmt-resourcehealth/setup.py deleted file mode 100644 index 35c8d7c13ab1..000000000000 --- a/sdk/resourcehealth/azure-mgmt-resourcehealth/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-resourcehealth" -PACKAGE_PPRINT_NAME = "Resource Health Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/resourcemover/azure-mgmt-resourcemover/pyproject.toml b/sdk/resourcemover/azure-mgmt-resourcemover/pyproject.toml index 540da07d41af..b09437f53ba0 100644 --- a/sdk/resourcemover/azure-mgmt-resourcemover/pyproject.toml +++ b/sdk/resourcemover/azure-mgmt-resourcemover/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-resourcemover" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Resource Mover Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.resourcemover._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-resourcemover" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Resource Mover Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "ResourceMoverServiceAPI" diff --git a/sdk/resourcemover/azure-mgmt-resourcemover/sdk_packaging.toml b/sdk/resourcemover/azure-mgmt-resourcemover/sdk_packaging.toml deleted file mode 100644 index 67fb20d08cf3..000000000000 --- a/sdk/resourcemover/azure-mgmt-resourcemover/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-resourcemover" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Resource Mover Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "ResourceMoverServiceAPI" diff --git a/sdk/resourcemover/azure-mgmt-resourcemover/setup.py b/sdk/resourcemover/azure-mgmt-resourcemover/setup.py deleted file mode 100644 index 0c2ca07e7770..000000000000 --- a/sdk/resourcemover/azure-mgmt-resourcemover/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-resourcemover" -PACKAGE_PPRINT_NAME = "Resource Mover Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/resources/azure-mgmt-msi/pyproject.toml b/sdk/resources/azure-mgmt-msi/pyproject.toml index f855ce57093c..0eeccbcc7662 100644 --- a/sdk/resources/azure-mgmt-msi/pyproject.toml +++ b/sdk/resources/azure-mgmt-msi/pyproject.toml @@ -1,3 +1,47 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-msi" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Msi Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false @@ -5,6 +49,28 @@ pyright = false type_check_samples = false verifytypes = false +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.msi._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + [packaging] package_name = "azure-mgmt-msi" package_nspkg = "azure-mgmt-nspkg" diff --git a/sdk/resources/azure-mgmt-msi/setup.py b/sdk/resources/azure-mgmt-msi/setup.py deleted file mode 100644 index e01101889e9a..000000000000 --- a/sdk/resources/azure-mgmt-msi/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-msi" -PACKAGE_PPRINT_NAME = "Msi Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/resources/azure-mgmt-resource-bicep/pyproject.toml b/sdk/resources/azure-mgmt-resource-bicep/pyproject.toml index ce5cf69b33f0..bb9ea2306a4d 100644 --- a/sdk/resources/azure-mgmt-resource-bicep/pyproject.toml +++ b/sdk/resources/azure-mgmt-resource-bicep/pyproject.toml @@ -1,4 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-resource-bicep" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Resource Bicep Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false pyright = false mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.resource.bicep._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", + "azure.mgmt.resource", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-resource-bicep" +package_nspkg = "azure-mgmt-resource-nspkg" +package_pprint_name = "Resource Bicep Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "BicepMgmtClient" diff --git a/sdk/resources/azure-mgmt-resource-bicep/sdk_packaging.toml b/sdk/resources/azure-mgmt-resource-bicep/sdk_packaging.toml deleted file mode 100644 index da200710bac4..000000000000 --- a/sdk/resources/azure-mgmt-resource-bicep/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-resource-bicep" -package_nspkg = "azure-mgmt-resource-nspkg" -package_pprint_name = "Resource Bicep Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "BicepMgmtClient" diff --git a/sdk/resources/azure-mgmt-resource-bicep/setup.py b/sdk/resources/azure-mgmt-resource-bicep/setup.py deleted file mode 100644 index e03d4658d77e..000000000000 --- a/sdk/resources/azure-mgmt-resource-bicep/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-resource-bicep" -PACKAGE_PPRINT_NAME = "Resource Bicep Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - "azure.mgmt.resource", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/resources/azure-mgmt-resource-deployments/pyproject.toml b/sdk/resources/azure-mgmt-resource-deployments/pyproject.toml index ce5cf69b33f0..561431fb8d5c 100644 --- a/sdk/resources/azure-mgmt-resource-deployments/pyproject.toml +++ b/sdk/resources/azure-mgmt-resource-deployments/pyproject.toml @@ -1,4 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-resource-deployments" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Resource Deployments Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false pyright = false mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.resource.deployments._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", + "azure.mgmt.resource", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-resource-deployments" +package_nspkg = "azure-mgmt-resource-nspkg" +package_pprint_name = "Resource Deployments Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "DeploymentsMgmtClient" diff --git a/sdk/resources/azure-mgmt-resource-deployments/sdk_packaging.toml b/sdk/resources/azure-mgmt-resource-deployments/sdk_packaging.toml deleted file mode 100644 index da9ab71510ca..000000000000 --- a/sdk/resources/azure-mgmt-resource-deployments/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-resource-deployments" -package_nspkg = "azure-mgmt-resource-nspkg" -package_pprint_name = "Resource Deployments Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "DeploymentsMgmtClient" diff --git a/sdk/resources/azure-mgmt-resource-deployments/setup.py b/sdk/resources/azure-mgmt-resource-deployments/setup.py deleted file mode 100644 index 34363cc6a401..000000000000 --- a/sdk/resources/azure-mgmt-resource-deployments/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-resource-deployments" -PACKAGE_PPRINT_NAME = "Resource Deployments Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - "azure.mgmt.resource", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/resources/azure-mgmt-resource-deploymentscripts/pyproject.toml b/sdk/resources/azure-mgmt-resource-deploymentscripts/pyproject.toml index ce5cf69b33f0..44ceff76e69b 100644 --- a/sdk/resources/azure-mgmt-resource-deploymentscripts/pyproject.toml +++ b/sdk/resources/azure-mgmt-resource-deploymentscripts/pyproject.toml @@ -1,4 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-resource-deploymentscripts" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Resource Deploymentscripts Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false pyright = false mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.resource.deploymentscripts._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", + "azure.mgmt.resource", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-resource-deploymentscripts" +package_nspkg = "azure-mgmt-resource-nspkg" +package_pprint_name = "Resource Deploymentscripts Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "DeploymentScriptsClient" diff --git a/sdk/resources/azure-mgmt-resource-deploymentscripts/sdk_packaging.toml b/sdk/resources/azure-mgmt-resource-deploymentscripts/sdk_packaging.toml deleted file mode 100644 index bf5ea96f625f..000000000000 --- a/sdk/resources/azure-mgmt-resource-deploymentscripts/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-resource-deploymentscripts" -package_nspkg = "azure-mgmt-resource-nspkg" -package_pprint_name = "Resource Deploymentscripts Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "DeploymentScriptsClient" diff --git a/sdk/resources/azure-mgmt-resource-deploymentscripts/setup.py b/sdk/resources/azure-mgmt-resource-deploymentscripts/setup.py deleted file mode 100644 index e58f93a51fea..000000000000 --- a/sdk/resources/azure-mgmt-resource-deploymentscripts/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-resource-deploymentscripts" -PACKAGE_PPRINT_NAME = "Resource Deploymentscripts Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - "azure.mgmt.resource", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/resources/azure-mgmt-resource-templatespecs/pyproject.toml b/sdk/resources/azure-mgmt-resource-templatespecs/pyproject.toml index ce5cf69b33f0..4da9716f1084 100644 --- a/sdk/resources/azure-mgmt-resource-templatespecs/pyproject.toml +++ b/sdk/resources/azure-mgmt-resource-templatespecs/pyproject.toml @@ -1,4 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-resource-templatespecs" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Resource Templatespecs Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false pyright = false mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.resource.templatespecs._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", + "azure.mgmt.resource", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-resource-templatespecs" +package_nspkg = "azure-mgmt-resource-nspkg" +package_pprint_name = "Resource Templatespecs Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "TemplateSpecsClient" diff --git a/sdk/resources/azure-mgmt-resource-templatespecs/sdk_packaging.toml b/sdk/resources/azure-mgmt-resource-templatespecs/sdk_packaging.toml deleted file mode 100644 index 456229c1e1b3..000000000000 --- a/sdk/resources/azure-mgmt-resource-templatespecs/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-resource-templatespecs" -package_nspkg = "azure-mgmt-resource-nspkg" -package_pprint_name = "Resource Templatespecs Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "TemplateSpecsClient" diff --git a/sdk/resources/azure-mgmt-resource-templatespecs/setup.py b/sdk/resources/azure-mgmt-resource-templatespecs/setup.py deleted file mode 100644 index 216a6d9643ed..000000000000 --- a/sdk/resources/azure-mgmt-resource-templatespecs/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-resource-templatespecs" -PACKAGE_PPRINT_NAME = "Resource Templatespecs Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - "azure.mgmt.resource", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroencoder/pyproject.toml b/sdk/schemaregistry/azure-schemaregistry-avroencoder/pyproject.toml index 18b20c4e9fe4..c432afcce46f 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroencoder/pyproject.toml +++ b/sdk/schemaregistry/azure-schemaregistry-avroencoder/pyproject.toml @@ -1,3 +1,46 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-schemaregistry-avroencoder" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Schema Registry Avro Encoder Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-schemaregistry>=1.0.0", + "avro>=1.11.0", + "typing-extensions>=4.0.1", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] mypy = true pyright = false @@ -7,3 +50,21 @@ verifytypes = true [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-schemaregistry" + +[tool.setuptools.dynamic.version] +attr = "azure.schemaregistry.encoder.avroencoder._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/schemaregistry/azure-schemaregistry-avroencoder/sdk_packaging.toml b/sdk/schemaregistry/azure-schemaregistry-avroencoder/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/schemaregistry/azure-schemaregistry-avroencoder/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/schemaregistry/azure-schemaregistry-avroencoder/setup.py b/sdk/schemaregistry/azure-schemaregistry-avroencoder/setup.py deleted file mode 100644 index f159bd638c1f..000000000000 --- a/sdk/schemaregistry/azure-schemaregistry-avroencoder/setup.py +++ /dev/null @@ -1,74 +0,0 @@ -#!/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. -# ------------------------------------------------------------------------- - -import re -import sys -import os.path -from io import open -from setuptools import find_namespace_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-schemaregistry-avroencoder" -PACKAGE_PPRINT_NAME = "Schema Registry Avro Encoder" - -package_folder_path = "azure/schemaregistry/encoder/avroencoder" -namespace_name = "azure.schemaregistry.encoder.avroencoder" - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -install_packages = [ - 'azure-schemaregistry>=1.0.0', - 'avro>=1.11.0', - "typing-extensions>=4.0.1", -] - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', - 'License :: OSI Approved :: MIT License', - ], - python_requires=">=3.8", - zip_safe=False, - packages=find_namespace_packages( - include=['azure.schemaregistry.encoder.*'] # Exclude packages that will be covered by PEP420 or nspkg - ), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=install_packages -) diff --git a/sdk/schemaregistry/azure-schemaregistry/pyproject.toml b/sdk/schemaregistry/azure-schemaregistry/pyproject.toml index 8d08f4dc49bc..e88fbe731468 100644 --- a/sdk/schemaregistry/azure-schemaregistry/pyproject.toml +++ b/sdk/schemaregistry/azure-schemaregistry/pyproject.toml @@ -1,3 +1,51 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-schemaregistry" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Azure Schema Registry Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core<2.0.0,>=1.28.0", + "isodate>=0.6.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +jsonencoder = [ + "jsonschema>=4.10.3", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] mypy = true pyright = false @@ -6,3 +54,16 @@ type_check_samples = true [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-schemaregistry" + +[tool.setuptools.dynamic.version] +attr = "azure.schemaregistry._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[packaging] +auto_update = false diff --git a/sdk/schemaregistry/azure-schemaregistry/sdk_packaging.toml b/sdk/schemaregistry/azure-schemaregistry/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/schemaregistry/azure-schemaregistry/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/schemaregistry/azure-schemaregistry/setup.py b/sdk/schemaregistry/azure-schemaregistry/setup.py deleted file mode 100644 index 6e31d628d744..000000000000 --- a/sdk/schemaregistry/azure-schemaregistry/setup.py +++ /dev/null @@ -1,76 +0,0 @@ -#!/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. -# ------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-schemaregistry" -PACKAGE_PPRINT_NAME = "Azure Schema Registry" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -exclude_packages = [ - "tests", - "samples", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", -] - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - python_requires=">=3.8", - zip_safe=False, - packages=find_packages(exclude=exclude_packages), - install_requires=["azure-core<2.0.0,>=1.28.0", "isodate>=0.6.0", "typing-extensions>=4.6.0"], - extras_require={ - "jsonencoder": [ - "jsonschema>=4.10.3", - ], - }, -) diff --git a/sdk/scvmm/azure-mgmt-scvmm/pyproject.toml b/sdk/scvmm/azure-mgmt-scvmm/pyproject.toml index 540da07d41af..db641e26bf57 100644 --- a/sdk/scvmm/azure-mgmt-scvmm/pyproject.toml +++ b/sdk/scvmm/azure-mgmt-scvmm/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-scvmm" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Scvmm Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.scvmm._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-scvmm" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Scvmm Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "SCVMM" diff --git a/sdk/scvmm/azure-mgmt-scvmm/sdk_packaging.toml b/sdk/scvmm/azure-mgmt-scvmm/sdk_packaging.toml deleted file mode 100644 index 51199e58895f..000000000000 --- a/sdk/scvmm/azure-mgmt-scvmm/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-scvmm" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Scvmm Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "SCVMM" diff --git a/sdk/scvmm/azure-mgmt-scvmm/setup.py b/sdk/scvmm/azure-mgmt-scvmm/setup.py deleted file mode 100644 index 9c259fcef964..000000000000 --- a/sdk/scvmm/azure-mgmt-scvmm/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-scvmm" -PACKAGE_PPRINT_NAME = "Scvmm Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/search/azure-mgmt-search/pyproject.toml b/sdk/search/azure-mgmt-search/pyproject.toml index 540da07d41af..05ce0c5a667e 100644 --- a/sdk/search/azure-mgmt-search/pyproject.toml +++ b/sdk/search/azure-mgmt-search/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-search" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Search Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.search._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-search" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Search Management" +package_doc_id = "search" +is_stable = true +is_arm = true +sample_link = "" +title = "SearchManagementClient" diff --git a/sdk/search/azure-mgmt-search/sdk_packaging.toml b/sdk/search/azure-mgmt-search/sdk_packaging.toml deleted file mode 100644 index 3f846434060f..000000000000 --- a/sdk/search/azure-mgmt-search/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-search" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Search Management" -package_doc_id = "search" -is_stable = true -is_arm = true -sample_link = "" -title = "SearchManagementClient" diff --git a/sdk/search/azure-mgmt-search/setup.py b/sdk/search/azure-mgmt-search/setup.py deleted file mode 100644 index 31b5a197654f..000000000000 --- a/sdk/search/azure-mgmt-search/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-search" -PACKAGE_PPRINT_NAME = "Search Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/search/azure-search-documents/pyproject.toml b/sdk/search/azure-search-documents/pyproject.toml index 04403f6d9741..7a09e2371fae 100644 --- a/sdk/search/azure-search-documents/pyproject.toml +++ b/sdk/search/azure-search-documents/pyproject.toml @@ -1,18 +1,14 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-search-documents" authors = [ - { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Search Documents Client Library for Python" license = "MIT" @@ -28,23 +24,32 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" -keywords = ["azure", "azure sdk"] - +keywords = [ + "azure", + "azure sdk", +] dependencies = [ "isodate>=0.6.1", "azure-core>=1.37.0", "typing-extensions>=4.6.0", ] dynamic = [ -"version", "readme" + "version", + "readme", ] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.search.documents._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.search.documents._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] exclude = [ @@ -58,7 +63,9 @@ exclude = [ ] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pyright = false @@ -66,3 +73,6 @@ verifytypes = true [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/search/azure-search-documents/sdk_packaging.toml b/sdk/search/azure-search-documents/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/search/azure-search-documents/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/secretsstoreextension/azure-mgmt-secretsstoreextension/pyproject.toml b/sdk/secretsstoreextension/azure-mgmt-secretsstoreextension/pyproject.toml index 42a7f73e0386..14b880cc3abb 100644 --- a/sdk/secretsstoreextension/azure-mgmt-secretsstoreextension/pyproject.toml +++ b/sdk/secretsstoreextension/azure-mgmt-secretsstoreextension/pyproject.toml @@ -1,2 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-secretsstoreextension" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Secretsstoreextension Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.secretsstoreextension._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-secretsstoreextension" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Secretsstoreextension Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "SecretsStoreExtensionMgmtClient" diff --git a/sdk/secretsstoreextension/azure-mgmt-secretsstoreextension/sdk_packaging.toml b/sdk/secretsstoreextension/azure-mgmt-secretsstoreextension/sdk_packaging.toml deleted file mode 100644 index 0d9223305106..000000000000 --- a/sdk/secretsstoreextension/azure-mgmt-secretsstoreextension/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-secretsstoreextension" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Secretsstoreextension Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "SecretsStoreExtensionMgmtClient" diff --git a/sdk/secretsstoreextension/azure-mgmt-secretsstoreextension/setup.py b/sdk/secretsstoreextension/azure-mgmt-secretsstoreextension/setup.py deleted file mode 100644 index 35afe5cc900f..000000000000 --- a/sdk/secretsstoreextension/azure-mgmt-secretsstoreextension/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-secretsstoreextension" -PACKAGE_PPRINT_NAME = "Secretsstoreextension Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/security/azure-mgmt-security/pyproject.toml b/sdk/security/azure-mgmt-security/pyproject.toml index a3006bd168dd..5a9b0015a231 100644 --- a/sdk/security/azure-mgmt-security/pyproject.toml +++ b/sdk/security/azure-mgmt-security/pyproject.toml @@ -1,3 +1,47 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-security" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Security Center Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false @@ -5,6 +49,28 @@ pyright = false type_check_samples = false verifytypes = false +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.security._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + [packaging] package_name = "azure-mgmt-security" package_nspkg = "azure-mgmt-nspkg" diff --git a/sdk/security/azure-mgmt-security/setup.py b/sdk/security/azure-mgmt-security/setup.py deleted file mode 100644 index c5ee608bdd56..000000000000 --- a/sdk/security/azure-mgmt-security/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-security" -PACKAGE_PPRINT_NAME = "Security Center Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/securitydevops/azure-mgmt-securitydevops/pyproject.toml b/sdk/securitydevops/azure-mgmt-securitydevops/pyproject.toml index 540da07d41af..f67d74bf38e9 100644 --- a/sdk/securitydevops/azure-mgmt-securitydevops/pyproject.toml +++ b/sdk/securitydevops/azure-mgmt-securitydevops/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-securitydevops" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Securitydevops Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.securitydevops._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-securitydevops" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Securitydevops Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "MicrosoftSecurityDevOps" diff --git a/sdk/securitydevops/azure-mgmt-securitydevops/sdk_packaging.toml b/sdk/securitydevops/azure-mgmt-securitydevops/sdk_packaging.toml deleted file mode 100644 index 1191ee152a99..000000000000 --- a/sdk/securitydevops/azure-mgmt-securitydevops/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-securitydevops" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Securitydevops Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "MicrosoftSecurityDevOps" diff --git a/sdk/securitydevops/azure-mgmt-securitydevops/setup.py b/sdk/securitydevops/azure-mgmt-securitydevops/setup.py deleted file mode 100644 index 86736b692a46..000000000000 --- a/sdk/securitydevops/azure-mgmt-securitydevops/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-securitydevops" -PACKAGE_PPRINT_NAME = "Securitydevops Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/securityinsight/azure-mgmt-securityinsight/pyproject.toml b/sdk/securityinsight/azure-mgmt-securityinsight/pyproject.toml index 540da07d41af..df4b9aba3eaf 100644 --- a/sdk/securityinsight/azure-mgmt-securityinsight/pyproject.toml +++ b/sdk/securityinsight/azure-mgmt-securityinsight/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-securityinsight" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Security Insight Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.securityinsight._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-securityinsight" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Security Insight Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "SecurityInsights" diff --git a/sdk/securityinsight/azure-mgmt-securityinsight/sdk_packaging.toml b/sdk/securityinsight/azure-mgmt-securityinsight/sdk_packaging.toml deleted file mode 100644 index c27037309102..000000000000 --- a/sdk/securityinsight/azure-mgmt-securityinsight/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-securityinsight" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Security Insight Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "SecurityInsights" diff --git a/sdk/securityinsight/azure-mgmt-securityinsight/setup.py b/sdk/securityinsight/azure-mgmt-securityinsight/setup.py deleted file mode 100644 index 73a9001cd3fd..000000000000 --- a/sdk/securityinsight/azure-mgmt-securityinsight/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-securityinsight" -PACKAGE_PPRINT_NAME = "Security Insight Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/selfhelp/azure-mgmt-selfhelp/pyproject.toml b/sdk/selfhelp/azure-mgmt-selfhelp/pyproject.toml index 540da07d41af..cd8efa178772 100644 --- a/sdk/selfhelp/azure-mgmt-selfhelp/pyproject.toml +++ b/sdk/selfhelp/azure-mgmt-selfhelp/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-selfhelp" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Selfhelp Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.selfhelp._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-selfhelp" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Selfhelp Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "SelfHelpMgmtClient" diff --git a/sdk/selfhelp/azure-mgmt-selfhelp/sdk_packaging.toml b/sdk/selfhelp/azure-mgmt-selfhelp/sdk_packaging.toml deleted file mode 100644 index 66c2009ba217..000000000000 --- a/sdk/selfhelp/azure-mgmt-selfhelp/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-selfhelp" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Selfhelp Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "SelfHelpMgmtClient" diff --git a/sdk/selfhelp/azure-mgmt-selfhelp/setup.py b/sdk/selfhelp/azure-mgmt-selfhelp/setup.py deleted file mode 100644 index 831c7b6b977a..000000000000 --- a/sdk/selfhelp/azure-mgmt-selfhelp/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-selfhelp" -PACKAGE_PPRINT_NAME = "Selfhelp Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/serialconsole/azure-mgmt-serialconsole/pyproject.toml b/sdk/serialconsole/azure-mgmt-serialconsole/pyproject.toml index 540da07d41af..01823516a8e3 100644 --- a/sdk/serialconsole/azure-mgmt-serialconsole/pyproject.toml +++ b/sdk/serialconsole/azure-mgmt-serialconsole/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-serialconsole" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Serial Console Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.serialconsole._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-serialconsole" +package_pprint_name = "Serial Console" +package_doc_id = "" +is_stable = false +is_arm = true +title = "MicrosoftSerialConsoleClient" diff --git a/sdk/serialconsole/azure-mgmt-serialconsole/sdk_packaging.toml b/sdk/serialconsole/azure-mgmt-serialconsole/sdk_packaging.toml deleted file mode 100644 index f0b737cc12df..000000000000 --- a/sdk/serialconsole/azure-mgmt-serialconsole/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-serialconsole" -package_pprint_name = "Serial Console" -package_doc_id = "" -is_stable = false -is_arm = true -title = "MicrosoftSerialConsoleClient" diff --git a/sdk/serialconsole/azure-mgmt-serialconsole/setup.py b/sdk/serialconsole/azure-mgmt-serialconsole/setup.py deleted file mode 100644 index 0bc2347d0653..000000000000 --- a/sdk/serialconsole/azure-mgmt-serialconsole/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-serialconsole" -PACKAGE_PPRINT_NAME = "Serial Console" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/servicebus/azure-mgmt-servicebus/pyproject.toml b/sdk/servicebus/azure-mgmt-servicebus/pyproject.toml index 540da07d41af..9dbc508824d6 100644 --- a/sdk/servicebus/azure-mgmt-servicebus/pyproject.toml +++ b/sdk/servicebus/azure-mgmt-servicebus/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-servicebus" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Service Bus Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.servicebus._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-servicebus" +package_pprint_name = "Service Bus Management" +package_doc_id = "servicebus" +is_stable = false +sample_link = "" +title = "ServiceBusManagementClient" diff --git a/sdk/servicebus/azure-mgmt-servicebus/sdk_packaging.toml b/sdk/servicebus/azure-mgmt-servicebus/sdk_packaging.toml deleted file mode 100644 index 89c48a46fbc7..000000000000 --- a/sdk/servicebus/azure-mgmt-servicebus/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-servicebus" -package_pprint_name = "Service Bus Management" -package_doc_id = "servicebus" -is_stable = false -sample_link = "" -title = "ServiceBusManagementClient" diff --git a/sdk/servicebus/azure-mgmt-servicebus/setup.py b/sdk/servicebus/azure-mgmt-servicebus/setup.py deleted file mode 100644 index dd1da66bd85f..000000000000 --- a/sdk/servicebus/azure-mgmt-servicebus/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-servicebus" -PACKAGE_PPRINT_NAME = "Service Bus Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/servicebus/azure-servicebus/pyproject.toml b/sdk/servicebus/azure-servicebus/pyproject.toml index 4d1d9557b729..5e28cdc38516 100644 --- a/sdk/servicebus/azure-servicebus/pyproject.toml +++ b/sdk/servicebus/azure-servicebus/pyproject.toml @@ -1,14 +1,20 @@ [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-servicebus" authors = [ - {name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com"}, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Azure Service Bus Client Library for Python" -keywords = ["azure", "azure sdk"] +keywords = [ + "azure", + "azure sdk", +] requires-python = ">=3.9" license = "MIT" classifiers = [ @@ -27,20 +33,37 @@ dependencies = [ "isodate>=0.6.0", "typing-extensions>=4.6.0", ] -dynamic = ["version", "readme"] +dynamic = [ + "version", + "readme", +] [project.urls] Repository = "https://github.com/Azure/azure-sdk-for-python.git" -[tool.setuptools.dynamic] -version = {attr = "azure.servicebus._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.servicebus._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] -exclude = ["samples*", "tests*", "doc*", "stress*", "azure"] +exclude = [ + "samples*", + "tests*", + "doc*", + "stress*", + "azure", +] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pyright = false @@ -50,4 +73,7 @@ pylint = true black = false [tool.azure-sdk-conda] -in_bundle = false \ No newline at end of file +in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/servicebus/azure-servicebus/sdk_packaging.toml b/sdk/servicebus/azure-servicebus/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/servicebus/azure-servicebus/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/servicefabric/azure-mgmt-servicefabric/pyproject.toml b/sdk/servicefabric/azure-mgmt-servicefabric/pyproject.toml index 540da07d41af..72a848ab7cde 100644 --- a/sdk/servicefabric/azure-mgmt-servicefabric/pyproject.toml +++ b/sdk/servicefabric/azure-mgmt-servicefabric/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-servicefabric" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Service Fabric Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.servicefabric._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-servicefabric" +package_pprint_name = "Service Fabric Management" +package_doc_id = "service-fabric" +is_stable = false +is_arm = true +title = "ServiceFabricManagementClient" diff --git a/sdk/servicefabric/azure-mgmt-servicefabric/sdk_packaging.toml b/sdk/servicefabric/azure-mgmt-servicefabric/sdk_packaging.toml deleted file mode 100644 index 87824379bf13..000000000000 --- a/sdk/servicefabric/azure-mgmt-servicefabric/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-servicefabric" -package_pprint_name = "Service Fabric Management" -package_doc_id = "service-fabric" -is_stable = false -is_arm = true -title = "ServiceFabricManagementClient" diff --git a/sdk/servicefabric/azure-mgmt-servicefabric/setup.py b/sdk/servicefabric/azure-mgmt-servicefabric/setup.py deleted file mode 100644 index 1e4baeaad63d..000000000000 --- a/sdk/servicefabric/azure-mgmt-servicefabric/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-servicefabric" -PACKAGE_PPRINT_NAME = "Service Fabric Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/servicefabric/azure-servicefabric/pyproject.toml b/sdk/servicefabric/azure-servicefabric/pyproject.toml index 17c17bde9b30..c76538bca140 100644 --- a/sdk/servicefabric/azure-servicefabric/pyproject.toml +++ b/sdk/servicefabric/azure-servicefabric/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-servicefabric" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Service Fabric Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pylint = false sphinx = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.servicefabric.version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-servicefabric" +package_nspkg = "azure-nspkg" +package_pprint_name = "Service Fabric" +package_doc_id = "servicefabric" +is_stable = true +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/servicefabric/azure-servicefabric/sdk_packaging.toml b/sdk/servicefabric/azure-servicefabric/sdk_packaging.toml deleted file mode 100644 index 12b54619eee7..000000000000 --- a/sdk/servicefabric/azure-servicefabric/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-servicefabric" -package_nspkg = "azure-nspkg" -package_pprint_name = "Service Fabric" -package_doc_id = "servicefabric" -is_stable = true -is_arm = false -need_msrestazure = false -auto_update = false diff --git a/sdk/servicefabric/azure-servicefabric/setup.py b/sdk/servicefabric/azure-servicefabric/setup.py deleted file mode 100644 index c4cf69b6fd6f..000000000000 --- a/sdk/servicefabric/azure-servicefabric/setup.py +++ /dev/null @@ -1,76 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-servicefabric" -PACKAGE_PPRINT_NAME = "Service Fabric" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - 'msrest>=0.6.21', - 'azure-common~=1.1', - ], - python_requires=">=3.6" -) diff --git a/sdk/servicelinker/azure-mgmt-servicelinker/pyproject.toml b/sdk/servicelinker/azure-mgmt-servicelinker/pyproject.toml index 540da07d41af..83e7b81041b0 100644 --- a/sdk/servicelinker/azure-mgmt-servicelinker/pyproject.toml +++ b/sdk/servicelinker/azure-mgmt-servicelinker/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-servicelinker" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Service Linker Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.servicelinker._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-servicelinker" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Service Linker Management" +package_doc_id = "" +is_stable = false +is_arm = true +sample_link = "" +title = "ServiceLinkerManagementClient" diff --git a/sdk/servicelinker/azure-mgmt-servicelinker/sdk_packaging.toml b/sdk/servicelinker/azure-mgmt-servicelinker/sdk_packaging.toml deleted file mode 100644 index 9099587c433d..000000000000 --- a/sdk/servicelinker/azure-mgmt-servicelinker/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-servicelinker" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Service Linker Management" -package_doc_id = "" -is_stable = false -is_arm = true -sample_link = "" -title = "ServiceLinkerManagementClient" diff --git a/sdk/servicelinker/azure-mgmt-servicelinker/setup.py b/sdk/servicelinker/azure-mgmt-servicelinker/setup.py deleted file mode 100644 index fa3281f8b346..000000000000 --- a/sdk/servicelinker/azure-mgmt-servicelinker/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-servicelinker" -PACKAGE_PPRINT_NAME = "Service Linker Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/servicenetworking/azure-mgmt-servicenetworking/pyproject.toml b/sdk/servicenetworking/azure-mgmt-servicenetworking/pyproject.toml index 540da07d41af..4d7d2cc59ba7 100644 --- a/sdk/servicenetworking/azure-mgmt-servicenetworking/pyproject.toml +++ b/sdk/servicenetworking/azure-mgmt-servicenetworking/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-servicenetworking" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Servicenetworking Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.servicenetworking._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-servicenetworking" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Servicenetworking Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "ServiceNetworkingMgmtClient" diff --git a/sdk/servicenetworking/azure-mgmt-servicenetworking/sdk_packaging.toml b/sdk/servicenetworking/azure-mgmt-servicenetworking/sdk_packaging.toml deleted file mode 100644 index cfe0e26c00f1..000000000000 --- a/sdk/servicenetworking/azure-mgmt-servicenetworking/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-servicenetworking" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Servicenetworking Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "ServiceNetworkingMgmtClient" diff --git a/sdk/servicenetworking/azure-mgmt-servicenetworking/setup.py b/sdk/servicenetworking/azure-mgmt-servicenetworking/setup.py deleted file mode 100644 index bd2d3ccaa724..000000000000 --- a/sdk/servicenetworking/azure-mgmt-servicenetworking/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-servicenetworking" -PACKAGE_PPRINT_NAME = "Servicenetworking Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/signalr/azure-mgmt-signalr/pyproject.toml b/sdk/signalr/azure-mgmt-signalr/pyproject.toml index 540da07d41af..02e4c95fd79e 100644 --- a/sdk/signalr/azure-mgmt-signalr/pyproject.toml +++ b/sdk/signalr/azure-mgmt-signalr/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-signalr" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure SignalR Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.signalr._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-signalr" +package_pprint_name = "SignalR" +package_doc_id = "" +is_stable = false +is_arm = true +title = "SignalRManagementClient" diff --git a/sdk/signalr/azure-mgmt-signalr/sdk_packaging.toml b/sdk/signalr/azure-mgmt-signalr/sdk_packaging.toml deleted file mode 100644 index e338e1a4ca1e..000000000000 --- a/sdk/signalr/azure-mgmt-signalr/sdk_packaging.toml +++ /dev/null @@ -1,7 +0,0 @@ -[packaging] -package_name = "azure-mgmt-signalr" -package_pprint_name = "SignalR" -package_doc_id = "" -is_stable = false -is_arm = true -title = "SignalRManagementClient" diff --git a/sdk/signalr/azure-mgmt-signalr/setup.py b/sdk/signalr/azure-mgmt-signalr/setup.py deleted file mode 100644 index 8c20f4d9c608..000000000000 --- a/sdk/signalr/azure-mgmt-signalr/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-signalr" -PACKAGE_PPRINT_NAME = "SignalR" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/sphere/azure-mgmt-sphere/pyproject.toml b/sdk/sphere/azure-mgmt-sphere/pyproject.toml index 540da07d41af..9ee4b893d1e2 100644 --- a/sdk/sphere/azure-mgmt-sphere/pyproject.toml +++ b/sdk/sphere/azure-mgmt-sphere/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-sphere" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Sphere Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.sphere._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-sphere" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Sphere Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "AzureSphereMgmtClient" diff --git a/sdk/sphere/azure-mgmt-sphere/sdk_packaging.toml b/sdk/sphere/azure-mgmt-sphere/sdk_packaging.toml deleted file mode 100644 index e4bb3444f4df..000000000000 --- a/sdk/sphere/azure-mgmt-sphere/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-sphere" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Sphere Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "AzureSphereMgmtClient" diff --git a/sdk/sphere/azure-mgmt-sphere/setup.py b/sdk/sphere/azure-mgmt-sphere/setup.py deleted file mode 100644 index 6d21238bb4c2..000000000000 --- a/sdk/sphere/azure-mgmt-sphere/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-sphere" -PACKAGE_PPRINT_NAME = "Sphere Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/springappdiscovery/azure-mgmt-springappdiscovery/pyproject.toml b/sdk/springappdiscovery/azure-mgmt-springappdiscovery/pyproject.toml index 540da07d41af..9c8542b6bba8 100644 --- a/sdk/springappdiscovery/azure-mgmt-springappdiscovery/pyproject.toml +++ b/sdk/springappdiscovery/azure-mgmt-springappdiscovery/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-springappdiscovery" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Springappdiscovery Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.springappdiscovery._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-springappdiscovery" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Springappdiscovery Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "SpringAppDiscoveryMgmtClient" diff --git a/sdk/springappdiscovery/azure-mgmt-springappdiscovery/sdk_packaging.toml b/sdk/springappdiscovery/azure-mgmt-springappdiscovery/sdk_packaging.toml deleted file mode 100644 index 616fe3f3b7f5..000000000000 --- a/sdk/springappdiscovery/azure-mgmt-springappdiscovery/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-springappdiscovery" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Springappdiscovery Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "SpringAppDiscoveryMgmtClient" diff --git a/sdk/springappdiscovery/azure-mgmt-springappdiscovery/setup.py b/sdk/springappdiscovery/azure-mgmt-springappdiscovery/setup.py deleted file mode 100644 index 99126d242d20..000000000000 --- a/sdk/springappdiscovery/azure-mgmt-springappdiscovery/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-springappdiscovery" -PACKAGE_PPRINT_NAME = "Springappdiscovery Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/sql/azure-mgmt-sqlvirtualmachine/pyproject.toml b/sdk/sql/azure-mgmt-sqlvirtualmachine/pyproject.toml index 540da07d41af..2fdcfc8f8e09 100644 --- a/sdk/sql/azure-mgmt-sqlvirtualmachine/pyproject.toml +++ b/sdk/sql/azure-mgmt-sqlvirtualmachine/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-sqlvirtualmachine" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Sql Virtual Machine Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.sqlvirtualmachine._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-sqlvirtualmachine" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Sql Virtual Machine Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "SqlVirtualMachineManagementClient" diff --git a/sdk/sql/azure-mgmt-sqlvirtualmachine/sdk_packaging.toml b/sdk/sql/azure-mgmt-sqlvirtualmachine/sdk_packaging.toml deleted file mode 100644 index 7492de89eb79..000000000000 --- a/sdk/sql/azure-mgmt-sqlvirtualmachine/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-sqlvirtualmachine" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Sql Virtual Machine Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "SqlVirtualMachineManagementClient" diff --git a/sdk/sql/azure-mgmt-sqlvirtualmachine/setup.py b/sdk/sql/azure-mgmt-sqlvirtualmachine/setup.py deleted file mode 100644 index 977f09ac1d72..000000000000 --- a/sdk/sql/azure-mgmt-sqlvirtualmachine/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-sqlvirtualmachine" -PACKAGE_PPRINT_NAME = "Sql Virtual Machine Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/standbypool/azure-mgmt-standbypool/pyproject.toml b/sdk/standbypool/azure-mgmt-standbypool/pyproject.toml index 540da07d41af..39271fb9b0e3 100644 --- a/sdk/standbypool/azure-mgmt-standbypool/pyproject.toml +++ b/sdk/standbypool/azure-mgmt-standbypool/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-standbypool" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Standbypool Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.standbypool._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-standbypool" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Standbypool Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "StandbyPoolMgmtClient" diff --git a/sdk/standbypool/azure-mgmt-standbypool/sdk_packaging.toml b/sdk/standbypool/azure-mgmt-standbypool/sdk_packaging.toml deleted file mode 100644 index 8bc9e445a342..000000000000 --- a/sdk/standbypool/azure-mgmt-standbypool/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-standbypool" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Standbypool Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "StandbyPoolMgmtClient" diff --git a/sdk/standbypool/azure-mgmt-standbypool/setup.py b/sdk/standbypool/azure-mgmt-standbypool/setup.py deleted file mode 100644 index da184f127ffb..000000000000 --- a/sdk/standbypool/azure-mgmt-standbypool/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-standbypool" -PACKAGE_PPRINT_NAME = "Standbypool Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.9", -) diff --git a/sdk/storage/azure-mgmt-storageimportexport/pyproject.toml b/sdk/storage/azure-mgmt-storageimportexport/pyproject.toml index 540da07d41af..f1f7feb529ed 100644 --- a/sdk/storage/azure-mgmt-storageimportexport/pyproject.toml +++ b/sdk/storage/azure-mgmt-storageimportexport/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-storageimportexport" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Storage Import Export Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.storageimportexport._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-storageimportexport" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Storage Import Export Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "StorageImportExport" diff --git a/sdk/storage/azure-mgmt-storageimportexport/sdk_packaging.toml b/sdk/storage/azure-mgmt-storageimportexport/sdk_packaging.toml deleted file mode 100644 index 51fcca5d160d..000000000000 --- a/sdk/storage/azure-mgmt-storageimportexport/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-storageimportexport" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Storage Import Export Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "StorageImportExport" diff --git a/sdk/storage/azure-mgmt-storageimportexport/setup.py b/sdk/storage/azure-mgmt-storageimportexport/setup.py deleted file mode 100644 index f92fc8a2c2e3..000000000000 --- a/sdk/storage/azure-mgmt-storageimportexport/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-storageimportexport" -PACKAGE_PPRINT_NAME = "Storage Import Export Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/storage/azure-mgmt-storagesync/pyproject.toml b/sdk/storage/azure-mgmt-storagesync/pyproject.toml index 540da07d41af..16087a2f8e99 100644 --- a/sdk/storage/azure-mgmt-storagesync/pyproject.toml +++ b/sdk/storage/azure-mgmt-storagesync/pyproject.toml @@ -1,6 +1,79 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-storagesync" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Storage Sync Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.storagesync._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-storagesync" +package_pprint_name = "Storage Sync" +package_doc_id = "" +is_stable = false +title = "MicrosoftStorageSync" diff --git a/sdk/storage/azure-mgmt-storagesync/sdk_packaging.toml b/sdk/storage/azure-mgmt-storagesync/sdk_packaging.toml deleted file mode 100644 index c472bc6f0a18..000000000000 --- a/sdk/storage/azure-mgmt-storagesync/sdk_packaging.toml +++ /dev/null @@ -1,6 +0,0 @@ -[packaging] -package_name = "azure-mgmt-storagesync" -package_pprint_name = "Storage Sync" -package_doc_id = "" -is_stable = false -title = "MicrosoftStorageSync" \ No newline at end of file diff --git a/sdk/storage/azure-mgmt-storagesync/setup.py b/sdk/storage/azure-mgmt-storagesync/setup.py deleted file mode 100644 index 26c9fa642a5e..000000000000 --- a/sdk/storage/azure-mgmt-storagesync/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-storagesync" -PACKAGE_PPRINT_NAME = "Storage Sync" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/storage/azure-storage-blob-changefeed/pyproject.toml b/sdk/storage/azure-storage-blob-changefeed/pyproject.toml index b04c8ccc0c0e..d8c816804cf3 100644 --- a/sdk/storage/azure-storage-blob-changefeed/pyproject.toml +++ b/sdk/storage/azure-storage-blob-changefeed/pyproject.toml @@ -1,5 +1,64 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-storage-blob-changefeed" +authors = [ + { name = "Microsoft Corporation", email = "ascl@microsoft.com" }, +] +description = "Microsoft Azure Storage Blob ChangeFeed Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-storage-blob>=12.19.1,<13.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob-changefeed" + [tool.azure-sdk-build] mypy = true pyright = false type_check_samples = true black = false + +[tool.setuptools.dynamic.version] +attr = "azure.storage.blob.changefeed._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/storage/azure-storage-blob-changefeed/sdk_packaging.toml b/sdk/storage/azure-storage-blob-changefeed/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/storage/azure-storage-blob-changefeed/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob-changefeed/setup.py b/sdk/storage/azure-storage-blob-changefeed/setup.py deleted file mode 100644 index d50083e86766..000000000000 --- a/sdk/storage/azure-storage-blob-changefeed/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - - -import os -import re - -from setuptools import setup, find_packages - - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-storage-blob-changefeed" -NAMESPACE_NAME = "azure.storage.blob.changefeed" -PACKAGE_PPRINT_NAME = "Azure Storage Blob ChangeFeed" - -# a-b-c => a/b/c -package_folder_path = NAMESPACE_NAME.replace('.', '/') - -# azure-storage v0.36.0 and prior are not compatible with this package -try: - import azure.storage - - try: - ver = azure.storage.__version__ - raise Exception( - f'This package is incompatible with azure-storage=={ver}. ' + - ' Uninstall it with "pip uninstall azure-storage".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -setup( - name=PACKAGE_NAME, - version=version, - description=f'Microsoft {PACKAGE_PPRINT_NAME} Client Library for Python', - long_description=open('README.md', 'r').read(), - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='ascl@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob-changefeed', - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - 'Programming Language :: Python', - "Programming Language :: Python :: 3 :: Only", - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', - 'Programming Language :: Python :: 3.13', - 'Programming Language :: Python :: 3.14', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=[ - 'azure.storage.blob.changefeed', - ], - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - python_requires=">=3.9", - install_requires=[ - "azure-storage-blob>=12.19.1,<13.0.0" - ], -) diff --git a/sdk/storage/azure-storage-blob/pyproject.toml b/sdk/storage/azure-storage-blob/pyproject.toml index 5db2549f5bac..c3f2e84ab849 100644 --- a/sdk/storage/azure-storage-blob/pyproject.toml +++ b/sdk/storage/azure-storage-blob/pyproject.toml @@ -1,3 +1,53 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-storage-blob" +authors = [ + { name = "Microsoft Corporation", email = "ascl@microsoft.com" }, +] +description = "Microsoft Azure Blob Storage Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.37.0", + "cryptography>=2.1.4", + "typing-extensions>=4.6.0", + "isodate>=0.6.1", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +aio = [ + "azure-core[aio]>=1.37.0", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob" + [tool.azure-sdk-build] mypy = true pyright = false @@ -9,3 +59,24 @@ black = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-storage" + +[tool.setuptools.dynamic.version] +attr = "azure.storage.blob._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "azure", + "azure.storage", + "tests", + "tests.blob", + "tests.common", +] + +[packaging] +auto_update = false diff --git a/sdk/storage/azure-storage-blob/sdk_packaging.toml b/sdk/storage/azure-storage-blob/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/storage/azure-storage-blob/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/setup.py b/sdk/storage/azure-storage-blob/setup.py deleted file mode 100644 index 0abb2504e0fb..000000000000 --- a/sdk/storage/azure-storage-blob/setup.py +++ /dev/null @@ -1,92 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - - -import os -import re - -from setuptools import setup, find_packages - - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-storage-blob" -PACKAGE_PPRINT_NAME = "Azure Blob Storage" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') - -# azure-storage v0.36.0 and prior are not compatible with this package -try: - import azure.storage - - try: - ver = azure.storage.__version__ - raise Exception( - f'This package is incompatible with azure-storage=={ver}. ' + - ' Uninstall it with "pip uninstall azure-storage".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description=f'Microsoft {PACKAGE_PPRINT_NAME} Client Library for Python', - long_description=open('README.md', 'r').read(), - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='ascl@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob', - keywords="azure, azure sdk", - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', - 'Programming Language :: Python :: 3.13', - 'Programming Language :: Python :: 3.14', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.storage', - 'tests', - 'tests.blob', - 'tests.common' - ]), - python_requires=">=3.9", - install_requires=[ - "azure-core>=1.37.0", - "cryptography>=2.1.4", - "typing-extensions>=4.6.0", - "isodate>=0.6.1" - ], - extras_require={ - "aio": [ - "azure-core[aio]>=1.37.0", - ], - }, -) diff --git a/sdk/storage/azure-storage-extensions/pyproject.toml b/sdk/storage/azure-storage-extensions/pyproject.toml index 58e6776ae4c0..151414a79f22 100644 --- a/sdk/storage/azure-storage-extensions/pyproject.toml +++ b/sdk/storage/azure-storage-extensions/pyproject.toml @@ -9,14 +9,17 @@ verifysdist = false verifywhl = false sdist = false breaking = false -# these can be any number of suppressions. note that * present means that ALL warnings will be suppressed for this package -suppressed_skip_warnings = ["*"] - -[build-system] -requires = ["setuptools", "wheel", "cibuildwheel"] +suppressed_skip_warnings = [ + "*", +] [tool.cibuildwheel] -build = ["cp39*", "pp39*", "pp310*", "pp311*"] +build = [ + "cp39*", + "pp39*", + "pp310*", + "pp311*", +] test-requires = "pytest" test-command = "pytest {project}/tests" test-skip = "*-macosx_arm64" @@ -30,3 +33,13 @@ archs = "x86_64 arm64" [tool.cibuildwheel.windows] archs = "AMD64" + +[build-system] +requires = [ + "setuptools", + "wheel", + "cibuildwheel", +] + +[packaging] +auto_update = false diff --git a/sdk/storage/azure-storage-extensions/sdk_packaging.toml b/sdk/storage/azure-storage-extensions/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/storage/azure-storage-extensions/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/pyproject.toml b/sdk/storage/azure-storage-file-datalake/pyproject.toml index 1f4a580e95d4..b7c1bbd4915e 100644 --- a/sdk/storage/azure-storage-file-datalake/pyproject.toml +++ b/sdk/storage/azure-storage-file-datalake/pyproject.toml @@ -1,3 +1,53 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-storage-file-datalake" +authors = [ + { name = "Microsoft Corporation", email = "ascl@microsoft.com" }, +] +description = "Microsoft Azure File DataLake Storage Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.37.0", + "azure-storage-blob>=12.30.0b1", + "typing-extensions>=4.6.0", + "isodate>=0.6.1", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +aio = [ + "azure-core[aio]>=1.37.0", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] mypy = true pyright = false @@ -8,3 +58,22 @@ black = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-storage" + +[tool.setuptools.dynamic.version] +attr = "azure.storage.filedatalake._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "azure", + "azure.storage", + "tests", +] + +[packaging] +auto_update = false diff --git a/sdk/storage/azure-storage-file-datalake/sdk_packaging.toml b/sdk/storage/azure-storage-file-datalake/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/storage/azure-storage-file-datalake/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/setup.py b/sdk/storage/azure-storage-file-datalake/setup.py deleted file mode 100644 index 7e71001d427c..000000000000 --- a/sdk/storage/azure-storage-file-datalake/setup.py +++ /dev/null @@ -1,91 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - - -import os -import re - -from setuptools import setup, find_packages - - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-storage-file-datalake" -NAMESPACE_NAME = "azure.storage.filedatalake" -PACKAGE_PPRINT_NAME = "Azure File DataLake Storage" - -# a-b-c => a/b/c -package_folder_path = NAMESPACE_NAME.replace('.', '/') - -# azure-storage v0.36.0 and prior are not compatible with this package -try: - import azure.storage - - try: - ver = azure.storage.__version__ - raise Exception( - f'This package is incompatible with azure-storage=={ver}. ' + - ' Uninstall it with "pip uninstall azure-storage".' - ) - except AttributeError: - pass -except ImportError: - pass - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description=f'Microsoft {PACKAGE_PPRINT_NAME} Client Library for Python', - long_description=open('README.md', 'r').read(), - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='ascl@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', - 'Programming Language :: Python :: 3.13', - 'Programming Language :: Python :: 3.14', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.storage', - 'tests', - ]), - python_requires=">=3.9", - install_requires=[ - "azure-core>=1.37.0", - "azure-storage-blob>=12.30.0b1", - "typing-extensions>=4.6.0", - "isodate>=0.6.1" - ], - extras_require={ - "aio": [ - "azure-core[aio]>=1.37.0", - ], - }, -) diff --git a/sdk/storage/azure-storage-file-share/pyproject.toml b/sdk/storage/azure-storage-file-share/pyproject.toml index 08a774b6e206..fd799cda18e6 100644 --- a/sdk/storage/azure-storage-file-share/pyproject.toml +++ b/sdk/storage/azure-storage-file-share/pyproject.toml @@ -1,3 +1,53 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-storage-file-share" +authors = [ + { name = "Microsoft Corporation", email = "ascl@microsoft.com" }, +] +description = "Microsoft Azure Azure File Share Storage Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.37.0", + "cryptography>=2.1.4", + "typing-extensions>=4.6.0", + "isodate>=0.6.1", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +aio = [ + "azure-core[aio]>=1.37.0", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-share" + [tool.azure-sdk-build] mypy = true pyright = false @@ -7,3 +57,23 @@ black = false [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-storage" + +[tool.setuptools.dynamic.version] +attr = "azure.storage.fileshare._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "azure", + "azure.storage", + "tests", +] + +[packaging] +auto_update = false diff --git a/sdk/storage/azure-storage-file-share/sdk_packaging.toml b/sdk/storage/azure-storage-file-share/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/storage/azure-storage-file-share/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/storage/azure-storage-file-share/setup.py b/sdk/storage/azure-storage-file-share/setup.py deleted file mode 100644 index 2e62c6db6a86..000000000000 --- a/sdk/storage/azure-storage-file-share/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-storage-file-share" -NAMESPACE_NAME = "azure.storage.fileshare" -PACKAGE_PPRINT_NAME = "Azure File Share Storage" - -# a.b.c => a/b/c -package_folder_path = NAMESPACE_NAME.replace('.', '/') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description=f'Microsoft Azure {PACKAGE_PPRINT_NAME} Client Library for Python', - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='ascl@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-share', - keywords="azure, azure sdk", - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', - 'Programming Language :: Python :: 3.13', - 'Programming Language :: Python :: 3.14', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.storage', - 'tests', - ]), - python_requires=">=3.9", - install_requires=[ - "azure-core>=1.37.0", - "cryptography>=2.1.4", - "typing-extensions>=4.6.0", - "isodate>=0.6.1" - ], - extras_require={ - "aio": [ - "azure-core[aio]>=1.37.0", - ], - }, -) diff --git a/sdk/storage/azure-storage-queue/pyproject.toml b/sdk/storage/azure-storage-queue/pyproject.toml index e0b490cb8fec..784b0cfeee60 100644 --- a/sdk/storage/azure-storage-queue/pyproject.toml +++ b/sdk/storage/azure-storage-queue/pyproject.toml @@ -1,3 +1,53 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-storage-queue" +authors = [ + { name = "Microsoft Corporation", email = "ascl@microsoft.com" }, +] +description = "Microsoft Azure Azure Queue Storage Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.37.0", + "cryptography>=2.1.4", + "typing-extensions>=4.6.0", + "isodate>=0.6.1", +] +dynamic = [ + "version", + "readme", +] + +[project.optional-dependencies] +aio = [ + "azure-core[aio]>=1.37.0", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-queue" + [tool.azure-sdk-build] mypy = true pyright = false @@ -8,3 +58,25 @@ black = true [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-storage" + +[tool.setuptools.dynamic.version] +attr = "azure.storage.queue._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "azure", + "azure.storage", + "tests", + "tests.queue", + "tests.common", +] + +[packaging] +auto_update = false diff --git a/sdk/storage/azure-storage-queue/sdk_packaging.toml b/sdk/storage/azure-storage-queue/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/storage/azure-storage-queue/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/storage/azure-storage-queue/setup.py b/sdk/storage/azure-storage-queue/setup.py deleted file mode 100644 index ac028b43a7a5..000000000000 --- a/sdk/storage/azure-storage-queue/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup # type: ignore - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-storage-queue" -PACKAGE_PPRINT_NAME = "Azure Queue Storage" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) # type: ignore - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description=f"Microsoft Azure {PACKAGE_PPRINT_NAME} Client Library for Python", - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="ascl@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-queue", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Programming Language :: Python :: 3.14", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.storage", - "tests", - "tests.queue", - "tests.common", - ] - ), - python_requires=">=3.9", - install_requires=["azure-core>=1.37.0", "cryptography>=2.1.4", "typing-extensions>=4.6.0", "isodate>=0.6.1"], - extras_require={ - "aio": [ - "azure-core[aio]>=1.37.0", - ], - }, -) diff --git a/sdk/storage/azure-storage/pyproject.toml b/sdk/storage/azure-storage/pyproject.toml index 0504960bccae..ad258f7a7a04 100644 --- a/sdk/storage/azure-storage/pyproject.toml +++ b/sdk/storage/azure-storage/pyproject.toml @@ -1,2 +1,5 @@ [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/storage/azure-storage/sdk_packaging.toml b/sdk/storage/azure-storage/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/storage/azure-storage/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/storageactions/azure-mgmt-storageactions/pyproject.toml b/sdk/storageactions/azure-mgmt-storageactions/pyproject.toml index 540da07d41af..5b473a924fef 100644 --- a/sdk/storageactions/azure-mgmt-storageactions/pyproject.toml +++ b/sdk/storageactions/azure-mgmt-storageactions/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-storageactions" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Storageactions Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.storageactions._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-storageactions" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Storageactions Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "StorageActionsMgmtClient" diff --git a/sdk/storageactions/azure-mgmt-storageactions/sdk_packaging.toml b/sdk/storageactions/azure-mgmt-storageactions/sdk_packaging.toml deleted file mode 100644 index 072bf717a36e..000000000000 --- a/sdk/storageactions/azure-mgmt-storageactions/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-storageactions" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Storageactions Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "StorageActionsMgmtClient" diff --git a/sdk/storageactions/azure-mgmt-storageactions/setup.py b/sdk/storageactions/azure-mgmt-storageactions/setup.py deleted file mode 100644 index 90b3b1590dea..000000000000 --- a/sdk/storageactions/azure-mgmt-storageactions/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-storageactions" -PACKAGE_PPRINT_NAME = "Storageactions Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/storagemover/azure-mgmt-storagemover/pyproject.toml b/sdk/storagemover/azure-mgmt-storagemover/pyproject.toml index f598b535c149..45abe60829b3 100644 --- a/sdk/storagemover/azure-mgmt-storagemover/pyproject.toml +++ b/sdk/storagemover/azure-mgmt-storagemover/pyproject.toml @@ -1,3 +1,47 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-storagemover" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Storagemover Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false @@ -5,6 +49,28 @@ pyright = false type_check_samples = false verifytypes = false +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.storagemover._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + [packaging] package_name = "azure-mgmt-storagemover" package_nspkg = "azure-mgmt-nspkg" diff --git a/sdk/storagemover/azure-mgmt-storagemover/setup.py b/sdk/storagemover/azure-mgmt-storagemover/setup.py deleted file mode 100644 index 9b04ee31f15c..000000000000 --- a/sdk/storagemover/azure-mgmt-storagemover/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-storagemover" -PACKAGE_PPRINT_NAME = "Storagemover Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/storagepool/azure-mgmt-storagepool/pyproject.toml b/sdk/storagepool/azure-mgmt-storagepool/pyproject.toml index 540da07d41af..8cae572e3191 100644 --- a/sdk/storagepool/azure-mgmt-storagepool/pyproject.toml +++ b/sdk/storagepool/azure-mgmt-storagepool/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-storagepool" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Storage Pool Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.storagepool._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-storagepool" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Storage Pool Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "StoragePoolManagement" diff --git a/sdk/storagepool/azure-mgmt-storagepool/sdk_packaging.toml b/sdk/storagepool/azure-mgmt-storagepool/sdk_packaging.toml deleted file mode 100644 index ee52b883fd39..000000000000 --- a/sdk/storagepool/azure-mgmt-storagepool/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-storagepool" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Storage Pool Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "StoragePoolManagement" diff --git a/sdk/storagepool/azure-mgmt-storagepool/setup.py b/sdk/storagepool/azure-mgmt-storagepool/setup.py deleted file mode 100644 index 31217950efdf..000000000000 --- a/sdk/storagepool/azure-mgmt-storagepool/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-storagepool" -PACKAGE_PPRINT_NAME = "Storage Pool Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/streamanalytics/azure-mgmt-streamanalytics/pyproject.toml b/sdk/streamanalytics/azure-mgmt-streamanalytics/pyproject.toml index 540da07d41af..156781835363 100644 --- a/sdk/streamanalytics/azure-mgmt-streamanalytics/pyproject.toml +++ b/sdk/streamanalytics/azure-mgmt-streamanalytics/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-streamanalytics" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Stream Analytics Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.streamanalytics._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-streamanalytics" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Stream Analytics Management" +package_doc_id = "?view=azure-python-preview" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "StreamAnalyticsManagementClient" diff --git a/sdk/streamanalytics/azure-mgmt-streamanalytics/sdk_packaging.toml b/sdk/streamanalytics/azure-mgmt-streamanalytics/sdk_packaging.toml deleted file mode 100644 index 9ca4920709f7..000000000000 --- a/sdk/streamanalytics/azure-mgmt-streamanalytics/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-streamanalytics" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Stream Analytics Management" -package_doc_id = "?view=azure-python-preview" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "StreamAnalyticsManagementClient" diff --git a/sdk/streamanalytics/azure-mgmt-streamanalytics/setup.py b/sdk/streamanalytics/azure-mgmt-streamanalytics/setup.py deleted file mode 100644 index 81511cdf3d60..000000000000 --- a/sdk/streamanalytics/azure-mgmt-streamanalytics/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-streamanalytics" -PACKAGE_PPRINT_NAME = "Stream Analytics Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/subscription/azure-mgmt-subscription/pyproject.toml b/sdk/subscription/azure-mgmt-subscription/pyproject.toml index 540da07d41af..675a055ba97d 100644 --- a/sdk/subscription/azure-mgmt-subscription/pyproject.toml +++ b/sdk/subscription/azure-mgmt-subscription/pyproject.toml @@ -1,6 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-subscription" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Subscription Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.subscription._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-subscription" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Subscription Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "SubscriptionClient" +no_sub = true diff --git a/sdk/subscription/azure-mgmt-subscription/sdk_packaging.toml b/sdk/subscription/azure-mgmt-subscription/sdk_packaging.toml deleted file mode 100644 index a14bd0a78b34..000000000000 --- a/sdk/subscription/azure-mgmt-subscription/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-mgmt-subscription" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Subscription Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "SubscriptionClient" -no_sub = true diff --git a/sdk/subscription/azure-mgmt-subscription/setup.py b/sdk/subscription/azure-mgmt-subscription/setup.py deleted file mode 100644 index 29ea384141dc..000000000000 --- a/sdk/subscription/azure-mgmt-subscription/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-subscription" -PACKAGE_PPRINT_NAME = "Subscription Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/support/azure-mgmt-support/pyproject.toml b/sdk/support/azure-mgmt-support/pyproject.toml index 540da07d41af..5594f0343248 100644 --- a/sdk/support/azure-mgmt-support/pyproject.toml +++ b/sdk/support/azure-mgmt-support/pyproject.toml @@ -1,6 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-support" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Support Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.support._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-support" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Support Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "MicrosoftSupport" diff --git a/sdk/support/azure-mgmt-support/sdk_packaging.toml b/sdk/support/azure-mgmt-support/sdk_packaging.toml deleted file mode 100644 index b17ab7dba4a0..000000000000 --- a/sdk/support/azure-mgmt-support/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-support" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Support Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "MicrosoftSupport" diff --git a/sdk/support/azure-mgmt-support/setup.py b/sdk/support/azure-mgmt-support/setup.py deleted file mode 100644 index 4aafdd3ea16f..000000000000 --- a/sdk/support/azure-mgmt-support/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-support" -PACKAGE_PPRINT_NAME = "Support Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/synapse/azure-mgmt-synapse/pyproject.toml b/sdk/synapse/azure-mgmt-synapse/pyproject.toml index 540da07d41af..50a9cb048bb7 100644 --- a/sdk/synapse/azure-mgmt-synapse/pyproject.toml +++ b/sdk/synapse/azure-mgmt-synapse/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-synapse" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Synapse Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.synapse._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-synapse" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Synapse Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "SynapseManagementClient" diff --git a/sdk/synapse/azure-mgmt-synapse/sdk_packaging.toml b/sdk/synapse/azure-mgmt-synapse/sdk_packaging.toml deleted file mode 100644 index beafd297e574..000000000000 --- a/sdk/synapse/azure-mgmt-synapse/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-synapse" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Synapse Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "SynapseManagementClient" diff --git a/sdk/synapse/azure-mgmt-synapse/setup.py b/sdk/synapse/azure-mgmt-synapse/setup.py deleted file mode 100644 index 673385f12a57..000000000000 --- a/sdk/synapse/azure-mgmt-synapse/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-synapse" -PACKAGE_PPRINT_NAME = "Synapse Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/synapse/azure-synapse-accesscontrol/pyproject.toml b/sdk/synapse/azure-synapse-accesscontrol/pyproject.toml index 8d96766d96bb..8e1eac149761 100644 --- a/sdk/synapse/azure-synapse-accesscontrol/pyproject.toml +++ b/sdk/synapse/azure-synapse-accesscontrol/pyproject.toml @@ -1,6 +1,77 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-synapse-accesscontrol" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Synapse AccessControl Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-core>=1.20.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false ci_enabled = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.synapse.accesscontrol._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.synapse", +] + +[packaging] +package_name = "azure-synapse-accesscontrol" +package_nspkg = "azure-synapse-nspkg" +package_pprint_name = "Synapse AccessControl" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +need_azurecore = true +auto_update = false diff --git a/sdk/synapse/azure-synapse-accesscontrol/sdk_packaging.toml b/sdk/synapse/azure-synapse-accesscontrol/sdk_packaging.toml deleted file mode 100644 index 27edf0d0d36a..000000000000 --- a/sdk/synapse/azure-synapse-accesscontrol/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-synapse-accesscontrol" -package_nspkg = "azure-synapse-nspkg" -package_pprint_name = "Synapse AccessControl" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -need_azurecore = true -auto_update = false \ No newline at end of file diff --git a/sdk/synapse/azure-synapse-accesscontrol/setup.py b/sdk/synapse/azure-synapse-accesscontrol/setup.py deleted file mode 100644 index 1b55f734bf2a..000000000000 --- a/sdk/synapse/azure-synapse-accesscontrol/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-synapse-accesscontrol" -PACKAGE_PPRINT_NAME = "Synapse AccessControl" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.synapse', - ]), - python_requires=">=3.6", - install_requires=[ - 'msrest>=0.6.21', - 'azure-common~=1.1', - 'azure-core>=1.20.0,<2.0.0', - ], -) diff --git a/sdk/synapse/azure-synapse-artifacts/pyproject.toml b/sdk/synapse/azure-synapse-artifacts/pyproject.toml index 08dacc447299..c52c4c939d0a 100644 --- a/sdk/synapse/azure-synapse-artifacts/pyproject.toml +++ b/sdk/synapse/azure-synapse-artifacts/pyproject.toml @@ -1,3 +1,47 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-synapse-artifacts" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Synapse Artifacts Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-common>=1.1", + "azure-mgmt-core>=1.6.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pylint = false pyright = false @@ -7,3 +51,35 @@ verifytypes = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.synapse.artifacts._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.synapse", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-synapse-artifacts" +package_pprint_name = "Synapse Artifacts" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azurecore = false +auto_update = false diff --git a/sdk/synapse/azure-synapse-artifacts/sdk_packaging.toml b/sdk/synapse/azure-synapse-artifacts/sdk_packaging.toml deleted file mode 100644 index 503ff7dadfea..000000000000 --- a/sdk/synapse/azure-synapse-artifacts/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-synapse-artifacts" -package_pprint_name = "Synapse Artifacts" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azurecore = false -auto_update = false \ No newline at end of file diff --git a/sdk/synapse/azure-synapse-artifacts/setup.py b/sdk/synapse/azure-synapse-artifacts/setup.py deleted file mode 100644 index 009264c7fc58..000000000000 --- a/sdk/synapse/azure-synapse-artifacts/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-synapse-artifacts" -PACKAGE_PPRINT_NAME = "Synapse Artifacts" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.synapse", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-common>=1.1", - "azure-mgmt-core>=1.6.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/synapse/azure-synapse-managedprivateendpoints/pyproject.toml b/sdk/synapse/azure-synapse-managedprivateendpoints/pyproject.toml index 8d96766d96bb..4c8dd0a587f5 100644 --- a/sdk/synapse/azure-synapse-managedprivateendpoints/pyproject.toml +++ b/sdk/synapse/azure-synapse-managedprivateendpoints/pyproject.toml @@ -1,6 +1,77 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-synapse-managedprivateendpoints" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Synapse Managed Private Endpoints Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-core>=1.20.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false ci_enabled = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.synapse.managedprivateendpoints._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.synapse", +] + +[packaging] +package_name = "azure-synapse-managedprivateendpoints" +package_nspkg = "azure-synapse-nspkg" +package_pprint_name = "Synapse Managed Private Endpoints" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +need_azurecore = true +auto_update = false diff --git a/sdk/synapse/azure-synapse-managedprivateendpoints/sdk_packaging.toml b/sdk/synapse/azure-synapse-managedprivateendpoints/sdk_packaging.toml deleted file mode 100644 index 76d8b9364707..000000000000 --- a/sdk/synapse/azure-synapse-managedprivateendpoints/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-synapse-managedprivateendpoints" -package_nspkg = "azure-synapse-nspkg" -package_pprint_name = "Synapse Managed Private Endpoints" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -need_azurecore = true -auto_update = false \ No newline at end of file diff --git a/sdk/synapse/azure-synapse-managedprivateendpoints/setup.py b/sdk/synapse/azure-synapse-managedprivateendpoints/setup.py deleted file mode 100644 index 527f67e32dbb..000000000000 --- a/sdk/synapse/azure-synapse-managedprivateendpoints/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-synapse-managedprivateendpoints" -PACKAGE_PPRINT_NAME = "Synapse Managed Private Endpoints" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.synapse', - ]), - python_requires=">=3.6", - install_requires=[ - 'msrest>=0.6.21', - 'azure-common~=1.1', - 'azure-core>=1.20.0,<2.0.0', - ], -) diff --git a/sdk/synapse/azure-synapse-monitoring/pyproject.toml b/sdk/synapse/azure-synapse-monitoring/pyproject.toml index 8d96766d96bb..bccfc1fc2776 100644 --- a/sdk/synapse/azure-synapse-monitoring/pyproject.toml +++ b/sdk/synapse/azure-synapse-monitoring/pyproject.toml @@ -1,6 +1,77 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-synapse-monitoring" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Synapse Monitoring Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-core>=1.20.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false ci_enabled = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.synapse.monitoring._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.synapse", +] + +[packaging] +package_name = "azure-synapse-monitoring" +package_nspkg = "azure-synapse-nspkg" +package_pprint_name = "Synapse Monitoring" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +need_azurecore = true +auto_update = false diff --git a/sdk/synapse/azure-synapse-monitoring/sdk_packaging.toml b/sdk/synapse/azure-synapse-monitoring/sdk_packaging.toml deleted file mode 100644 index 794b5d30a5e6..000000000000 --- a/sdk/synapse/azure-synapse-monitoring/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-synapse-monitoring" -package_nspkg = "azure-synapse-nspkg" -package_pprint_name = "Synapse Monitoring" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -need_azurecore = true -auto_update = false \ No newline at end of file diff --git a/sdk/synapse/azure-synapse-monitoring/setup.py b/sdk/synapse/azure-synapse-monitoring/setup.py deleted file mode 100644 index 9f868a8e0567..000000000000 --- a/sdk/synapse/azure-synapse-monitoring/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-synapse-monitoring" -PACKAGE_PPRINT_NAME = "Synapse Monitoring" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.synapse', - ]), - python_requires=">=3.6", - install_requires=[ - 'msrest>=0.6.21', - 'azure-common~=1.1', - 'azure-core>=1.20.0,<2.0.0', - ], -) diff --git a/sdk/synapse/azure-synapse-spark/pyproject.toml b/sdk/synapse/azure-synapse-spark/pyproject.toml index 8d96766d96bb..fd2b4eb2c554 100644 --- a/sdk/synapse/azure-synapse-spark/pyproject.toml +++ b/sdk/synapse/azure-synapse-spark/pyproject.toml @@ -1,6 +1,77 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-synapse-spark" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Synapse Spark Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-common~=1.1", + "azure-core>=1.20.0,<2.0.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false ci_enabled = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.synapse.spark._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.synapse", +] + +[packaging] +package_name = "azure-synapse-spark" +package_nspkg = "azure-synapse-nspkg" +package_pprint_name = "Synapse Spark" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +need_azurecore = true +auto_update = false diff --git a/sdk/synapse/azure-synapse-spark/sdk_packaging.toml b/sdk/synapse/azure-synapse-spark/sdk_packaging.toml deleted file mode 100644 index 426c5ba1f535..000000000000 --- a/sdk/synapse/azure-synapse-spark/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-synapse-spark" -package_nspkg = "azure-synapse-nspkg" -package_pprint_name = "Synapse Spark" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -need_azurecore = true -auto_update = false diff --git a/sdk/synapse/azure-synapse-spark/setup.py b/sdk/synapse/azure-synapse-spark/setup.py deleted file mode 100644 index 04a334f4532a..000000000000 --- a/sdk/synapse/azure-synapse-spark/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-synapse-spark" -PACKAGE_PPRINT_NAME = "Synapse Spark" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.synapse', - ]), - python_requires=">=3.6", - install_requires=[ - 'msrest>=0.6.21', - 'azure-common~=1.1', - 'azure-core>=1.20.0,<2.0.0', - ], -) diff --git a/sdk/tables/azure-data-tables/pyproject.toml b/sdk/tables/azure-data-tables/pyproject.toml index e9b975a7d2b3..c94451f9638b 100644 --- a/sdk/tables/azure-data-tables/pyproject.toml +++ b/sdk/tables/azure-data-tables/pyproject.toml @@ -1,6 +1,70 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-data-tables" +authors = [ + { name = "Microsoft Corporation", email = "ascl@microsoft.com" }, +] +description = "Microsoft Azure Azure Data Tables Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "azure-core>=1.29.4", + "yarl>=1.0", + "isodate>=0.6.1", + "typing-extensions>=4.3.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/tables/azure-data-tables" + [tool.azure-sdk-build] pyright = false black = true [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.data.tables._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "azure", + "tests", + "azure.data", +] + +[packaging] +auto_update = false diff --git a/sdk/tables/azure-data-tables/sdk_packaging.toml b/sdk/tables/azure-data-tables/sdk_packaging.toml deleted file mode 100644 index e7687fdae93b..000000000000 --- a/sdk/tables/azure-data-tables/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false \ No newline at end of file diff --git a/sdk/tables/azure-data-tables/setup.py b/sdk/tables/azure-data-tables/setup.py deleted file mode 100644 index 0cbd57f6ea12..000000000000 --- a/sdk/tables/azure-data-tables/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-data-tables" -PACKAGE_PPRINT_NAME = "Azure Data Tables" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="ascl@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/tables/azure-data-tables", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "tests", - "azure.data", - ] - ), - python_requires=">=3.9", - install_requires=[ - "azure-core>=1.29.4", - "yarl>=1.0", - "isodate>=0.6.1", - "typing-extensions>=4.3.0", - ], -) diff --git a/sdk/template/azure-template/pyproject.toml b/sdk/template/azure-template/pyproject.toml index c86003ed32b3..9a9e86724b49 100644 --- a/sdk/template/azure-template/pyproject.toml +++ b/sdk/template/azure-template/pyproject.toml @@ -1,14 +1,20 @@ [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-template" authors = [ - {name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com"}, + { name = "Microsoft Corporation", email = "azuresdkengsysadmins@microsoft.com" }, ] description = "Microsoft Azure Template Package Client Library for Python" -keywords = ["azure", "azure sdk"] +keywords = [ + "azure", + "azure sdk", +] requires-python = ">=3.9" license = "MIT" classifiers = [ @@ -25,21 +31,36 @@ classifiers = [ dependencies = [ "azure-core<2.0.0,>=1.23.0", ] -dynamic = ["version", "readme"] +dynamic = [ + "version", + "readme", +] [project.urls] "Bug Reports" = "https://github.com/Azure/azure-sdk-for-python/issues" repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.template._version.VERSION"} -readme = {file = ["README.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.template._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] -exclude = ["tests*", "samples*", "azure", "build*"] +exclude = [ + "tests*", + "samples*", + "azure", + "build*", +] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] mypy = true @@ -50,3 +71,6 @@ pylint = true black = true generate = false apistub = false + +[packaging] +auto_update = false diff --git a/sdk/template/azure-template/sdk_packaging.toml b/sdk/template/azure-template/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/template/azure-template/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/terraform/azure-mgmt-terraform/pyproject.toml b/sdk/terraform/azure-mgmt-terraform/pyproject.toml index 540da07d41af..17483a14a785 100644 --- a/sdk/terraform/azure-mgmt-terraform/pyproject.toml +++ b/sdk/terraform/azure-mgmt-terraform/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-terraform" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Terraform Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.terraform._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-terraform" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Terraform Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "TerraformMgmtClient" diff --git a/sdk/terraform/azure-mgmt-terraform/sdk_packaging.toml b/sdk/terraform/azure-mgmt-terraform/sdk_packaging.toml deleted file mode 100644 index 9a5b8905ce59..000000000000 --- a/sdk/terraform/azure-mgmt-terraform/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-terraform" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Terraform Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "TerraformMgmtClient" diff --git a/sdk/terraform/azure-mgmt-terraform/setup.py b/sdk/terraform/azure-mgmt-terraform/setup.py deleted file mode 100644 index eebf3c3c8cff..000000000000 --- a/sdk/terraform/azure-mgmt-terraform/setup.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-terraform" -PACKAGE_PPRINT_NAME = "Terraform Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/testbase/azure-mgmt-testbase/pyproject.toml b/sdk/testbase/azure-mgmt-testbase/pyproject.toml index 540da07d41af..6af0c85b9336 100644 --- a/sdk/testbase/azure-mgmt-testbase/pyproject.toml +++ b/sdk/testbase/azure-mgmt-testbase/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-testbase" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Testbase Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.testbase._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-testbase" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Testbase Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "TestBase" diff --git a/sdk/testbase/azure-mgmt-testbase/sdk_packaging.toml b/sdk/testbase/azure-mgmt-testbase/sdk_packaging.toml deleted file mode 100644 index 32107dab549e..000000000000 --- a/sdk/testbase/azure-mgmt-testbase/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-testbase" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Testbase Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "TestBase" diff --git a/sdk/testbase/azure-mgmt-testbase/setup.py b/sdk/testbase/azure-mgmt-testbase/setup.py deleted file mode 100644 index 50b45b86a26e..000000000000 --- a/sdk/testbase/azure-mgmt-testbase/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-testbase" -PACKAGE_PPRINT_NAME = "Testbase Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/textanalytics/azure-ai-textanalytics/pyproject.toml b/sdk/textanalytics/azure-ai-textanalytics/pyproject.toml index a5bdfc226cb5..06287fe1fcac 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/pyproject.toml +++ b/sdk/textanalytics/azure-ai-textanalytics/pyproject.toml @@ -1,5 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-textanalytics" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Text Analytics Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", + "text analytics", + "cognitive services", + "natural language processing", +] +dependencies = [ + "azure-core>=1.27.0", + "azure-common>=1.1", + "isodate>=0.6.1", + "typing-extensions>=4.0.1", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.ai.textanalytics._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", +] + +[tool.setuptools.package-data] +"azure.ai.textanalytics" = [ + "py.typed", +] + +[packaging] +package_name = "azure-ai-textanalytics" +package_nspkg = "azure-ai-nspkg" +package_pprint_name = "Azure Text Analytics" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/textanalytics/azure-ai-textanalytics/sdk_packaging.toml b/sdk/textanalytics/azure-ai-textanalytics/sdk_packaging.toml deleted file mode 100644 index 1aebdce7c108..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-ai-textanalytics" -package_nspkg = "azure-ai-nspkg" -package_pprint_name = "Azure Text Analytics" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -auto_update = false diff --git a/sdk/textanalytics/azure-ai-textanalytics/setup.py b/sdk/textanalytics/azure-ai-textanalytics/setup.py deleted file mode 100644 index b9c083bd2c93..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/setup.py +++ /dev/null @@ -1,77 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-ai-textanalytics" -PACKAGE_PPRINT_NAME = "Azure Text Analytics" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - include_package_data=True, - description='Microsoft {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type='text/markdown', - 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 :: 3 :: Only", - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - keywords="azure, azure sdk, text analytics, cognitive services, natural language processing", - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.ai', - ]), - package_data={ - 'azure.ai.textanalytics': ['py.typed'], - }, - python_requires=">=3.8", - install_requires=[ - "azure-core>=1.27.0", - 'azure-common>=1.1', - "isodate>=0.6.1", - "typing-extensions>=4.0.1", - ], -) diff --git a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/pyproject.toml b/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/pyproject.toml index 540da07d41af..f1039ff59493 100644 --- a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/pyproject.toml +++ b/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/pyproject.toml @@ -1,6 +1,78 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-timeseriesinsights" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Time Series Insights Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.timeseriesinsights._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-timeseriesinsights" +package_pprint_name = "Time Series Insights Management" +package_doc_id = "" +is_stable = false +title = "TimeSeriesInsightsClient" diff --git a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/sdk_packaging.toml b/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/sdk_packaging.toml deleted file mode 100644 index e431012ed41d..000000000000 --- a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/sdk_packaging.toml +++ /dev/null @@ -1,6 +0,0 @@ -[packaging] -package_name = "azure-mgmt-timeseriesinsights" -package_pprint_name = "Time Series Insights Management" -package_doc_id = "" -is_stable = false -title = "TimeSeriesInsightsClient" diff --git a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/setup.py b/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/setup.py deleted file mode 100644 index 93509e656cae..000000000000 --- a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-timeseriesinsights" -PACKAGE_PPRINT_NAME = "Time Series Insights Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/trafficmanager/azure-mgmt-trafficmanager/pyproject.toml b/sdk/trafficmanager/azure-mgmt-trafficmanager/pyproject.toml index 540da07d41af..92e3839d9100 100644 --- a/sdk/trafficmanager/azure-mgmt-trafficmanager/pyproject.toml +++ b/sdk/trafficmanager/azure-mgmt-trafficmanager/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-trafficmanager" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Traffic Manager Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.trafficmanager._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-trafficmanager" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Traffic Manager Management" +package_doc_id = "" +is_stable = false +is_arm = true +title = "TrafficManagerManagementClient" diff --git a/sdk/trafficmanager/azure-mgmt-trafficmanager/sdk_packaging.toml b/sdk/trafficmanager/azure-mgmt-trafficmanager/sdk_packaging.toml deleted file mode 100644 index 4dfa475d5005..000000000000 --- a/sdk/trafficmanager/azure-mgmt-trafficmanager/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-trafficmanager" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Traffic Manager Management" -package_doc_id = "" -is_stable = false -is_arm = true -title = "TrafficManagerManagementClient" diff --git a/sdk/trafficmanager/azure-mgmt-trafficmanager/setup.py b/sdk/trafficmanager/azure-mgmt-trafficmanager/setup.py deleted file mode 100644 index 4fe2e82cc1e8..000000000000 --- a/sdk/trafficmanager/azure-mgmt-trafficmanager/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-trafficmanager" -PACKAGE_PPRINT_NAME = "Traffic Manager Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/translation/azure-ai-translation-document/pyproject.toml b/sdk/translation/azure-ai-translation-document/pyproject.toml index a5bdfc226cb5..0c78d646ad4a 100644 --- a/sdk/translation/azure-ai-translation-document/pyproject.toml +++ b/sdk/translation/azure-ai-translation-document/pyproject.toml @@ -1,5 +1,74 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-translation-document" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Ai Translation Document Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pyright = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.ai.translation.document._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", + "azure.ai.translation", +] + +[tool.setuptools.package-data] +"azure.ai.translation.document" = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/translation/azure-ai-translation-document/sdk_packaging.toml b/sdk/translation/azure-ai-translation-document/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/translation/azure-ai-translation-document/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/translation/azure-ai-translation-document/setup.py b/sdk/translation/azure-ai-translation-document/setup.py deleted file mode 100644 index 8464b676cfe9..000000000000 --- a/sdk/translation/azure-ai-translation-document/setup.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-ai-translation-document" -PACKAGE_PPRINT_NAME = "Azure Ai Translation Document" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.ai", - "azure.ai.translation", - ] - ), - include_package_data=True, - package_data={ - "azure.ai.translation.document": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/translation/azure-ai-translation-text/pyproject.toml b/sdk/translation/azure-ai-translation-text/pyproject.toml index b9f2fa74378f..c89708dbb743 100644 --- a/sdk/translation/azure-ai-translation-text/pyproject.toml +++ b/sdk/translation/azure-ai-translation-text/pyproject.toml @@ -1,18 +1,14 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-ai-translation-text" authors = [ - { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Ai Translation Text Client Library for Python" license = "MIT" @@ -28,23 +24,32 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" -keywords = ["azure", "azure sdk"] - +keywords = [ + "azure", + "azure sdk", +] dependencies = [ "isodate>=0.6.1", "azure-core>=1.35.0", "typing-extensions>=4.6.0", ] dynamic = [ -"version", "readme" + "version", + "readme", ] [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.ai.translation.text._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.ai.translation.text._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] exclude = [ @@ -59,7 +64,9 @@ exclude = [ ] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pylint = true @@ -69,3 +76,6 @@ pyright = true [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/translation/azure-ai-translation-text/sdk_packaging.toml b/sdk/translation/azure-ai-translation-text/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/translation/azure-ai-translation-text/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/videoanalyzer/azure-media-videoanalyzer-edge/pyproject.toml b/sdk/videoanalyzer/azure-media-videoanalyzer-edge/pyproject.toml new file mode 100644 index 000000000000..71f5697ce46a --- /dev/null +++ b/sdk/videoanalyzer/azure-media-videoanalyzer-edge/pyproject.toml @@ -0,0 +1,69 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-media-videoanalyzer-edge" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Azure Video Analyzer Edge SDK Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.6" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.6.21", + "azure-core<2.0.0,>=1.2.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/videoanalyzer/azure-media-videoanalyzer-edge" + +[tool.setuptools.dynamic.version] +attr = "azure.media.videoanalyzeredge._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "samples", + "tests", + "azure", + "azure.media", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/videoanalyzer/azure-media-videoanalyzer-edge/sdk_packaging.toml b/sdk/videoanalyzer/azure-media-videoanalyzer-edge/sdk_packaging.toml deleted file mode 100644 index b366f78fb41b..000000000000 --- a/sdk/videoanalyzer/azure-media-videoanalyzer-edge/sdk_packaging.toml +++ /dev/null @@ -1,4 +0,0 @@ -[packaging] -is_arm = false -need_msrestazure = false -auto_update = false diff --git a/sdk/videoanalyzer/azure-media-videoanalyzer-edge/setup.py b/sdk/videoanalyzer/azure-media-videoanalyzer-edge/setup.py deleted file mode 100644 index a3811349a16b..000000000000 --- a/sdk/videoanalyzer/azure-media-videoanalyzer-edge/setup.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import sys -import re -import os.path -from io import open -from setuptools import find_packages, setup - -# Change the PACKAGE_NAME only to change folder and different name -PACKAGE_NAME = "azure-media-videoanalyzer-edge" -NAMESPACE_NAME = "azure.media.videoanalyzeredge" -PACKAGE_PPRINT_NAME = "Azure Video Analyzer Edge SDK" - -# a-b-c => a/b/c -package_folder_path = NAMESPACE_NAME.replace('.', '/') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='{} Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/videoanalyzer/azure-media-videoanalyzer-edge', - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 4 - Beta", - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "samples", - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.media" - ] - ), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - python_requires=">=3.6", - install_requires=[ - "msrest>=0.6.21", - "azure-core<2.0.0,>=1.2.2", - ], -) diff --git a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/pyproject.toml b/sdk/videoanalyzer/azure-mgmt-videoanalyzer/pyproject.toml index 540da07d41af..d79a4310cb36 100644 --- a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/pyproject.toml +++ b/sdk/videoanalyzer/azure-mgmt-videoanalyzer/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-videoanalyzer" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Video Analyzer Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.videoanalyzer._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-videoanalyzer" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Video Analyzer Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "VideoAnalyzer" +auto_update = false diff --git a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/sdk_packaging.toml b/sdk/videoanalyzer/azure-mgmt-videoanalyzer/sdk_packaging.toml deleted file mode 100644 index 02e88d2a607e..000000000000 --- a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-videoanalyzer" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Video Analyzer Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "VideoAnalyzer" -auto_update = false diff --git a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py b/sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py deleted file mode 100644 index 85246726228a..000000000000 --- a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-videoanalyzer" -PACKAGE_PPRINT_NAME = "Video Analyzer Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -) diff --git a/sdk/vision/azure-ai-vision-imageanalysis/pyproject.toml b/sdk/vision/azure-ai-vision-imageanalysis/pyproject.toml index c2e6cf1fdd6f..5f3d940e0164 100644 --- a/sdk/vision/azure-ai-vision-imageanalysis/pyproject.toml +++ b/sdk/vision/azure-ai-vision-imageanalysis/pyproject.toml @@ -1,3 +1,71 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-ai-vision-imageanalysis" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Ai Vision Imageanalysis Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.30.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-conda] in_bundle = true bundle_name = "azure-ai-vision" + +[tool.setuptools.dynamic.version] +attr = "azure.ai.vision.imageanalysis._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.ai", + "azure.ai.vision", +] + +[tool.setuptools.package-data] +"azure.ai.vision.imageanalysis" = [ + "py.typed", +] + +[packaging] +auto_update = false diff --git a/sdk/vision/azure-ai-vision-imageanalysis/sdk_packaging.toml b/sdk/vision/azure-ai-vision-imageanalysis/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/vision/azure-ai-vision-imageanalysis/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/vision/azure-ai-vision-imageanalysis/setup.py b/sdk/vision/azure-ai-vision-imageanalysis/setup.py deleted file mode 100644 index 47b02d2e77bf..000000000000 --- a/sdk/vision/azure-ai-vision-imageanalysis/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-ai-vision-imageanalysis" -PACKAGE_PPRINT_NAME = "Azure Ai Vision Imageanalysis" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.ai", - "azure.ai.vision", - ] - ), - include_package_data=True, - package_data={ - "azure.ai.vision.imageanalysis": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.30.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.8", -) diff --git a/sdk/voiceservices/azure-mgmt-voiceservices/pyproject.toml b/sdk/voiceservices/azure-mgmt-voiceservices/pyproject.toml index 540da07d41af..e48f711f9f52 100644 --- a/sdk/voiceservices/azure-mgmt-voiceservices/pyproject.toml +++ b/sdk/voiceservices/azure-mgmt-voiceservices/pyproject.toml @@ -1,6 +1,84 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-voiceservices" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Voiceservices Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate<1.0.0,>=0.6.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.voiceservices._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-voiceservices" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Voiceservices Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +title = "VoiceServicesMgmtClient" diff --git a/sdk/voiceservices/azure-mgmt-voiceservices/sdk_packaging.toml b/sdk/voiceservices/azure-mgmt-voiceservices/sdk_packaging.toml deleted file mode 100644 index aa36139f257b..000000000000 --- a/sdk/voiceservices/azure-mgmt-voiceservices/sdk_packaging.toml +++ /dev/null @@ -1,11 +0,0 @@ -[packaging] -package_name = "azure-mgmt-voiceservices" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Voiceservices Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -title = "VoiceServicesMgmtClient" diff --git a/sdk/voiceservices/azure-mgmt-voiceservices/setup.py b/sdk/voiceservices/azure-mgmt-voiceservices/setup.py deleted file mode 100644 index 41c36537f960..000000000000 --- a/sdk/voiceservices/azure-mgmt-voiceservices/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-voiceservices" -PACKAGE_PPRINT_NAME = "Voiceservices Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/webpubsub/azure-messaging-webpubsubclient/pyproject.toml b/sdk/webpubsub/azure-messaging-webpubsubclient/pyproject.toml index 1589d68a230d..79921421e74c 100644 --- a/sdk/webpubsub/azure-messaging-webpubsubclient/pyproject.toml +++ b/sdk/webpubsub/azure-messaging-webpubsubclient/pyproject.toml @@ -1,14 +1,20 @@ [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = [ + "setuptools>=77.0.3", + "wheel", +] build-backend = "setuptools.build_meta" [project] name = "azure-messaging-webpubsubclient" authors = [ - {name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com"}, + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Azure Web PubSub Client Library for Python" -keywords = ["azure", "azure sdk"] +keywords = [ + "azure", + "azure sdk", +] requires-python = ">=3.9" license = "MIT" classifiers = [ @@ -27,7 +33,10 @@ dependencies = [ "azure-core>=1.26.3", "websocket-client>=1.6.0", ] -dynamic = ["version", "readme"] +dynamic = [ + "version", + "readme", +] [project.optional-dependencies] aio = [ @@ -37,9 +46,15 @@ aio = [ [project.urls] repository = "https://github.com/Azure/azure-sdk-for-python" -[tool.setuptools.dynamic] -version = {attr = "azure.messaging.webpubsubclient._version.VERSION"} -readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"} +[tool.setuptools.dynamic.version] +attr = "azure.messaging.webpubsubclient._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" [tool.setuptools.packages.find] exclude = [ @@ -52,7 +67,9 @@ exclude = [ ] [tool.setuptools.package-data] -pytyped = ["py.typed"] +pytyped = [ + "py.typed", +] [tool.azure-sdk-build] pylint = false @@ -60,3 +77,6 @@ pyright = false [tool.azure-sdk-conda] in_bundle = false + +[packaging] +auto_update = false diff --git a/sdk/webpubsub/azure-messaging-webpubsubclient/sdk_packaging.toml b/sdk/webpubsub/azure-messaging-webpubsubclient/sdk_packaging.toml deleted file mode 100644 index 901bc8ccbfa6..000000000000 --- a/sdk/webpubsub/azure-messaging-webpubsubclient/sdk_packaging.toml +++ /dev/null @@ -1,2 +0,0 @@ -[packaging] -auto_update = false diff --git a/sdk/webpubsub/azure-messaging-webpubsubservice/pyproject.toml b/sdk/webpubsub/azure-messaging-webpubsubservice/pyproject.toml index 5a8b1e09d60b..a5bf0633d417 100644 --- a/sdk/webpubsub/azure-messaging-webpubsubservice/pyproject.toml +++ b/sdk/webpubsub/azure-messaging-webpubsubservice/pyproject.toml @@ -1,3 +1,46 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-messaging-webpubsubservice" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Corporation Azure WebPubSub Service Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "azure-core>=1.35.0", + "typing-extensions>=4.6.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" + [tool.azure-sdk-build] pylint = false pyright = false @@ -5,3 +48,34 @@ mypy = false [tool.azure-sdk-conda] in_bundle = false + +[tool.setuptools.dynamic.version] +attr = "azure.messaging.webpubsubservice._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.messaging", +] + +[tool.setuptools.package-data] +"azure.messaging.webpubsubservice" = [ + "py.typed", +] + +[packaging] +package_name = "azure-messaging-webpubsubservice" +package_nspkg = "azure-messaging-nspkg" +package_pprint_name = "Azure Web PubSub Service" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +auto_update = false diff --git a/sdk/webpubsub/azure-messaging-webpubsubservice/sdk_packaging.toml b/sdk/webpubsub/azure-messaging-webpubsubservice/sdk_packaging.toml deleted file mode 100644 index f2b3fc1cf82b..000000000000 --- a/sdk/webpubsub/azure-messaging-webpubsubservice/sdk_packaging.toml +++ /dev/null @@ -1,9 +0,0 @@ -[packaging] -package_name = "azure-messaging-webpubsubservice" -package_nspkg = "azure-messaging-nspkg" -package_pprint_name = "Azure Web PubSub Service" -package_doc_id = "" -is_stable = false -is_arm = false -need_msrestazure = false -auto_update = false \ No newline at end of file diff --git a/sdk/webpubsub/azure-messaging-webpubsubservice/setup.py b/sdk/webpubsub/azure-messaging-webpubsubservice/setup.py deleted file mode 100644 index 178d516750fa..000000000000 --- a/sdk/webpubsub/azure-messaging-webpubsubservice/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) Python Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-messaging-webpubsubservice" -PACKAGE_PPRINT_NAME = "Azure WebPubSub Service" -PACKAGE_NAMESPACE = "azure.messaging.webpubsubservice" - -# a.b.c => a/b/c -package_folder_path = PACKAGE_NAMESPACE.replace(".", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Corporation {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.messaging", - ] - ), - include_package_data=True, - package_data={ - "azure.messaging.webpubsubservice": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "azure-core>=1.35.0", - "typing-extensions>=4.6.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/webpubsub/azure-mgmt-webpubsub/pyproject.toml b/sdk/webpubsub/azure-mgmt-webpubsub/pyproject.toml index 540da07d41af..9218b6830121 100644 --- a/sdk/webpubsub/azure-mgmt-webpubsub/pyproject.toml +++ b/sdk/webpubsub/azure-mgmt-webpubsub/pyproject.toml @@ -1,6 +1,81 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-webpubsub" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure WebPubSub Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.webpubsub._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-webpubsub" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "WebPubSub Management" +package_doc_id = "" +is_stable = true +is_arm = true +title = "WebPubSubManagementClient" diff --git a/sdk/webpubsub/azure-mgmt-webpubsub/sdk_packaging.toml b/sdk/webpubsub/azure-mgmt-webpubsub/sdk_packaging.toml deleted file mode 100644 index 987188e6f4b4..000000000000 --- a/sdk/webpubsub/azure-mgmt-webpubsub/sdk_packaging.toml +++ /dev/null @@ -1,8 +0,0 @@ -[packaging] -package_name = "azure-mgmt-webpubsub" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "WebPubSub Management" -package_doc_id = "" -is_stable = true -is_arm = true -title = "WebPubSubManagementClient" diff --git a/sdk/webpubsub/azure-mgmt-webpubsub/setup.py b/sdk/webpubsub/azure-mgmt-webpubsub/setup.py deleted file mode 100644 index 11a667e33935..000000000000 --- a/sdk/webpubsub/azure-mgmt-webpubsub/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-webpubsub" -PACKAGE_PPRINT_NAME = "WebPubSub Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -) diff --git a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/pyproject.toml b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/pyproject.toml index 42a7f73e0386..f31ea82bcb3c 100644 --- a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/pyproject.toml +++ b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/pyproject.toml @@ -1,2 +1,80 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-weightsandbiases" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Weightsandbiases Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.weightsandbiases._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-weightsandbiases" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Weightsandbiases Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "WeightsAndBiasesMgmtClient" diff --git a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/sdk_packaging.toml b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/sdk_packaging.toml deleted file mode 100644 index b543fba3275a..000000000000 --- a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-weightsandbiases" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Weightsandbiases Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "WeightsAndBiasesMgmtClient" diff --git a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/setup.py b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/setup.py deleted file mode 100644 index ee15d3cd188b..000000000000 --- a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-weightsandbiases" -PACKAGE_PPRINT_NAME = "Weightsandbiases Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/workloadorchestration/azure-mgmt-workloadorchestration/pyproject.toml b/sdk/workloadorchestration/azure-mgmt-workloadorchestration/pyproject.toml index ce5cf69b33f0..3c22b1b8d876 100644 --- a/sdk/workloadorchestration/azure-mgmt-workloadorchestration/pyproject.toml +++ b/sdk/workloadorchestration/azure-mgmt-workloadorchestration/pyproject.toml @@ -1,4 +1,82 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-workloadorchestration" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Workloadorchestration Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.9" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.5.0", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false pyright = false mypy = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.workloadorchestration._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-workloadorchestration" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Workloadorchestration Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "WorkloadOrchestrationMgmtClient" diff --git a/sdk/workloadorchestration/azure-mgmt-workloadorchestration/sdk_packaging.toml b/sdk/workloadorchestration/azure-mgmt-workloadorchestration/sdk_packaging.toml deleted file mode 100644 index 28d028d9e4ea..000000000000 --- a/sdk/workloadorchestration/azure-mgmt-workloadorchestration/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-workloadorchestration" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Workloadorchestration Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "WorkloadOrchestrationMgmtClient" diff --git a/sdk/workloadorchestration/azure-mgmt-workloadorchestration/setup.py b/sdk/workloadorchestration/azure-mgmt-workloadorchestration/setup.py deleted file mode 100644 index 7230aa52bb6e..000000000000 --- a/sdk/workloadorchestration/azure-mgmt-workloadorchestration/setup.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-workloadorchestration" -PACKAGE_PPRINT_NAME = "Workloadorchestration Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.5.0", - ], - python_requires=">=3.9", -) diff --git a/sdk/workloads/azure-mgmt-workloads/pyproject.toml b/sdk/workloads/azure-mgmt-workloads/pyproject.toml index 540da07d41af..62e41ce38ae5 100644 --- a/sdk/workloads/azure-mgmt-workloads/pyproject.toml +++ b/sdk/workloads/azure-mgmt-workloads/pyproject.toml @@ -1,6 +1,83 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-workloads" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Workloads Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +requires-python = ">=3.7" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.workloads._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-workloads" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Workloads Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +title = "WorkloadsClient" diff --git a/sdk/workloads/azure-mgmt-workloads/sdk_packaging.toml b/sdk/workloads/azure-mgmt-workloads/sdk_packaging.toml deleted file mode 100644 index 42416cf4d836..000000000000 --- a/sdk/workloads/azure-mgmt-workloads/sdk_packaging.toml +++ /dev/null @@ -1,10 +0,0 @@ -[packaging] -package_name = "azure-mgmt-workloads" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Workloads Management" -package_doc_id = "" -is_stable = false -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -title = "WorkloadsClient" diff --git a/sdk/workloads/azure-mgmt-workloads/setup.py b/sdk/workloads/azure-mgmt-workloads/setup.py deleted file mode 100644 index 94a302591e45..000000000000 --- a/sdk/workloads/azure-mgmt-workloads/setup.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/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. -#-------------------------------------------------------------------------- - -import re -import os.path -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-workloads" -PACKAGE_PPRINT_NAME = "Workloads Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace('-', '/') -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace('-', '.') - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') - if os.path.exists(os.path.join(package_folder_path, 'version.py')) - else os.path.join(package_folder_path, '_version.py'), 'r') as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError('Cannot find version information') - -with open('README.md', encoding='utf-8') as f: - readme = f.read() -with open('CHANGELOG.md', encoding='utf-8') as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=readme + '\n\n' + changelog, - long_description_content_type='text/markdown', - license='MIT License', - author='Microsoft Corporation', - author_email='azpysdkhelp@microsoft.com', - url='https://github.com/Azure/azure-sdk-for-python', - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - 'Development Status :: 4 - Beta', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'License :: OSI Approved :: MIT License', - ], - zip_safe=False, - packages=find_packages(exclude=[ - 'tests', - # Exclude packages that will be covered by PEP420 or nspkg - 'azure', - 'azure.mgmt', - ]), - include_package_data=True, - package_data={ - 'pytyped': ['py.typed'], - }, - install_requires=[ - "msrest>=0.7.1", - "azure-common~=1.1", - "azure-mgmt-core>=1.3.2,<2.0.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7" -) diff --git a/sdk/workloads/azure-mgmt-workloadssapvirtualinstance/pyproject.toml b/sdk/workloads/azure-mgmt-workloadssapvirtualinstance/pyproject.toml index 540da07d41af..97908c14cb9a 100644 --- a/sdk/workloads/azure-mgmt-workloadssapvirtualinstance/pyproject.toml +++ b/sdk/workloads/azure-mgmt-workloadssapvirtualinstance/pyproject.toml @@ -1,6 +1,85 @@ +[build-system] +requires = [ + "setuptools>=77.0.3", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "azure-mgmt-workloadssapvirtualinstance" +authors = [ + { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, +] +description = "Microsoft Azure Workloadssapvirtualinstance Management Client Library for Python" +license = "MIT" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +requires-python = ">=3.8" +keywords = [ + "azure", + "azure sdk", +] +dependencies = [ + "isodate>=0.6.1", + "typing-extensions>=4.6.0", + "azure-common>=1.1", + "azure-mgmt-core>=1.3.2", +] +dynamic = [ + "version", + "readme", +] + +[project.urls] +repository = "https://github.com/Azure/azure-sdk-for-python" + [tool.azure-sdk-build] breaking = false mypy = false pyright = false type_check_samples = false verifytypes = false + +[tool.setuptools.dynamic.version] +attr = "azure.mgmt.workloadssapvirtualinstance._version.VERSION" + +[tool.setuptools.dynamic.readme] +file = [ + "README.md", + "CHANGELOG.md", +] +content-type = "text/markdown" + +[tool.setuptools.packages.find] +exclude = [ + "tests", + "azure", + "azure.mgmt", +] + +[tool.setuptools.package-data] +pytyped = [ + "py.typed", +] + +[packaging] +package_name = "azure-mgmt-workloadssapvirtualinstance" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Workloadssapvirtualinstance Management" +package_doc_id = "" +is_stable = true +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true +sample_link = "" +exclude_folders = "" +title = "WorkloadsSapVirtualInstanceMgmtClient" diff --git a/sdk/workloads/azure-mgmt-workloadssapvirtualinstance/sdk_packaging.toml b/sdk/workloads/azure-mgmt-workloadssapvirtualinstance/sdk_packaging.toml deleted file mode 100644 index f0c65b1c0b4b..000000000000 --- a/sdk/workloads/azure-mgmt-workloadssapvirtualinstance/sdk_packaging.toml +++ /dev/null @@ -1,12 +0,0 @@ -[packaging] -package_name = "azure-mgmt-workloadssapvirtualinstance" -package_nspkg = "azure-mgmt-nspkg" -package_pprint_name = "Workloadssapvirtualinstance Management" -package_doc_id = "" -is_stable = true -is_arm = true -need_msrestazure = false -need_azuremgmtcore = true -sample_link = "" -exclude_folders = "" -title = "WorkloadsSapVirtualInstanceMgmtClient" diff --git a/sdk/workloads/azure-mgmt-workloadssapvirtualinstance/setup.py b/sdk/workloads/azure-mgmt-workloadssapvirtualinstance/setup.py deleted file mode 100644 index bad35d089fb8..000000000000 --- a/sdk/workloads/azure-mgmt-workloadssapvirtualinstance/setup.py +++ /dev/null @@ -1,83 +0,0 @@ -#!/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. -# -------------------------------------------------------------------------- - -import re -import os.path -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-workloadssapvirtualinstance" -PACKAGE_PPRINT_NAME = "Workloadssapvirtualinstance Management" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") -# a-b-c => a.b.c -namespace_name = PACKAGE_NAME.replace("-", ".") - -# Version extraction inspired from 'requests' -with open( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py"), - "r", -) as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", encoding="utf-8") as f: - readme = f.read() -with open("CHANGELOG.md", encoding="utf-8") as f: - changelog = f.read() - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), - long_description=readme + "\n\n" + changelog, - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python", - keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.mgmt", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate>=0.6.1", - "typing-extensions>=4.6.0", - "azure-common>=1.1", - "azure-mgmt-core>=1.3.2", - ], - python_requires=">=3.8", -)