Skip to main content

Mock package that auto-closes the League client

Project description

Auto League Closer

Tired of procrastinating on homework all day while still being hardstuck Bronze? Suffering from a bad case of League withdrawal?

Well, I've got a solution for you! Install the Auto League Closer!

This handy program will automatically close the League of Legends client whenever it's running, so you can get back to binging YouTube videos - uh, I mean doing homework :)

This is a mock application to demonstrate a clean project structure, along with steps to distribute Python modules and end user application installers.

How it Works

WIP

Using the Python Module

WIP

Installing the App

WIP

Development Setup

First, setup a virtual environment. Then run:

$ pip install -r requirements.txt

If you want to help develop the project, also run:

$ pip install -r dev_requirements.txt

Packaging into an EXE

First, create a Python file that calls your module's main function or does something else - the "entry point" of your application. Then, to bundle it up, do the following:

# Initial pyinstaller to generate .spec file
pyinstaller entry.py --name leaguecloser --clean --onefile --icon leagueicon.png
# Go into the .spec file, and add Tree('<relative path to data folder from cwd>', prefix='<relative path to data folder from cwd (for consistency)>') after a.binaries in the EXE section
# Then, run the below to regenerate the EXE
pyinstaller --clean leaguecloser.spec
# Or (these are equivalent, see the Makefile):
make build

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

leaguecloser-1.0.0.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

leaguecloser-1.0.0-py2.py3-none-any.whl (27.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file leaguecloser-1.0.0.tar.gz.

File metadata

  • Download URL: leaguecloser-1.0.0.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for leaguecloser-1.0.0.tar.gz
Algorithm Hash digest
SHA256 28c6f0dbd013afd14e69ac84d115c75ca44116af59ffb7601085b32f3ef8daa7
MD5 dc20779bc67bef6cb3095abe882aa72d
BLAKE2b-256 82211ecda9808aa0e9b18a45c35b3de3c460b10eb80d29e4ff5073b91c6fa34b

See more details on using hashes here.

File details

Details for the file leaguecloser-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for leaguecloser-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a663bf8b5a6a75b9e7b8a44a94e1003dc6a78d719a56dbdf6d982df56590a146
MD5 c4a35f55d4c198f3d0be722d48e08e2a
BLAKE2b-256 139074d73627fc55ea1594a57dcc07f9536dd8c14eb6ee1a7223bbc6603ad470

See more details on using hashes here.

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