Open
Description
In setup.py I've added:
from build_manpages import build_manpages, get_build_py_cmd, get_install_cmd
cmdclass={
'build_manpages': build_manpages,
# Re-define build_py and install commands so the manual pages
# are automatically re-generated and installed
'build_py': get_build_py_cmd(),
'install': get_install_cmd(),
}
In setup.cfg
[build_manpages]
manpages =
man/git-fleximod.1:object=parser:pyfile=bin/git-fleximod
then I run
PYTHONPATH=/glade/work/jedwards/conda-envs/fleximod/lib/python3.12/site-packages/ python -m build
and it does all of the other stuff but not the manpages:
running bdist_wheel
running build
running build_py
running build_manpages
generating man/git-fleximod.1
error: [Errno 2] No such file or directory: '/glade/derecho/scratch/jedwards/tmp/build-via-sdist-wn14g6tq/fleximod-0.2.0/bin/git-fleximod'
ERROR Backend subproccess exited when trying to invoke build_wheel
help appreciated.
Metadata
Assignees
Labels
No labels
Activity