https://github.com/refi64/bluesnow
Package your Python applications into a single script
https://github.com/refi64/bluesnow
Last synced: about 1 year ago
JSON representation
Package your Python applications into a single script
- Host: GitHub
- URL: https://github.com/refi64/bluesnow
- Owner: refi64
- License: bsd-2-clause
- Created: 2017-11-06T22:37:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T00:24:52.000Z (about 8 years ago)
- Last Synced: 2025-03-25T05:06:45.323Z (about 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
bluesnow
========
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``:
.. code-block:: python
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.