create account

pyinstaller - Build standalone binaries from Python code by l0k1

View this thread on: hive.blogpeakd.comecency.com
· @l0k1 · (edited)
$2.50
pyinstaller - Build standalone binaries from Python code
I just stumbled on this while wondering whether there was a thing to compile full binary packages from Python source. Et voila:
 
http://www.pyinstaller.org

Well, I don't know if it runs code faster but it makes running it and distributing it easier.

From the webpage:

## Features

* Packaging of Python programs into standard executables, that work on computers without Python installed.
* Multiplatform: works under
  * Windows (32-bit and 64-bit),
  * Linux (32-bit and 64-bit),
  * Mac OS X (32-bit and 64-bit),
  * contributed suppport for FreeBSD, Solaris and AIX.
* Multiversion: supports Python 2.7 and Python 3.3, 3.4 and 3.5.
* Flexible packaging mode:
  * Single directory: build a directory containing an executable plus all the external binary modules (.dll, .pyd, .so) used by the program.
  * Single file: build a single executable file, totally self-contained, which runs without any external dependency.
  * Custom: you can automate PyInstaller to do whatever packaging mode you want through a simple script file in Python.
* Explicit intelligent support for many 3rd-packages (for hidden imports, external data files, etc.), to make them work with PyInstaller out-of-the-box (see Supported Packages).
* Full egg support: required .egg files are automatically inspected for dependencies and bundled, and all the egg-specific features are supported at runtime as well (entry points, etc.).
* Automatic support for binary libraries used through ctypes (see the feature page for details).
* Support for automatic binary packing through the well-known UPX compressor.
* Optional console mode (see standard output and standard error at runtime).
### Windows-specific features

* Support for code-signing executables.
* Full automatic support for CRTs: no need to manually distribute MSVCR*.DLL, redist installers, manifests, or anything else; true one-file applications that work everywhere!
* Selectable executable icon.
* Fully configurable version resource section and manifests in executable.
### Mac-specific features

* Support for bundles


<hr />

## *We can't stop here! This is Whale country!*<div class="pull-left">http://s20.postimg.org/igf27v79p/signature_new_small.png</div>

<sub>Loki was born in Australia, now is wandering Amsterdam again after 9 months in Sofia, Bulgaria. IT generalist, physics theorist, futurist and cyber-agorist. Loki's life mission is to establish a secure, distributed layer atop the internet, and enable space migration, preferably while living in a beautiful mountain house somewhere with a good woman, and lots of farm animals and gardens, where he can also go hunting and camping.</sub>

<sub>*I'm a thoughtocaster, a conundrummer in a band called Life Puzzler. I've flipped more lids than a monkey in a soup kitchen, of the **mind**.* - Xavier, Renegade Angel</sub>

    *
> <sub>*All images in the above post are either original from me, or taken from Google Image Search, filtered for the right of reuse and modification, and either hotlinked directly, or altered by me*
<a target='_blank' href='https://postimage.org/'>Uploaded images hosted at postimg.org</a></sub>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 167 others
properties (23)
authorl0k1
permlinkpyinstaller-build-standalone-binaries-from-python-code-2016117t171951761z
categorypython
json_metadata{"links":["http://www.pyinstaller.org","https://postimage.org/"],"image":["http://s20.postimg.org/igf27v79p/signature_new_small.png"],"tags":["python","development"],"custom":{"app":"esteem","version":"1.3.0"}}
created2016-11-07 16:19:57
last_update2016-11-07 16:35:39
depth0
children5
last_payout2016-12-08 21:41:21
cashout_time1969-12-31 23:59:59
total_payout_value1.908 HBD
curator_payout_value0.587 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,130
author_reputation94,800,257,230,993
root_title"pyinstaller - Build standalone binaries from Python code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,707,011
net_rshares16,665,887,871,535
author_curate_reward""
vote details (231)
@better ·
Hello @l0k1,

It gives us pleasure to inform you that this post have been upvoted by Project Better.

The Mission of Project Better is to reward posts have many votes from Minnows but earn pennies. 
Your payout is $0.011 before we vote on your post.

Learn more about the [Project Better here!](https://steemit.com/robots/@better/better-07-11-2016) ,
Want to donate your voting power to support Project Better and earn curation rewards? [Click Here!](https://steemstreet.com/)

We hope to see you continuing to post some great stuff on Steemit!

Good luck!

~BETTER~
👍  ,
properties (23)
authorbetter
permlinkre-pyinstaller-build-standalone-binaries-from-python-code-2016117t171951761z
categorypython
json_metadata""
created2016-11-07 16:49:03
last_update2016-11-07 16:49:03
depth1
children0
last_payout2016-12-08 21:41:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length566
author_reputation15,710,539,597,279
root_title"pyinstaller - Build standalone binaries from Python code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,707,195
net_rshares28,406,644,255
author_curate_reward""
vote details (2)
@cheetah ·
Hi! I am a content-detection robot. I found similar content that readers might be interested in:
http://www.pyinstaller.org/
👍  , , ,
properties (23)
authorcheetah
permlinkre-pyinstaller-build-standalone-binaries-from-python-code-2016117t171951761z-20161107t162025
categorypython
json_metadata""
created2016-11-07 16:20:27
last_update2016-11-07 16:20:27
depth1
children0
last_payout2016-12-08 21:41:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length124
author_reputation942,693,160,055,713
root_title"pyinstaller - Build standalone binaries from Python code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,707,015
net_rshares16,735,441,671
author_curate_reward""
vote details (4)
@faddat ·
I did not know about this till now.  Thank you!
👍  
properties (23)
authorfaddat
permlinkre-l0k1-pyinstaller-build-standalone-binaries-from-python-code-2016117t171951761z-20161107t172654654z
categorypython
json_metadata{"tags":["python"]}
created2016-11-07 17:26:21
last_update2016-11-07 17:26:21
depth1
children1
last_payout2016-12-08 21:41:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length47
author_reputation36,581,868,473,026
root_title"pyinstaller - Build standalone binaries from Python code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,707,431
net_rshares26,295,109,828
author_curate_reward""
vote details (1)
@l0k1 ·
I learned of it back in 2013 but I'd forgotten. When I started looking at what was involved in my hypothetical steem email system built out of bitmessage and it's python, then piston for interacting with the blockchain, and bittorrent for enabling file sharing... every part can be built from a python app that already exists.
properties (22)
authorl0k1
permlinkre-faddat-re-l0k1-pyinstaller-build-standalone-binaries-from-python-code-2016117t171951761z-20161107t174511212z
categorypython
json_metadata{"tags":["python"]}
created2016-11-07 17:45:12
last_update2016-11-07 17:45:12
depth2
children0
last_payout2016-12-08 21:41:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length326
author_reputation94,800,257,230,993
root_title"pyinstaller - Build standalone binaries from Python code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,707,533
net_rshares0
@linkback-bot-v0 ·
This post has been linked to from another place on Steem.


  - [Advanced Steem Metrics Report for 7th November 2016](https://steemit.com/steemit/@ontofractal/advanced-steem-metrics-report-for-7th-november-2016) by @ontofractal

  - [The Daily Tribune: Most Undervalued Posts of Nov 07 - Part II](https://steemit.com/curation/@screenname/the-daily-tribune-most-undervalued-posts-of-nov-07---part-ii) by @screenname




Learn more about and upvote to support [**linkback bot v0.5**](https://steemit.com/steemit/@ontofractal/steem-linkback-bot-v0-5-the-reddit-awareness-release). Flag this comment if you don't want the bot to continue posting linkbacks for your posts.

Built by @ontofractal
properties (22)
authorlinkback-bot-v0
permlinkre-l0k1-pyinstaller-build-standalone-binaries-from-python-code-2016117t171951761z-linkbacks
categorypython
json_metadata{}
created2016-11-08 18:22:00
last_update2016-11-08 18:22:00
depth1
children0
last_payout2016-12-08 21:41:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length691
author_reputation1,915,954,976,722
root_title"pyinstaller - Build standalone binaries from Python code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,723,664
net_rshares0