-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
1,046 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# pyexe.exe | ||
|
||
[![Build status](https://ci.appveyor.com/api/projects/status/n18f0997k18x87lw/branch/master?svg=true)](https://ci.appveyor.com/project/manthey/pyexe/branch/master) | ||
|
||
I have often wanted a stand-alone version of python that would be a single Windows executable. This is my attempt to make a generally useful executable. | ||
|
||
It consists of the most recent versions of Python 2.7, pywin32, and psutil, and includes all packages that py2exe sensibly includes without extra work. | ||
|
||
See the appveyor script for build instructions. | ||
|
||
Go ahead and use the executable or source as you see fit. Credit is appreciated, but not necessary. I accept no liability. | ||
|
||
If you found this useful, let me know. Please file any issues. Obviously, one could include more or less libraries to either add features or reduce the size of the executable. I don't intend to make alternate versions with different libraries. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
init: | ||
- SET PROJDIR=%cd% | ||
- pip install pywin32 psutil | ||
- pip install http://sourceforge.net/projects/py2exe/files/latest/download?source=files | ||
- mkdir c:\u | ||
- cd c:\u | ||
- curl -L -O "https://github.com/upx/upx/releases/download/v3.94/upx394w.zip" | ||
- unzip upx394w.zip | ||
- cd %PROJDIR% | ||
|
||
build_script: | ||
- python setup.py py2exe | ||
- cp dist\py.exe . | ||
- C:\u\upx394w\upx.exe --best --ultra-brute --8086 py.exe | ||
|
||
artifacts: | ||
- path: dist\py.exe | ||
- path: py.exe | ||
|
||
deploy: | ||
- provider: GitHub | ||
tag: 'pyexe-latest' | ||
release: 'Release pyexe-latest' | ||
auth_token: | ||
secure: PGsGUDU6oqIy7zCyTMwIWlzf4TbJtuIgqmWb9ZLqNlM13AAaxWfDlzDlG+0CyHFx | ||
artifact: py.exe | ||
force_update: true | ||
on: | ||
branch: master | ||
|
||
- provider: GitHub | ||
tag: $(appveyor_repo_tag_name) | ||
release: Release $(appveyor_repo_tag_name) | ||
auth_token: | ||
secure: PGsGUDU6oqIy7zCyTMwIWlzf4TbJtuIgqmWb9ZLqNlM13AAaxWfDlzDlG+0CyHFx | ||
artifact: py.exe | ||
force_update: true | ||
on: | ||
appveyor_repo_tag: true |
Oops, something went wrong.