After creating a new project with pyscaffold, I tried to run python setup.py docs. This was the result:
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'build_sphinx'
I then tried running python setup.py build_sphinx directly, but this failed as well (output anonymized):
running build_sphinx
Running Sphinx v1.7.0b2
usage: usage: setup.py [OPTIONS] -o <OUTPUT_PATH> <MODULE_PATH> [EXCLUDE_PATTERN, ...]
setup.py: error: unrecognized arguments: {$dir}/docs/../src/{$module}
Configuration error:
The configuration file (or one of the modules it imports) called sys.exit()
After creating a new project with pyscaffold, I tried to run
python setup.py docs. This was the result:I then tried running
python setup.py build_sphinxdirectly, but this failed as well (output anonymized):