From 72e5df15ce63012f7d5c7781a51687e85a2cf63c Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Mon, 2 May 2022 05:23:30 -0400 Subject: [PATCH] fix: include tests directory (#103) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: include tests directory * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * rename README.md to README.rst * update path to README in setup.py Co-authored-by: Owl Bot --- MANIFEST.in | 9 +++++++-- README.md => README.rst | 0 owlbot.py | 1 + setup.py | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) rename README.md => README.rst (100%) diff --git a/MANIFEST.in b/MANIFEST.in index 0401118..e783f4c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -14,7 +14,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -include README.md LICENSE -recursive-include google *.json *.proto +# Generated by synthtool. DO NOT EDIT! +include README.rst LICENSE +recursive-include google *.json *.proto py.typed +recursive-include tests * global-exclude *.py[co] global-exclude __pycache__ + +# Exclude scripts for samples readmegen +prune scripts/readme-gen diff --git a/README.md b/README.rst similarity index 100% rename from README.md rename to README.rst diff --git a/owlbot.py b/owlbot.py index 07f6485..f28177a 100644 --- a/owlbot.py +++ b/owlbot.py @@ -63,6 +63,7 @@ s.move(templated_files / ".kokoro", excludes=["docs/**/*", "publish-docs.sh"]) s.move(templated_files / "setup.cfg") s.move(templated_files / "LICENSE") +s.move(templated_files / "MANIFEST.in") s.move(templated_files / ".github", excludes=["workflows"]) # Generate _pb2.py files and format them diff --git a/setup.py b/setup.py index 6703d89..49fddc5 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ package_root = os.path.abspath(os.path.dirname(__file__)) -readme_filename = os.path.join(package_root, "README.md") +readme_filename = os.path.join(package_root, "README.rst") with io.open(readme_filename, encoding="utf-8") as readme_file: readme = readme_file.read()