Skip to content

Commit 81020af

Browse files
authored
chore: update generated MANIFEST.in (#2378)
1 parent 8213b9d commit 81020af

File tree

8 files changed

+155
-16
lines changed

8 files changed

+155
-16
lines changed

gapic/templates/MANIFEST.in.j2

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
recursive-include {{ '/'.join(api.naming.module_namespace + (api.naming.module_name,)) }} *.py
2-
recursive-include {{ '/'.join(api.naming.module_namespace + (api.naming.versioned_module_name,)) }} *.py
1+
{% extends "_base.py.j2" %}
2+
3+
{% block content %}
4+
5+
include README.rst LICENSE
6+
{% if api.naming.module_namespace %}
7+
recursive-include {{ api.naming.module_namespace[0] }} *.py *.pyi *.json *.proto py.typed
8+
{% else %}
9+
recursive-include {{ api.naming.versioned_module_name }} *.py *.pyi *.json *.proto py.typed
10+
{% endif %}
11+
recursive-include tests *
12+
global-exclude *.py[co]
13+
global-exclude __pycache__
14+
15+
{% endblock %}
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
1-
recursive-include google/cloud/asset *.py
2-
recursive-include google/cloud/asset_v1 *.py
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
include README.rst LICENSE
17+
recursive-include google *.py *.pyi *.json *.proto py.typed
18+
recursive-include tests *
19+
global-exclude *.py[co]
20+
global-exclude __pycache__
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
1-
recursive-include google/iam/credentials *.py
2-
recursive-include google/iam/credentials_v1 *.py
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
include README.rst LICENSE
17+
recursive-include google *.py *.pyi *.json *.proto py.typed
18+
recursive-include tests *
19+
global-exclude *.py[co]
20+
global-exclude __pycache__
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
1-
recursive-include google/cloud/eventarc *.py
2-
recursive-include google/cloud/eventarc_v1 *.py
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
include README.rst LICENSE
17+
recursive-include google *.py *.pyi *.json *.proto py.typed
18+
recursive-include tests *
19+
global-exclude *.py[co]
20+
global-exclude __pycache__
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
1-
recursive-include google/cloud/logging *.py
2-
recursive-include google/cloud/logging_v2 *.py
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
include README.rst LICENSE
17+
recursive-include google *.py *.pyi *.json *.proto py.typed
18+
recursive-include tests *
19+
global-exclude *.py[co]
20+
global-exclude __pycache__
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
1-
recursive-include google/cloud/logging *.py
2-
recursive-include google/cloud/logging_v2 *.py
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
include README.rst LICENSE
17+
recursive-include google *.py *.pyi *.json *.proto py.typed
18+
recursive-include tests *
19+
global-exclude *.py[co]
20+
global-exclude __pycache__
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
1-
recursive-include google/cloud/redis *.py
2-
recursive-include google/cloud/redis_v1 *.py
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
include README.rst LICENSE
17+
recursive-include google *.py *.pyi *.json *.proto py.typed
18+
recursive-include tests *
19+
global-exclude *.py[co]
20+
global-exclude __pycache__
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
1-
recursive-include google/cloud/redis *.py
2-
recursive-include google/cloud/redis_v1 *.py
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
include README.rst LICENSE
17+
recursive-include google *.py *.pyi *.json *.proto py.typed
18+
recursive-include tests *
19+
global-exclude *.py[co]
20+
global-exclude __pycache__

0 commit comments

Comments
 (0)