Skip to content

Commit

Permalink
Merge pull request #68 from tlecomte/MacPython
Browse files Browse the repository at this point in the history
(py2app) fix the frameworks cleanup
  • Loading branch information
tlecomte authored Jan 23, 2018
2 parents 89de431 + 220ea5e commit 046082f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
# so we manually remove the unused Qt frameworks
if py2app_build:
print('*** Removing unused Qt frameworks ***')
framework_dir = dist_dir + './friture.app/Contents/Resources/lib/python3.6/PyQt5/Qt/lib/'
framework_dir = os.path.join(dist_dir, 'friture.app/Contents/Resources/lib/python3.6/PyQt5/Qt/lib')
frameworks = [
'QtDeclarative.framework',
'QtHelp.framework',
Expand Down Expand Up @@ -239,4 +239,4 @@
for framework in frameworks:
for root, dirs, files in os.walk(os.path.join(framework_dir, framework)):
for file in files:
os.remove(os.path.join(root,file))
os.remove(os.path.join(root, file))

0 comments on commit 046082f

Please sign in to comment.