https://github.com/orkohunter/python-freezing-example
An example of freezing a python library into bash programs
https://github.com/orkohunter/python-freezing-example
Last synced: 3 months ago
JSON representation
An example of freezing a python library into bash programs
- Host: GitHub
- URL: https://github.com/orkohunter/python-freezing-example
- Owner: OrkoHunter
- Created: 2015-11-21T22:03:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-21T22:21:43.000Z (over 9 years ago)
- Last Synced: 2025-01-13T04:27:17.392Z (5 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python-freezing-example
* Install with `python setup.py install`
* ```sh
$ foo
Foo was called!
$ bar
Bar was called!
```
## Things to remember
* `pyinstaller` can freeze one python script into a stand alone binary executable which can be executed by adding `./` prefix.
* Add the binary into one of your `$PATH` locations and the prefix is not required. That works as a program !
* `setuptools` provides the `entry_points` option for freezing a complete library. That's cool !