# executable
Create windows .exe files that just wrap a Python script.
## Installation
```bash
pip install executable
```
## Usage
```console
$ 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:
```bash
rm -rf build dist
python setup.py sdist bdist_wheel
```
Then upload it to PyPI using [twine](https://twine.readthedocs.io/en/latest/#installation):
```bash
twine upload dist/*
```
Raw data
{
"_id": null,
"home_page": "https://github.com/tusharsadhwani/executable",
"name": "executable",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Tushar Sadhwani",
"author_email": "tushar.sadhwani000@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9f/ec/29fc4ebe7a00b49117df25f93b0f39bd73e29d20f169b77ebacb4e5f901c/executable-0.1.0.tar.gz",
"platform": null,
"description": "# executable\r\n\r\nCreate windows .exe files that just wrap a Python script.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install executable\r\n```\r\n\r\n## Usage\r\n\r\n```console\r\n$ cat .\\hello.py\r\nprint(\"Hello!\")\r\n\r\n$ executable .\\hello.py\r\nCreated .\\out\\hello.exe and .\\out\\hello-script.py\r\n\r\n$ ./out/hello\r\nHello!\r\n\r\n$ executable .\\hello.py --create-cmd\r\nCreated .\\out\\hello.cmd and .\\out\\hello-script.py\r\n\r\n$ .\\out\\hello\r\nHello!\r\n```\r\n\r\n## Local Development / Testing\r\n\r\n- Create and activate a virtual environment\r\n- Run `pip install -r requirements-dev.txt` to do an editable install\r\n- Run `pytest` to run tests\r\n\r\n## Type Checking\r\n\r\nRun `mypy .`\r\n\r\n## Create and upload a package to PyPI\r\n\r\nMake sure to bump the version in `setup.cfg`.\r\n\r\nThen run the following commands:\r\n\r\n```bash\r\nrm -rf build dist\r\npython setup.py sdist bdist_wheel\r\n```\r\n\r\nThen upload it to PyPI using [twine](https://twine.readthedocs.io/en/latest/#installation):\r\n\r\n```bash\r\ntwine upload dist/*\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Create windows .exe files that just wrap a Python script.",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/tusharsadhwani/executable"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "401450e85c2ee346a412a7ab3cb66483d31cd77e4fc766d5ce36b80c6ec58c24",
"md5": "725ea9c195317c83cfc764e5042abdc1",
"sha256": "926676b15e4e269148d5c5be5e956eb32383a7e08ffdecc85f06cf74babb53fc"
},
"downloads": -1,
"filename": "executable-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "725ea9c195317c83cfc764e5042abdc1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 10952,
"upload_time": "2024-06-24T23:12:55",
"upload_time_iso_8601": "2024-06-24T23:12:55.915530Z",
"url": "https://files.pythonhosted.org/packages/40/14/50e85c2ee346a412a7ab3cb66483d31cd77e4fc766d5ce36b80c6ec58c24/executable-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9fec29fc4ebe7a00b49117df25f93b0f39bd73e29d20f169b77ebacb4e5f901c",
"md5": "8c91deefc360e3ed9185a4f266dc2b78",
"sha256": "75c6b7b724fb352aba7f3de581debfd70512e72d7d3d50eac2a7af9aeeb732c3"
},
"downloads": -1,
"filename": "executable-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "8c91deefc360e3ed9185a4f266dc2b78",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 10946,
"upload_time": "2024-06-24T23:12:57",
"upload_time_iso_8601": "2024-06-24T23:12:57.605984Z",
"url": "https://files.pythonhosted.org/packages/9f/ec/29fc4ebe7a00b49117df25f93b0f39bd73e29d20f169b77ebacb4e5f901c/executable-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-24 23:12:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tusharsadhwani",
"github_project": "executable",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "executable"
}