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.
 
 
 
 
 
 
vasl-templates/vasl_templates/webapp/config/constants.py

17 lines
498 B

""" Application constants. """
import sys
import os
APP_NAME = "VASL Templates"
APP_VERSION = "v1.7" # 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" )