Files
nixpkgs/pkgs/by-name/py/pymol/script-already-exists.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

24 lines
832 B
Diff

diff --git a/setup.py b/setup.py
index 507dd32d..bf258897 100644
--- a/setup.py
+++ b/setup.py
@@ -435,9 +435,6 @@ class install_pymol(install):
super().run()
self.install_pymol_path()
- if not self.no_launcher:
- self.make_launch_script()
-
if self.bundled_pmw:
raise Exception(
"--bundled-pmw has been removed, please install Pmw from "
@@ -487,7 +484,7 @@ class install_pymol(install):
launch_script = os.path.join(self.install_scripts, launch_script)
python_exe = os.path.abspath(sys.executable)
- site_packages_dir = sysconfig.get_path('purelib')
+ site_packages_dir = sysconfig.get_path("purelib")
pymol_file = self.unchroot(
os.path.join(site_packages_dir, "pymol", "__init__.py")
)