mirror of https://github.com/patacrep/patacrep.git
Engine for LaTeX songbooks
http://www.patacrep.com
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
523 B
19 lines
523 B
"""Global variables."""
|
|
|
|
from pkg_resources import resource_filename
|
|
import os
|
|
|
|
# Check Python version
|
|
import sys
|
|
if sys.version_info < (3, 3):
|
|
print("ERROR: Your Python version is too old. Please use a Python version > 3.3.")
|
|
sys.exit(1)
|
|
|
|
# Patacrep version.
|
|
__TUPLE_VERSION__ = (4, 0, 0)
|
|
__version__ = '.'.join([str(number) for number in __TUPLE_VERSION__])
|
|
|
|
# Directory containing shared data (default templates, custom LaTeX packages,
|
|
# etc.)
|
|
|
|
__DATADIR__ = os.path.abspath(resource_filename(__name__, 'data'))
|
|
|