Permalink
Browse files

Remove create_installer Waf command

Installer creation/release process will be documented in the Wiki soon.
  • Loading branch information...
1 parent 87a31c2 commit de7082b6f3cea0d381601396ac6e64a597d67508 @eht16 eht16 committed Apr 13, 2014
Showing with 0 additions and 22 deletions.
  1. +0 −22 wscript
View
22 wscript
@@ -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

0 comments on commit de7082b

Please sign in to comment.