How to use the cruft._version.__version__ function in cruft

To help you get started, we’ve selected a few cruft examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github timothycrosley / cruft / cruft / logo.py View on Github external
from cruft._version import __version__

ascii_art = rf"""
__________________________________________________/\\\\\_______________
 ________________________________________________/\\\///________________
  _______________________________________________/\\\__________/\\\______
   _____/\\\\\\\\__/\\/\\\\\\\___/\\\____/\\\__/\\\\\\\\\____/\\\\\\\\\\\_
    ___/\\\//////__\/\\\/////\\\_\/\\\___\/\\\_\////\\\//____\////\\\////__
     __/\\\_________\/\\\___\///__\/\\\___\/\\\____\/\\\_________\/\\\______
      _\//\\\________\/\\\_________\/\\\___\/\\\____\/\\\_________\/\\\_/\\__
       __\///\\\\\\\\_\/\\\_________\//\\\\\\\\\_____\/\\\_________\//\\\\\___
        ____\////////__\///___________\/////////______\///___________\/////____

               If you need the boilerplate, at least let cruft manage it.

Version: {__version__}
Copyright Timothy Edmund Crosley 2019 MIT License
"""

__doc__ = f"""
```python
{ascii_art}