Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.19 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.19 KB

Script, Library, or Executable: You can have it all!

This repository is a sample application used during the PyconDE talk titled Script, Library, or Executable: You can have it all!.

Requirements

  • Python 3.6 and above
  • See requirements.txt for additional requirements installable via pip

Setup

1. Create virtual environment

  • git clone https://github.com/durden/pywc
  • python3 -m venv <directory>

2. Install pywc into environment

  • cd into checked out folder
  • pip install . or make install

Usage

  • python -m pywc -h
    • This works from any current working directory if installed in step 2 otherwise it will only work when in the checked out directory.

Entry points

  • python -m pywc
  • python -m pywc --gui
  • pywc (when installed)
  • pywc --gui (when installed)
  • python cli.py
  • python gui.py
  • pywc.exe (when exe is built)
  • pywcg.exe (when exe is built)

Creating executables

  • See Makefile
  • The resulting exes will go in the dist/ folder

References/feedback