I agree that the nested list bit looks odd;even odder is that pip installs the script correctly:
----------------------------------- % ----------------------------------- $ python3.6 -m venv /tmp/lp/1810734 $ /tmp/lp/1810734/bin/pip install --upgrade setuptools pip ... Successfully installed pip-18.1 setuptools-40.6.3 $ /tmp/lp/1810734/bin/pip install -e . ... Successfully installed pkginfo $ /tmp/lp/1810734/bin/pkginfo --help Usage: Print the metadata for one or more Python package distributions.
Usage: pkginfo [options] path+ ... ----------------------------------- % -----------------------------------
I agree that the nested list bit looks odd;even odder is that pip installs the script correctly:
------- ------- ------- ------- ------- % ------- ------- ------- ------- ------- 1810734/ bin/pip install --upgrade setuptools pip 1810734/ bin/pip install -e . 1810734/ bin/pkginfo --help
$ python3.6 -m venv /tmp/lp/1810734
$ /tmp/lp/
...
Successfully installed pip-18.1 setuptools-40.6.3
$ /tmp/lp/
...
Successfully installed pkginfo
$ /tmp/lp/
Usage: Print the metadata for one or more Python package distributions.
Usage: pkginfo [options] path+ ------- ------- ------- ------- % ------- ------- ------- ------- -------
...
-------