From bbc12e70c4fdb2d4534cdf04089f2f3e098580e0 Mon Sep 17 00:00:00 2001 From: Jeremy Reizenstein Date: Tue, 22 Jun 2021 12:38:36 -0700 Subject: [PATCH] Fix build for package_data Summary: include_package_data does not work well in the presence of built extensions, and the OSS build hasn't been working for a few days since #593 was merged. Reviewed By: patricklabatut Differential Revision: D29302315 fbshipit-source-id: db7e46f8c4593743c3522087979592f9989c7c6b --- MANIFEST.in | 3 --- setup.py | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index a0d6ffee..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,3 +0,0 @@ -include pytorch3d/datasets/shapenet/shapenet_synset_dict_v1.json -include pytorch3d/datasets/shapenet/shapenet_synset_dict_v2.json -include pytorch3d/datasets/r2n2/r2n2_synset_dict.json diff --git a/setup.py b/setup.py index 18f04292..6a1f762f 100755 --- a/setup.py +++ b/setup.py @@ -146,5 +146,7 @@ setup( }, ext_modules=get_extensions(), cmdclass={"build_ext": BuildExtension}, - include_package_data=True, + package_data={ + "": ["*.json"], + }, )