Skip to content
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

Fix broken globs in example #15

Closed
wants to merge 1 commit into from
Closed

Conversation

jfly
Copy link
Contributor

@jfly jfly commented Jan 12, 2024

I was trying to follow the README, and found that these globs weren't actually matching any files, because they get prefixed with proto_path, so we were ending up with a glob that looked something like ./src/src/*.proto (which I assume was not the intent here).

I was trying to follow the README, and found that these globs weren't
actually matching any files, because [they get prefixed with
`proto_path`](https://github.com/CZ-NIC/setuptools-grpc/blob/0.5/setuptools_grpc/build_grpc.py#L43),
so we were ending up with a glob that looked something like
`./src/src/*.proto` (which I assume was not the intent here).
Copy link
Member

@stinovlas stinovlas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. The glob patterns are relative to proto_path because protoc requires all compiled files to be relative to proto_path. I'll just replace backticks with double backticks and merge it :-).

Thank you for fixing the documentation!

@stinovlas
Copy link
Member

Merged manually (while fixing backticks).

@stinovlas stinovlas closed this Jan 12, 2024
@jfly jfly deleted the fix-example branch January 12, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants