googleapis / googleapis/google-cloud-python

Consolidate setup.py boilerplate to a single source at the monorepo root.

Open
#17,325 0 comments 0 reactions 0 assignees View on GitHub
priority: p2 type: cleanup
Dominant language
Python
Stars
5.4k
Forks
1.8k
Avg merge
3d 4h
Merged PRs (30d)
122

Description

### Summary of the feature request

Consolidate setup.py boilerplate to a single source at the monorepo root.

**Current State**: 26 packages define this file.
**Similarity Profile**: 53.6% similarity, with a mean of 99 lines of code.

**Why it's a prime candidate**: A legacy boilerplate file containing package descriptors, classifiers, and python version constraints.

**Recommendation**:
Migrate package configurations to modern, declarative `pyproject.toml` files utilizing PEP 621.
Use a centralized build system script or setup generator (such as our `gapic-generator` templates) to cleanly manage and inherit common metadata attributes (like licensing, Python version classifiers, and author info) from a root-level configuration.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.