Create windows .exe files that just wrap a Python script.
Project description
executable
Create windows .exe files that just wrap a Python script.
Installation
pip install executable
Usage
$ cat .\hello.py
print("Hello!")
$ executable .\hello.py
Created .\out\hello.exe and .\out\hello-script.py
$ ./out/hello
Hello!
$ executable .\hello.py --create-cmd
Created .\out\hello.cmd and .\out\hello-script.py
$ .\out\hello
Hello!
Local Development / Testing
- Create and activate a virtual environment
- Run
pip install -r requirements-dev.txt
to do an editable install - Run
pytest
to run tests
Type Checking
Run mypy .
Create and upload a package to PyPI
Make sure to bump the version in setup.cfg
.
Then run the following commands:
rm -rf build dist
python setup.py sdist bdist_wheel
Then upload it to PyPI using twine:
twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
executable-0.1.0.tar.gz
(10.9 kB
view details)
Built Distribution
File details
Details for the file executable-0.1.0.tar.gz
.
File metadata
- Download URL: executable-0.1.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75c6b7b724fb352aba7f3de581debfd70512e72d7d3d50eac2a7af9aeeb732c3 |
|
MD5 | 8c91deefc360e3ed9185a4f266dc2b78 |
|
BLAKE2b-256 | 9fec29fc4ebe7a00b49117df25f93b0f39bd73e29d20f169b77ebacb4e5f901c |
File details
Details for the file executable-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: executable-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 926676b15e4e269148d5c5be5e956eb32383a7e08ffdecc85f06cf74babb53fc |
|
MD5 | 725ea9c195317c83cfc764e5042abdc1 |
|
BLAKE2b-256 | 401450e85c2ee346a412a7ab3cb66483d31cd77e4fc766d5ce36b80c6ec58c24 |