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.txtto do an editable install - Run
pytestto 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/*
Metadata
Release files for executable 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| executable-0.1.0.tar.gz | 10.9 kB | Without provenance | Details for executable-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| executable-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for executable-0.1.0-py3-none-any.whl |
Total release size: 21.9 kB
Release files / executable-0.1.0.tar.gz
| Download URL | executable-0.1.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75c6b7b724fb352aba7f3de581debfd70512e72d7d3d50eac2a7af9aeeb732c3
|
|
BLAKE2b-256 checksum How to use checksums |
9fec29fc4ebe7a00b49117df25f93b0f39bd73e29d20f169b77ebacb4e5f901c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / executable-0.1.0-py3-none-any.whl
| Download URL | executable-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
926676b15e4e269148d5c5be5e956eb32383a7e08ffdecc85f06cf74babb53fc
|
|
BLAKE2b-256 checksum How to use checksums |
401450e85c2ee346a412a7ab3cb66483d31cd77e4fc766d5ce36b80c6ec58c24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for executable 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.