publish

funcpublish.publish

Build and publish package to PyPI. Looks for ~/.pypirc for credentials, otherwise prompts.

1
2
3
4
def 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."""