Build and publish package to PyPI. Looks for ~/.pypirc for credentials, otherwise prompts.
1
2
3
4def publish(
test: bool=True # Use Test PyPI if True real PyPI if False
):
"""Build and publish package to PyPI. Looks for ~/.pypirc for credentials, otherwise prompts."""