Skip to content

Commit

Permalink
fix: Fixed how template files are included in the library
Browse files Browse the repository at this point in the history
- Fixes #156
  • Loading branch information
holtskinner committed Aug 9, 2023
1 parent 91e9988 commit c3da29a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ global-exclude __pycache__

# Exclude scripts for samples readmegen
prune scripts/readme-gen

include google/cloud/documentai_toolbox/templates/*.xml.j2
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
namespace_packages=("google", "google.cloud"),
platforms="Posix; MacOS X; Windows",
include_package_data=True,
package_data={
"google.cloud.documentai_toolbox": ["templates/*.xml.j2"],
},
install_requires=(
"google-api-core >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",
"pandas >= 1.0.0, <3.0.0",
Expand Down

0 comments on commit c3da29a

Please sign in to comment.