distutils extension module - create an installer by InnoSetup.
Project description
distutils extension module - create an installer by InnoSetup.
Required
Python 2.5 or later
py2exe
pywin32 (win32all)
InnoSetup
Features
You can use your customized InnoSetup Script.
installer metadata over setup() metadata
AppId(GUID) from setup() metadata
bundle exe and com dll and dependent libs and resources
bundle msvcr and mfc and their manifest
bundle all installed InnoSetup’s language
create windows exe’s shortcut
register com_server and service
check the Windows version with Python version
fix a problem py2exe.mf misses some modules (ex. win32com.shell)
An example:
from distutils.core import setup import py2exe, innosetup setup_iss = ''' [Setup] Compression=lzma/ultra SolidCompression=yes ''' # All options are same as py2exe options. setup( name='example', version='1.0.0.0', license='PSF or other', author='you', author_email='you@your.domain', description='description', url='http://www.your.domain/example', # generate AppId from this url options={ 'innosetup': { # not py2exe # options from py2exe 'compressed': True, 'optimize': 2, 'bundle_files': 3, # user defined iss file path or iss string 'inno_script': setup_iss, } }, com_server=[ {'modules': ['your_com_server_module'], 'create_exe': False}, ], # and other metadata ... )
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file innosetup-0.1.0.0.zip
.
File metadata
- Download URL: innosetup-0.1.0.0.zip
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5967e339128e72bbeeaf763092f2185b80be1f1b6c304465ae311d2e205494c9 |
|
MD5 | d6da1dbd0533570841eb2e6c38706eae |
|
BLAKE2b-256 | bfa537b9b9c64854a14102ce31f90d626afe7197bbadc86926df703d2fd2bd2f |