Skip to main content

distutils extension module - create an installer by InnoSetup.

Project description

(“.. -- restructuredtext --nnA Python innosetup libraryn==========================nndistutils extension module - create an installer by InnoSetup.n————————————————————–nnRequirementsn————nn* Python 2.5 or latern* py2exen* pywin32n* InnoSetupnnFeaturesn——–nn* You can use your customized InnoSetup Script.n* installer metadata over setup() metadatan* generate AppId(GUID) from setup() metadatan See the innosetup.InnoScript.appid property.n* bundle exe and com dll and dependent libs and resourcesn* bundle msvcr and mfc and their manifestn* bundle all installed InnoSetup’s language filen (If there is no valid [Languages] section.)n* create windows exe’s shortcutn* register com_server and servicen* check the Windows version with Python versionn* fix a problem py2exe.mf misses some modules (ex. win32com.shell)nnExamplen——-n::nn from distutils.core import setupn import py2exe, innosetupnn # All options are same as py2exe options.n setup(n name=’example’,n version=’1.0.0.0’,n license=’PSF or other’,n author=’you’,n author_email=’you@your.domain’,n description=’description’,n url=’http://www.your.domain/example’, # generate AppId from this urln options={n ‘py2exe’: {n # innosetup gets the py2exe’s options.n ‘compressed’: True,n ‘optimize’: 2,n ‘bundle_files’: 3,n },n ‘innosetup’: {n # user defined iss file path or iss stringn ‘inno_script’: innosetup.DEFAULT_ISS, # default is ‘’n # bundle msvc filesn ‘bundle_vcr’: True, # default is Truen # zip setup filen ‘zip’: False, # default is False, bool() or zip file namen # create shortcut to startup if you want.n ‘regist_startup’: True, # default is Falsen }n },n com_server=[n {‘modules’: [‘your_com_server_module’], ‘create_exe’: False},n ],n # and other metadata …n )nnDo the command setup.py innosetup.nThen you get InnoSetup script file named dist\distutils.iss andnthe installation file named dist\<name>-<version>.exe.n”,)

Changes

0.6.5

  • move download url to github.

0.6.4

  • move repository to github.

  • add a setup.py script.

0.6.3

  • change versioning policy (remove build number).

  • add utf-8 bom to .iss file by Jerome Ortais, thanx.

  • pick up COPYING file for [setup]/LicenseFile by Jerome Ortais, thanx.

0.6.0.2

  • add regist_startup option for create shortcut to startup.

0.6.0.1

  • fix metadata and unicode by surgo, thanx.

  • set DEFAULT_ISS to empty because Inno Setup 5.3.9 is released.

  • fix a problem that py2exe includes MinWin’s ApiSet Stub DLLs on Windows 7.

0.6.0.0

  • support bundling tcl files

  • change OutputBaseFilename

0.5.0.1

  • improve update install support

0.5.0.0

  • add DEFAULT_ISS, manifest, srcname, srcnames

  • add zip option

  • fix bundle_files=1 option problem (always bundle pythonXX.dll)

  • add DefaultGroupName, InfoBeforeFile, LicenseFile into [Setup] section

0.4.0.0

  • support service cmdline_style options

  • rewrite codes around iss file

0.3.0.0

  • improve the InnoSetup instllation path detection

  • add inno_setup_exe option

0.2.0.0

  • handle py2exe’s command options

  • add bundle_vcr option

0.1.0.0

  • first release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

innosetup-0.6.5.zip (11.6 kB view details)

Uploaded Source

File details

Details for the file innosetup-0.6.5.zip.

File metadata

  • Download URL: innosetup-0.6.5.zip
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for innosetup-0.6.5.zip
Algorithm Hash digest
SHA256 6a1122d509fdcf5c8c005ba51edbb54114b7cb589a1c8e50ebdcf13f55f196e3
MD5 300d3f679f45ede73de69885c7eff577
BLAKE2b-256 7e3b2a8e4278230a4178f453cea8c10aca90132bb5b71ae003f85a25362da4f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page