Skip to main content

buildout.packager generate installer from setup.py and buildout.cfg files.

Project description

distutils extension module - create an buildout-based installer.

zc.buildout is a Python-based build system for creating, assembling and deploying applications from multiple parts, some of which may be non-Python-based. It lets you create a buildout configuration and reproduce the same software later. – http://www.buildout.org/

buildout.packager creates single-file installers for an buildout-environment along with all dependencies, which can be used without network access.

Requirements

  • Python 2.5 or later

  • InnoSetup for Windows installer

Dependencies

Features

  • You can create an installer reproducing zc.buildout environment.

  • installer metadata over setup() metadata

Limitations

  • The installer doesn’t bundle Python interpreter.

  • Not implemented for Unix environment.

An example

setup.py:

from setuptools import setup
setup(
    name='Sphinx',
    version='1.0',
)

buildout.cfg:

[buildout]
parts = app

[app]
recipe = zc.recipe.egg
eggs =
    Sphinx

Do the command python setup.py bdist_buildout. Then you get the installation file named distSphinx-1.0-py2.6-win32.exe.

History

0.0.1

  • first release

Todos

for Windows

  • use innosetup package

  • replace os.system with subprocess

for Unix

  • NotImplemented

Known Issues

  • Process restart probrem when zc.buildout upgrate it by oneself.

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

buildout.packager-0.0.1dev-r662.zip (26.8 kB view details)

Uploaded Source

File details

Details for the file buildout.packager-0.0.1dev-r662.zip.

File metadata

File hashes

Hashes for buildout.packager-0.0.1dev-r662.zip
Algorithm Hash digest
SHA256 6b4d4bfa5ac3c07cc6408d12c9d95e520044e364c40c83f00fcb4ce89072e9f9
MD5 e41e9eaf4c974497032f9241dad06964
BLAKE2b-256 f5b5f679612c2031649423d1379a8ab0fcf050f2b0809f2c293a729c1d5eb503

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