Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions mypy.ini

This file was deleted.

4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

BLACK_VERSION = "black==23.12.1"
ISORT_VERSION = "isort==5.13.2"
LINT_PATHS = ["google", "tests", "noxfile.py", "setup.py"]
LINT_PATHS = ["google", "tests", "noxfile.py"]

SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
Expand Down Expand Up @@ -71,7 +71,7 @@ def lint(session):
"--non-interactive",
"--show-traceback",
)
# verify that setup.py is valid
# verify that pyproject.toml is valid
session.run("python", "-m", "build", "--sdist")
session.run("twine", "check", "--strict", "dist/*")

Expand Down
84 changes: 84 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
description = "A Python client library for connecting securely to your Google Cloud AlloyDB instances."
name = "google-cloud-alloydb-connector"
authors = [{ name = "Google LLC", email = "[email protected]" }]
license = { text = "Apache 2.0" }
requires-python = ">=3.9"
readme = "README.md"
classifiers = [
# Should be one of:
# "Development Status :: 3 - Alpha"
# "Development Status :: 4 - Beta"
# "Development Status :: 5 - Production/Stable"
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"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",
"Operating System :: OS Independent",
]
dependencies = [
"aiofiles",
"aiohttp",
"cryptography>=42.0.0",
"requests",
"google-auth",
"protobuf",
"google-cloud-alloydb",
"google-api-core",
]
dynamic = ["version"]

[project.urls]
Homepage = "https://github.com/GoogleCloudPlatform/alloydb-python-connector"
Repository = "https://github.com/GoogleCloudPlatform/alloydb-python-connector.git"
Issues = "https://github.com/GoogleCloudPlatform/alloydb-python-connector/issues"
Changelog = "https://github.com/GoogleCloudPlatform/alloydb-python-connector/blob/main/CHANGELOG.md"

[project.optional-dependencies]
pg8000 = ["pg8000>=1.31.1"]
asyncpg = ["asyncpg>=0.30.0"]

[tool.setuptools.dynamic]
version = { attr = "google.cloud.alloydb.connector.version.__version__" }

[tool.setuptools.package-data]
"google.cloud.alloydb.connector" = ["py.typed"]

[tool.setuptools.packages.find]
# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
include = ["google*"]

[tool.mypy]
python_version = "3.9"
namespace_packages = true
ignore_missing_imports = true
warn_unused_configs = true
exclude = ['docs/*', 'samples/*']

[tool.pytest.ini_options]
asyncio_mode = "auto"
15 changes: 0 additions & 15 deletions setup.cfg

This file was deleted.

88 changes: 0 additions & 88 deletions setup.py

This file was deleted.

15 changes: 0 additions & 15 deletions tests/pytest.ini

This file was deleted.