Skip to content

Commit

Permalink
try purelib
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSJohnson committed Aug 8, 2024
1 parent 757270e commit 824519a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,9 @@ def make_launch_script(self):
launch_script = os.path.join(self.install_scripts, launch_script)

python_exe = os.path.abspath(sys.executable)
site_packages_dir = sysconfig.get_path('purelib')
pymol_file = self.unchroot(
os.path.join(self.install_libbase, "pymol", "__init__.py")
os.path.join(site_packages_dir, "pymol", "__init__.py")
)
pymol_path = self.unchroot(self.pymol_path)

Expand Down

0 comments on commit 824519a

Please sign in to comment.