Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upbash: pdoc: command not found #4
Comments
This comment has been minimized.
This comment has been minimized.
|
I'm sorry, I can't reproduce the issue: $ pip3 install pdoc3
Collecting pdoc3
...
Successfully installed MarkupSafe-1.1.0 mako-1.0.7 markdown-3.0.1 pdoc3-0.5.1
$ which pip3
/usr/bin/pip3
$ pip3 freeze | grep pdoc
pdoc3==0.5.1
$ which pdoc
/home/user/.local/bin/pdoc
$ which pdoc3
/home/user/.local/bin/pdoc3
$ cat $(which pdoc)#!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
from pdoc.cli import main
if __name__ == '__main__':
sys.exit(main())As setup.py does specify console scripts, it should be up to setuptools/pip to wire up the executables. Lines 39 to 44 in e7868e2 Have you tried updating pip and setuptools? Do you have any other ideas?
Would you care to add |
This comment has been minimized.
This comment has been minimized.
|
Updating pip3 didn't seem to resolve the issue for me. Not sure why. Anyway, adding |
wq2012
referenced this issue
Jan 24, 2019
Merged
[Issue #4] Add __main__.py such that users can do python -m pdoc #8
kernc
closed this
in
#8
Jan 24, 2019
kernc
added a commit
that referenced
this issue
Jan 24, 2019
This comment has been minimized.
This comment has been minimized.
|
Thanks! It should be released as pdoc3 0.5.2 within a few days.
Should you later eventually figure out what was it in your environment, blocking the creation/discovery of executables, I'll appreciate a notice about it. |
wq2012 commentedJan 22, 2019
Expected Behavior
On a Mac or Linux machine,
produces documentation.
Actual Behavior
Second command yields:
Steps to Reproduce
Additional info
Suggestion
Add
__main__.pyfile such that users can at least do: