Skip to content

Commit

Permalink
Fix setuptools deprecation warnings related to importable files consi…
Browse files Browse the repository at this point in the history
…dered as data files (#1317)

Signed-off-by: Jean-Christophe Morin <jean_christophe_morin@hotmail.com>
  • Loading branch information
JeanChristopheMorinPerso committed Jul 8, 2022
1 parent 7bb083b commit f70200a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include README.md CHANGELOG.md LICENSE.txt NOTICE.txt CMakeLists.txt
recursive-include examples *
recursive-include contrib *
recursive-include src *

recursive-include tests *
prune .github
prune docs
prune doxygen
Expand All @@ -22,10 +22,9 @@ exclude contrib/opentimelineio_contrib/adapters/Makefile
exclude Makefile
exclude */.DS_Store
exclude .clang-format
global-exclude *.pyc

prune contrib/opentimelineio_contrib/adapters/tests
prune maintainers
prune tests
prune tsc
prune src/deps/pybind11/tools/clang
prune src/deps/rapidjson/thirdparty
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,12 @@ def test_otio():
],
},

include_package_data=True,
packages=(
find_packages(where="src/py-opentimelineio") +
find_packages(where="src") +
find_packages(where="contrib")
find_packages(where="src/py-opentimelineio") + # opentimelineio
find_packages(where="src") + # opentimelineview
find_packages(where="contrib", exclude=["opentimelineio_contrib.adapters.tests"]) # opentimelineio_contrib # noqa
),

ext_modules=[
CMakeExtension('_opentimelineio'),
CMakeExtension('_opentime'),
Expand Down

0 comments on commit f70200a

Please sign in to comment.