Python release fixes (#47)

* Use the correct Python package name for publishing packages

* Fix documentation bug

* Add service-level documentation, because Sphinx depends on a class docstring in the generated Python code. It generates a blank page otherwise.

* Ignore Eclipse files
This commit is contained in:
Brian J. Watson 2016-06-20 11:17:18 -07:00 committed by GitHub
parent 0487f76443
commit 996ca3e05b
6 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ OWNERS
README.google
google/internal
google/protobuf
.project

View File

@ -104,7 +104,7 @@ message LogEntryOperation {
// Required. An arbitrary producer identifier. The combination of
// `id` and `producer` must be globally unique. Examples for `producer`:
// `"MyDivision.MyBigCompany.com"`, "github.com/MyProject/MyApplication"`.
// `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
//
string producer = 2;

View File

@ -25,6 +25,8 @@ option java_outer_classname = "LoggingConfig";
option java_package = "com.google.logging.v2";
// Service for configuring sinks used to export log entries outside Stackdriver
// Logging.
service ConfigServiceV2 {
// Lists sinks.
rpc ListSinks(ListSinksRequest) returns (ListSinksResponse) {

View File

@ -4,7 +4,7 @@ language_settings:
java:
package_name: com.google.cloud.logging.spi.v2
python:
package_name: gcloud.logging
package_name: google.logging.v2
go:
package_name: google.golang.org/cloud/logging
csharp:

View File

@ -23,6 +23,7 @@ option java_multiple_files = true;
option java_package = "com.google.logging.v2";
// Service for configuring logs-based metrics.
service MetricsServiceV2 {
// Lists logs-based metrics.
rpc ListLogMetrics(ListLogMetricsRequest) returns (ListLogMetricsResponse) {

View File

@ -4,7 +4,7 @@ language_settings:
java:
package_name: com.google.cloud.pubsub.spi.v1
python:
package_name: gcloud.pubsub
package_name: google.pubsub.v1
go:
package_name: google.golang.org/cloud/pubsub
csharp: