:: explain -c180 -r
                       author: (missing    ) - Consider specifying 'author'
                  description: (README.md:1) bogus versioning spec
                 download_url: (missing    ) - Consider specifying 'download_url'
                      license: (missing    ) - Consider specifying 'license'
             long_description: (README.md  ) # bogus versioning spec This scenario tests a bogus `versioning` specification in `setup.py`
long_description_content_type: (README.md  ) text/markdown
                         name: (explicit   ) bogus
               setup_requires: (explicit   ) ["setupmeta"]
                          url: (missing    ) - Consider specifying 'url'
                      version: (git        ) 1.0
                   versioning: (explicit   ) {extra: ("foo", "bar"), main: function 'main_part'}

:: explain -d
    # This reflects only auto-fill, doesn't look at explicit settings from your setup.py
    install_requires=None,   # no auto-fill

:: explain --expand
"""
Generated by https://pypi.org/project/setupmeta/
"""
from setuptools import setup
__version__ = "1.0"
setup(
    description="bogus versioning spec",               # from README.md:1
    long_description=open("README.md").read(),         # from README.md
    long_description_content_type="text/markdown",     # from README.md
    name="bogus",
    version=__version__,                               # from git
    # versioning={"extra": ("foo", "bar"), "main": function 'main_part'},
)

:: check


:: version
1.0

:: version
1.0

:: version --bump patch
setup.py -q version --bump patch exited with code 1:
error: Can't bump with custom version definition: function 'main_part'

:: version
1.0

:: --name
bogus
