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.

Source Distribution

bluesnow-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file bluesnow-0.1.1.tar.gz.

File metadata

  • Download URL: bluesnow-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bluesnow-0.1.1.tar.gz
Algorithm Hash digest
SHA256 60c3f022cf1c26280d1bbf3bdda32e59ddd005a9470be3b8a4f7fff450ee8031
MD5 bb08b479f20277aec53ce59cea2f127f
BLAKE2b-256 0f0205f3af778f5f1a47f2e3a614a692b34470d021242c72fe9bc511cefe4383

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