software-distribution

Create a single executable from a Python project

笑着哭i 提交于 2019-11-26 05:58:16
I want to create a single executable from my Python project. A user should be able to download and run it without needing Python installed. If I were just distributing a package, I could use pip, wheel, and PyPI to build and distribute it, but this requires that the user has Python and knows how to install packages. What can I use to build a self-contained executable from a Python project? Here are some common ones. Unless explicitly noted, all projects listed below are being actively maintained as of my last edit (August 2018). I've also included links to their respective websites, repos, and

Post-install script with Python setuptools

心已入冬 提交于 2019-11-26 05:49:12
问题 Is it possible to specify a post-install Python script file as part of the setuptools setup.py file so that a user can run the command: python setup.py install on a local project file archive, or pip install <name> for a PyPI project and the script will be run at the completion of the standard setuptools install? I am looking to perform post-install tasks that can be coded in a single Python script file (e.g. deliver a custom post-install message to the user, pull additional data files from a

Process to convert simple Python script into Windows executable [duplicate]

一曲冷凌霜 提交于 2019-11-26 03:48:57
问题 This question already has an answer here: Create a single executable from a Python project 2 answers I wrote a script that will help a Windows user in her daily life. I want to simply send her the .exe and not ask her to install python, dlls or have to deal with any additional files. I\'ve read plenty of the stackoverflow entries regarding compiling Python scripts into executable files. I am a bit confused as there are many options but some seem dated (no updates since 2008) and none were

Embed a JRE in a Windows executable?

好久不见. 提交于 2019-11-26 03:33:42
问题 Suppose I want to distribute a Java application. Suppose I want to distribute it as a single executable. I could easily build a .jar with both the application and all its external dependencies in a single file (with some Ant hacking). Now suppose I want to distribute it as an .exe file on Windows. That\'s easy enough, given the nice tools out there (such as Launch4j and the likes). But suppose now that I also don\'t want to depend on the end user having the right JRE (or any JRE at all for

What&#39;s the best way to distribute Java applications? [closed]

一曲冷凌霜 提交于 2019-11-26 01:38:52
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . Java is one of my programming languages of choice. I always run into the problem though of distributing my application to end-users. Giving a user a JAR is not always as user friendly as I would like and using Java WebStart requires that I maintain a web server. What\'s the

Create a single executable from a Python project

£可爱£侵袭症+ 提交于 2019-11-26 01:26:50
问题 I want to create a single executable from my Python project. A user should be able to download and run it without needing Python installed. If I were just distributing a package, I could use pip, wheel, and PyPI to build and distribute it, but this requires that the user has Python and knows how to install packages. What can I use to build a self-contained executable from a Python project? 回答1: Here are some common ones. Unless explicitly noted, all projects listed below are being actively