Problem
Several build/packaging configuration files are .NET artifacts that don't belong in a Python project, and pyproject.toml has placeholder values blocking PyPI publication.
Files that need fixing
| File |
Problem |
src/pyproject.toml |
Project name is <TBD>, Documentation and Repository URLs empty |
global.json |
Pins .NET SDK 8.0.100 — irrelevant for Python project |
.editorconfig |
Configured for C# ([*.cs] sections, Allman braces, this. qualification rules) |
.github/instructions/connector-table.instructions.md |
References Generated/*Extensions.cs (C# file patterns) |
What needs to change
src/pyproject.toml — Complete metadata
` oml
[project]
name = "azure-connectors-sdk" # Was:
...
[project.urls]
Documentation = "https://github.com/Azure/connectors-python-sdk"
Repository = "https://github.com/Azure/connectors-python-sdk"
`
Also verify:
[tool.setuptools] packages value captures all subpackages (azure, azure.connectors, azure.connectors.sdk)
py.typed marker is included for PEP 561 typed package support
- Build backend (setuptools) is appropriate vs. alternatives (hatchling, flit)
global.json — Delete
This file locks .NET SDK version 8.0.100 and has no effect on Python tooling.
.editorconfig — Replace with Python rules
Replace C#-specific sections with Python equivalents:
`ini
[*.py]
indent_style = space
indent_size = 4
max_line_length = 120
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{json,yaml,yml,toml}]
indent_style = space
indent_size = 2
`
Remove all [*.cs], [*.csproj], [*.sln] sections.
.github/instructions/connector-table.instructions.md — Update for Python
Replace Generated/*Extensions.cs references with Python generated client file patterns.
Acceptance criteria
Problem
Several build/packaging configuration files are .NET artifacts that don't belong in a Python project, and
pyproject.tomlhas placeholder values blocking PyPI publication.Files that need fixing
src/pyproject.toml<TBD>, Documentation and Repository URLs emptyglobal.json.editorconfig[*.cs]sections, Allman braces,this.qualification rules).github/instructions/connector-table.instructions.mdGenerated/*Extensions.cs(C# file patterns)What needs to change
src/pyproject.toml— Complete metadata` oml
[project]
name = "azure-connectors-sdk" # Was:
...
[project.urls]
Documentation = "https://github.com/Azure/connectors-python-sdk"
Repository = "https://github.com/Azure/connectors-python-sdk"
`
Also verify:
[tool.setuptools]packagesvalue captures all subpackages (azure,azure.connectors,azure.connectors.sdk)py.typedmarker is included for PEP 561 typed package supportglobal.json— DeleteThis file locks .NET SDK version 8.0.100 and has no effect on Python tooling.
.editorconfig— Replace with Python rulesReplace C#-specific sections with Python equivalents:
`ini
[*.py]
indent_style = space
indent_size = 4
max_line_length = 120
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{json,yaml,yml,toml}]
indent_style = space
indent_size = 2
`
Remove all
[*.cs],[*.csproj],[*.sln]sections..github/instructions/connector-table.instructions.md— Update for PythonReplace
Generated/*Extensions.csreferences with Python generated client file patterns.Acceptance criteria
pyproject.tomlhas real package name (e.g.,azure-connectors-sdk), filled URLsglobal.jsondeleted.editorconfighas Python rules, no C# sectionsconnector-table.instructions.mdreferences Python filespython -m buildsucceeds fromsrc/directory