Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takluyver/win_cli_launchers
Windows command line exe launchers for Python scripts
https://github.com/takluyver/win_cli_launchers
Last synced: 4 days ago
JSON representation
Windows command line exe launchers for Python scripts
- Host: GitHub
- URL: https://github.com/takluyver/win_cli_launchers
- Owner: takluyver
- License: mit
- Created: 2016-04-14T16:45:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-04-14T17:15:17.000Z (over 8 years ago)
- Last Synced: 2024-12-05T22:17:36.583Z (20 days ago)
- Language: C
- Size: 78.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
This is a Python package to hold the Windows executables used to make a Python
script runnable as a command on Windows.To use one of these executables, make a copy of it called e.g. ``foo.exe``, and
place a Python script next to it called ``foo-script.py``. If the script
starts with a shebang (``#!C:\path\to\python.exe``), that will be launched. If
not, it assumes that ``python.exe`` is on ``%PATH%``.The Python package exposes one function, ``find_exe``::
from win_cli_launchers import find_exe
# Get the path to one of the executables
find_exe(arch='x86')
find_exe(arch='x64')These exes are part of `setuptools `__; this
package exists just to provide them without requiring the rest of setuptools.
They are released under the same MIT license as setuptools.