From dacd9e25d0633869c3a893b11f364956c5eca0c3 Mon Sep 17 00:00:00 2001 From: Anish Kanthamneni Date: Sat, 13 Jan 2024 14:35:23 -0500 Subject: [PATCH] Add MANIFEST.in file to help with rust binary distribution --- .github/workflows/python-publish.yml | 1 + MANIFEST.in | 2 ++ setup.py | 1 + 3 files changed, 4 insertions(+) create mode 100644 MANIFEST.in diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index bdaab28..f0708cc 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -11,6 +11,7 @@ name: Upload Python Package on: release: types: [published] + workflow_dispatch: permissions: contents: read diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..3316e0f --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include pygrab/rust_dependencies/rust_lib.so +include pygrab/rust_dependencies/rust_lib.dll \ No newline at end of file diff --git a/setup.py b/setup.py index dd2d85c..469eee7 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,7 @@ author='Anish Kanthamneni', author_email='akneni@gmail.com', packages=find_packages(), + include_package_data=True, install_requires=[ 'requests', 'pyppeteer',