be837bca6f
- Update to 2020.12.28 - The port does not install Python modules, therefore remove PKGNAMEPREFIX PR: 252287 Submitted by: (maintainer)
13 lines
417 B
Python
13 lines
417 B
Python
--- setup.py.orig 2020-12-29 15:45:52 UTC
|
|
+++ setup.py
|
|
@@ -81,7 +81,8 @@ def mkarchive(name, modules, main="__main__.py"):
|
|
main: Name of the main file. Defaults to __main__.py
|
|
"""
|
|
std = "__main__.py"
|
|
- shebang = b"#!/usr/bin/env python\n"
|
|
+ with open(sys.argv[0], "rb") as f:
|
|
+ shebang = f.readline()
|
|
if isinstance(modules, str):
|
|
modules = [modules]
|
|
if main != std:
|