Skip to main content

Make TurboGears project to the Stand Alone Windows Application

Project description

tg2exe is a "tg-admin" command line utility extension
which could help you converting the TurboGears project to an
Stand Alone Application on windows platform.

Advantage
--------------
The benifit is you can use TurboGears' power to write Off Line applications with web interface
and AJAX.

When the application is running, your computer host as a web server (Actually it is).

Your user can quickly evaluate your application without install python or related modules.

Install
--------------
You could use::

$ easy_install tg2exe

command to install this module

pywin32 is required
http://sourceforge.net/projects/pywin32/

Usage
----------
Once you installed tg2exe, you'll got an 'makexe' command within the "tg-admin" command line utility.

Enter your project folder, type::

tg-admin makexe

and tg2exe will produce a dist folder for you.

This utility does not make an *.exe, it assembles all the dependencies and runtime libraries into a single directory,
so that it's easy to wrap everything into a single setup package.

You are free to package 'dist' folder into an installer (such as InnoSetup).

Notice that the stand alone file are equivalent to production project,
so you need to have a setted prod.cfg. The simple approach is to rename the sample-prod.cfg to prod.cfg.

Note
-----------
The owe is its distribution size. The raw dist with quickstart project is about 30 MB (Zip size is 11 MB).

The bottleneck are the redundant third party modules. IMHO, Half-size distribution is possible with future TurboGears version.

Current Stage: make it work

(next stages are make it better, then make it small)

Credit
------------
tg2exe is based on the script written by Volodymyr Orlenko,
he post the original script on TurboGears MailList in Jul 2006.

If you have any question, please go to google turbogears group.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tg2exe-0.1-py2.4.egg (26.6 kB view details)

Uploaded Source

File details

Details for the file tg2exe-0.1-py2.4.egg.

File metadata

  • Download URL: tg2exe-0.1-py2.4.egg
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tg2exe-0.1-py2.4.egg
Algorithm Hash digest
SHA256 fd57d069e7ec369f4a9f7d9601ac8645ed8de1218e7e506fe6b1bb30d9545586
MD5 e9af359e517fb46fab48f69524800d8e
BLAKE2b-256 adf10f88d797f74b6a1a0302ce08abfd8c2142fe6a712061c28c0db237077a14

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