Skip to main content

Package your Python applications into a single script

Project description

BlueSnow is a basic tool powered by pip that packages your Python applications into a single script.

Note that, at the moment, custom package data is not supported.

Installation

$ pip install bluesnow

Usage via setup.py plugin

Put this in your setup.py:

try:
    import bluesnow
    cmdclass = bluesnow.setuptools_cmdclass
except ImportError:
    cmdclass = {}

setup(
    # Normal stuff here...
    cmdclass=cmdclass,
)

Now just run python setup.py bluesnow to compile your entry points. The results will be placed in the bluesnow-out directory.

Usage from command line

You can also use BlueSnow from the command line, e.g.:

$ bluesnow 'my_entry_point = my_module:my_function'

The entry points follow the standard entry point specification. Use bluesnow -h for more options.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
bluesnow-0.1.1.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page