[geany/geany-plugins] de7082: Remove create_installer Waf command
Enrico Tröger
git-noreply at xxxxx
Sun Apr 13 13:41:14 UTC 2014
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun, 13 Apr 2014 13:41:14 UTC
Commit: de7082b6f3cea0d381601396ac6e64a597d67508
https://github.com/geany/geany-plugins/commit/de7082b6f3cea0d381601396ac6e64a597d67508
Log Message:
-----------
Remove create_installer Waf command
Installer creation/release process will be documented in the Wiki soon.
Modified Paths:
--------------
wscript
Modified: wscript
22 files changed, 0 insertions(+), 22 deletions(-)
===================================================================
@@ -39,7 +39,6 @@ Requires WAF 1.6.1 and Python 2.5 (or later).
import os
import tempfile
-from glob import glob
from waflib import Logs, Scripting, Utils
from waflib.Tools import c_preproc
from waflib.Errors import ConfigurationError
@@ -315,27 +314,6 @@ def write_linguas_file(self):
file_h.close()
-def create_installer(ctx):
- """create the Windows installer (maintainer and Win32 only)"""
- # must be called *after* everything has been installed
- do_sign = os.path.exists('sign.bat') # private file to sign the binary files, not needed
- def sign_binary(filename):
- if do_sign:
- ctx.exec_command('sign.bat %s' % filename)
-
- # strip all binaries
- Logs.pprint('CYAN', 'Stripping %sfiles' % ('and signing binary ' if do_sign else ''))
- install_dir = '%s-%s' % (APPNAME, VERSION) # should be ctx.env['G_PREFIX']
- files = glob(os.path.join(install_dir, 'lib', '*.dll'))
- files.append(os.path.join(install_dir, 'lib\geany-plugins\geanylua\libgeanylua.dll'))
- for filename in files: # sign the DLL files
- ctx.exec_command('strip %s' % filename)
- sign_binary(filename)
- # create the installer
- launch(ctx, 'makensis /V2 /NOCD build/geany-plugins.nsi', 'Creating the installer', 'CYAN')
- sign_binary('geany-plugins-%s_setup.exe' % VERSION)
-
-
def updatepo(ctx):
"""update the message catalogs for internationalization"""
potfile = '%s.pot' % APPNAME
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list