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()