mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-24 08:04:44 +00:00
Make codesigning on osx optional.
This commit is contained in:
parent
b67a94ce13
commit
d789d4baad
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
|
@ -283,7 +283,10 @@ def sign_the_code (dist_dir):
|
|||
app_dir = os.path.join(dist_dir, "%s.app" % AppName)
|
||||
args = ['codesign', '-s', myname, '-v', app_dir]
|
||||
print("*** signing the application code ***")
|
||||
subprocess.check_call(args)
|
||||
try:
|
||||
subprocess.check_call(args)
|
||||
except subprocess.CalledProcessError, msg:
|
||||
print("WARN: codesigning failed", msg)
|
||||
|
||||
|
||||
def add_msvc_files (files):
|
||||
|
|
|
|||
Loading…
Reference in a new issue