Skip to content

Commit 1797545

Browse files
authored
Merge pull request MartinSahlen#22 from teamanvyl/fix/allow-paths
Specify paths arg to PyInstaller for local imports
2 parents b2b54a7 + d04bedd commit 1797545

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cloudfn/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def build(file_name, python_version, production):
7373
base = [
7474
'pyinstaller', '../' + file_name, '-y', '-n', output_name(),
7575
'--clean', '--onedir',
76+
'--paths', '../',
7677
'--additional-hooks-dir', hooks_path(python_version, production),
7778
'--runtime-hook',
7879
hooks_path(python_version, production) + '/unbuffered.py',

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='pycloudfn',
5-
version='0.1.205',
5+
version='0.1.206',
66
description='GCP Cloud functions in python',
77
url='https://github.com/MartinSahlen/cloud-functions-python',
88
author='Martin Sahlen',

0 commit comments

Comments
 (0)