@@ -5,7 +5,7 @@ Creating and packaging command-line tools
55=========================================
66
77This guide will walk you through creating and packaging a standalone command-line application
8- that can be installed with :ref: `pipx `, a tool creating and managing :term: `Python Virtual Environments <Virtual Environment> `
8+ that can be installed with :ref: `pipx `, a tool for creating and managing :term: `Python Virtual Environments <Virtual Environment> `
99and exposing the executable scripts of packages (and available manual pages) for use on the command-line.
1010
1111Creating the package
@@ -98,7 +98,7 @@ Now, add an empty :file:`__init__.py` file, to define the project as a regular :
9898
9999The file :file: `__main__.py ` marks the main entry point for the application when running it via :mod: `runpy `
100100(i.e. ``python -m greetings ``, which works immediately with flat layout, but requires installation of the package with src layout),
101- so initizalize the command-line interface here:
101+ so initialize the command-line interface here:
102102
103103.. code-block :: python
104104
@@ -162,7 +162,7 @@ To just run the program without installing it permanently, use ``pipx run``, whi
162162
163163 $ pipx run --spec . greet --knight
164164
165- This syntax is a bit unpractical , however; as the name of the entry point we defined above does not match the package name,
165+ This syntax is a bit impractical , however; as the name of the entry point we defined above does not match the package name,
166166we need to state explicitly which executable script to run (even though there is only on in existence).
167167
168168There is, however, a more practical solution to this problem, in the form of an entry point specific to ``pipx run ``.
0 commit comments