Skip to content

chore: add setup.py for library_generation #2447

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 8, 2024

Conversation

diegomarquezp
Copy link
Contributor

Python sources in library_generation are imported via

import library_generation.utilities as util
from library_generation.generate_composed_library import generate_composed_library
from library_generation.model.generation_config import from_yaml

This setup.py can be used via python -m pip install . so running something like cd library_generation && python generate_repo.py can detect the library_generation package.

@diegomarquezp diegomarquezp requested a review from a team as a code owner February 7, 2024 22:42
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Feb 7, 2024
Base automatically changed from feat/generate_repo to main February 7, 2024 22:51
@diegomarquezp diegomarquezp force-pushed the library_generation-python-package branch from e46c9c4 to 4f87f90 Compare February 8, 2024 18:02
Copy link

sonarqubecloud bot commented Feb 8, 2024

Quality Gate Passed Quality Gate passed for 'gapic-generator-java-root'

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@diegomarquezp diegomarquezp enabled auto-merge (squash) February 8, 2024 18:12
Copy link

sonarqubecloud bot commented Feb 8, 2024

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@diegomarquezp diegomarquezp merged commit 2f5a5c8 into main Feb 8, 2024
@diegomarquezp diegomarquezp deleted the library_generation-python-package branch February 8, 2024 18:15
ddixit14 pushed a commit that referenced this pull request Feb 15, 2024
Python sources in `library_generation` are imported via

https://github.com/googleapis/sdk-platform-java/blob/c1ef755b4d73bdf8fdac6f86cb10834e920c9c43/library_generation/generate_repo.py#L17-L19

This `setup.py` can be used via `python -m pip install .` so running
something like `cd library_generation && python generate_repo.py` can
detect the `library_generation` _package_.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants