argparse-manpage icon indicating copy to clipboard operation
argparse-manpage copied to clipboard

Automatically build man-pages for your Python project

Results 13 argparse-manpage issues
Sort by recently updated
recently updated
newest added

Hello Pavel, warm greetings from New Zealand. Thank you for writing `argparse-manpage`! Did you have any thoughts or preferences about making your project work with [Hatch](https://github.com/pypa/hatch)? My initial assumption is...

There are errors regarding several options, e.g. `--prog`, `--version`, and `--author-email`. Running the program's documentation help from the command line: ```bash $argparse-manpage --help usage: argparse-manpage [-h] (--module MODULE | --pyfile...

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...

This is a bit of a minor issue that you can ignore and close if you think it's irrelevant :-) The issue: I included the manpage build instructions for my...

I was able to hook argparse-manpage into poetry based project via: https://github.com/fedora-copr/resalloc-ibm-cloud/blob/da127c98f0e8b8ef19ed124eec9a83d2ac3679c0/build.py https://github.com/fedora-copr/resalloc-ibm-cloud/blob/da127c98f0e8b8ef19ed124eec9a83d2ac3679c0/pyproject.toml#L30-L32 Not sure if it is "good enough" for PyPI -> but with RPM where we should use...

``` $ pip3 --version pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6) $ pip3 install --user argparse-manpage Collecting argparse-manpage Using cached https://files.pythonhosted.org/packages/d3/5f/3353e1dd33fcb3801cfe7e6412ad9d75202fc642679d105015e361aceef7/argparse-manpage-4.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent...

When a man page is specified with `manfile`, it does not seem to be automatically added to the manifest. I'm a bit puzzled here on two counts: 1. I do...

... if ANY_SCRIPT uses: ```python argument_parser.add_argument( "--man-page", action=ManPageAction(), ) ```

enhancement

Running tests on python 3.10 gives warning: ``` ../../../../usr/lib/python3.10/site-packages/pkg_resources/__init__.py:121 /usr/lib/python3.10/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) ``` two places where found with...

It could look like ```python argparse.build_manpages = { 'ENVIRONMENT' = { 'description': """ The description... """, 'vars': { 'CONFIG_FOO': "Description for CONFIG_FOO", } }, } ``` Each item could mean...

question