Skip to content

Commit

Permalink
Fixed invalid path to python scripts folder when installing via setup…
Browse files Browse the repository at this point in the history
….py install command
  • Loading branch information
lck committed Oct 29, 2014
1 parent dfc9233 commit 2f63d9b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions setup.py
Expand Up @@ -243,10 +243,7 @@ def run(self):
# for bdist_wininst to use) - in which case we must *not* run our
# installer
if not self.dry_run and not self.root:
if sys.platform == "win32":
filename = os.path.join(self.prefix, "Scripts", "pyside_postinstall.py")
else:
filename = os.path.join(self.prefix, "bin", "pyside_postinstall.py")
filename = os.path.join(self.install_scripts, "pyside_postinstall.py")
if not os.path.isfile(filename):
raise RuntimeError("Can't find '%s'" % (filename,))
print("Executing post install script '%s'..." % filename)
Expand Down

0 comments on commit 2f63d9b

Please sign in to comment.