Skip to content

A program use for compile python package to portable executable. Just like cxfreeze, pyinstaller or py2exe.

License

Notifications You must be signed in to change notification settings

starofrainnight/pypuck

Repository files navigation

pypuck

https://travis-ci.org/starofrainnight/pypuck.svg?branch=master https://ci.appveyor.com/api/projects/status/github/starofrainnight/pypuck?svg=true

A program use for compile python package to portable executable (for windows only currently)

Just like cxfreeze, pyinstaller or py2exe.

This program have much different from those packager applications above. We package the python application with the full functional python environment without analyse your python application dependences, so you have to ensure your application's dependences in setup.py .

Certainly, we have our rules, only those python application that wrote in standard python package layout will be packaged successed.

If a python application could be installed by standard command:

python setup.py install

and the entry_points has been correct defined in setup.py, this python application could be packaged.

Features

  • Package with winpython core, a full python environment
  • Always use latest stable python
  • No special codes needs to changed just like you works with other packager applications (just like the __main__ problems that works with cxfreeze)

Preparation

7-zip must be installed and the executable path must be placed into PATH environment variable

Usage

Look into the 'helloworld' example under examples directory which demonstrated how to structure your application.

Then go to your project root, enter the command to build your first application:

pypuck build

After successed, the application will be packaged under ./dist directory.

Known Issues

  • Only works under windows system

Credits

This package was created with Cookiecutter and the PyPackageTemplate project template.

About

A program use for compile python package to portable executable. Just like cxfreeze, pyinstaller or py2exe.

Resources

License

Stars

Watchers

Forks

Packages

No packages published