Skip to main content

A program use for compile python package to portable executable

Project description

pypuck

https://img.shields.io/pypi/v/pypuck.svg 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.

History

0.0.1 (2019-07-23)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypuck-0.0.4.zip (27.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page