Skip to content
/ pyexe Public
forked from manthey/pyexe

Create a single windows executable for python 2.7, 3.5, 3.6

License

Notifications You must be signed in to change notification settings

cbm755/pyexe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyexe.exe

Build status

I have often wanted a stand-alone version of python that is a single Windows executable.

It consists of the most recent versions of Python (with builds for 2.7, 3.5, and 3.6 each in 32-bit and 64-bit versions), pywin32, psutil, six, pip, setuptools, and includes all packages that can be included without additional dlls, excepting tkinter.

See the appveyor script for build instructions.

Installing other modules

Python is most useful with additional modules. The stand-alone executable can use pip to install modules from pypi to the local directory. For instance:

py36-64.exe -m pip install --no-cache-dir --target . --upgrade sympy

Use -m pip to run the pip module. Use --no-cache-dir to avoid writing files to the user's data directory. Use --target . to install to the current directory, allowing you to import the modules easily. Use --upgrade to replace existing files, such as the common bin directory. Note that using --upgrade will overwrite or discard existing files, which may not be what you want (the bin directory will end up with just files for the most recently installed package).

About

Create a single windows executable for python 2.7, 3.5, 3.6

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%