skip to navigation
skip to content

buildout.packager 0.0.1dev-r662

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

Downloads ↓

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

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.
 
File Type Py Version Uploaded on Size # downloads
buildout.packager-0.0.1dev-r662.zip (md5) Source 2010-04-10 26KB 466