Skip to content

Commit 5b3514d

Browse files
committed
Initial commit.
1 parent fed4e46 commit 5b3514d

File tree

5 files changed

+1046
-0
lines changed

5 files changed

+1046
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# pyexe.exe
2+
3+
[![Build status](https://ci.appveyor.com/api/projects/status/n18f0997k18x87lw/branch/master?svg=true)](https://ci.appveyor.com/project/manthey/pyexe/branch/master)
4+
5+
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.
6+
7+
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.
8+
9+
See the appveyor script for build instructions.
10+
11+
Go ahead and use the executable or source as you see fit. Credit is appreciated, but not necessary. I accept no liability.
12+
13+
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.
14+

appveyor.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
init:
2+
- SET PROJDIR=%cd%
3+
- pip install pywin32 psutil
4+
- pip install http://sourceforge.net/projects/py2exe/files/latest/download?source=files
5+
- mkdir c:\u
6+
- cd c:\u
7+
- curl -L -O "https://github.com/upx/upx/releases/download/v3.94/upx394w.zip"
8+
- unzip upx394w.zip
9+
- cd %PROJDIR%
10+
11+
build_script:
12+
- python setup.py py2exe
13+
- cp dist\py.exe .
14+
- C:\u\upx394w\upx.exe --best --ultra-brute --8086 py.exe
15+
16+
artifacts:
17+
- path: dist\py.exe
18+
- path: py.exe
19+
20+
deploy:
21+
- provider: GitHub
22+
tag: 'pyexe-latest'
23+
release: 'Release pyexe-latest'
24+
auth_token:
25+
secure: PGsGUDU6oqIy7zCyTMwIWlzf4TbJtuIgqmWb9ZLqNlM13AAaxWfDlzDlG+0CyHFx
26+
artifact: py.exe
27+
force_update: true
28+
on:
29+
branch: master
30+
31+
- provider: GitHub
32+
tag: $(appveyor_repo_tag_name)
33+
release: Release $(appveyor_repo_tag_name)
34+
auth_token:
35+
secure: PGsGUDU6oqIy7zCyTMwIWlzf4TbJtuIgqmWb9ZLqNlM13AAaxWfDlzDlG+0CyHFx
36+
artifact: py.exe
37+
force_update: true
38+
on:
39+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)