Skip to content

Commit

Permalink
add back the scripts to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Oct 21, 2018
1 parent 4990f18 commit d739113
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pyqt5_tools/entrypoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,15 @@ def pyqt5designer(
'',
))
)
env['PATH'] = (
os.pathsep.join((
str(pathlib.Path(sys.executable).parent),
env.get('PATH', ''),
'',
))
)

for name in ('PYQTDESIGNERPATH', 'PYTHONPATH'):
for name in ('PYQTDESIGNERPATH', 'PYTHONPATH', 'PATH'):
print('{}: {}'.format(name, env[name]))

command = [
Expand Down

0 comments on commit d739113

Please sign in to comment.