Add MANIFEST.in (#353)

This commit is contained in:
Haitham Khedr 2024-10-03 19:40:13 +02:00 committed by GitHub
parent 52198ead0e
commit 8bf0920e66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

7
MANIFEST.in Normal file
View File

@ -0,0 +1,7 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
recursive-include sam2 *.yaml #include all config files

View File

@ -165,7 +165,6 @@ setup(
author_email=AUTHOR_EMAIL, author_email=AUTHOR_EMAIL,
license=LICENSE, license=LICENSE,
packages=find_packages(exclude="notebooks"), packages=find_packages(exclude="notebooks"),
package_data={"": ["*.yaml"]}, # SAM 2 configuration files
include_package_data=True, include_package_data=True,
install_requires=REQUIRED_PACKAGES, install_requires=REQUIRED_PACKAGES,
extras_require=EXTRA_PACKAGES, extras_require=EXTRA_PACKAGES,