Create attractive VASL scenarios, with loads of useful information embedded to assist with game play.
https://vasl-templates.org
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.
17 lines
498 B
17 lines
498 B
""" Application constants. """
|
|
|
|
import sys
|
|
import os
|
|
|
|
APP_NAME = "VASL Templates"
|
|
APP_VERSION = "v1.3" # nb: also update setup.py
|
|
APP_DESCRIPTION = "Generate HTML for use in VASL scenarios."
|
|
APP_HOME_URL = "https://vasl-templates.org"
|
|
|
|
if getattr( sys, "frozen", False ):
|
|
IS_FROZEN = True
|
|
BASE_DIR = os.path.split( sys.executable )[0]
|
|
else:
|
|
IS_FROZEN = False
|
|
BASE_DIR = os.path.abspath( os.path.join( os.path.split(__file__)[0], ".." ) )
|
|
DATA_DIR = os.path.join( BASE_DIR, "data" )
|
|
|