Skip to content

Commit 17018ee

Browse files
committed
this installs the Makefile into the distro during pip install
- Also relaxes the python requirement to >=3.9
1 parent 161271e commit 17018ee

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

patchmatch/patch_match.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ def download_url_to_file(url, dst, hash_prefix=None, progress=True):
131131
import subprocess
132132
print('Compiling and loading c extensions from "{}".'.format(osp.realpath(osp.dirname(__file__))))
133133
# subprocess.check_call(['./travis.sh'], cwd=osp.dirname(__file__))
134+
print(f'DEBUG: cwd={osp.dirname(__file__)}')
134135
subprocess.check_call("make clean && make", cwd=osp.dirname(__file__), shell=True)
135136

136137

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@
1818
description='This library implements the PatchMatch based inpainting algorithm.',
1919
long_description=readme,
2020
long_description_content_type="text/markdown",
21+
package_data={'patchmatch': ['Makefile']},
2122
)

0 commit comments

Comments
 (0)