2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 11:28:23 +00:00

remove unneeded LIBDIR

This commit is contained in:
2021-10-24 19:16:01 +03:00
parent 0d7cbbea37
commit 9294c8c2f1
2 changed files with 6 additions and 2 deletions

View File

@@ -39,8 +39,9 @@ SERVERPORT = '8000' # not needed
# --------------------- MEDIA redirections BEGIN ---------------------
#REPOS_ROOT_PATH = '/mnt/d/CUCC-Expo/t37/'
REPOS_ROOT_PATH = Path(__file__).parent.parent
LIBDIR = REPOS_ROOT_PATH / 'lib' / 'python3.7' # should be finding this automatically: python --version etc.
REPOS_ROOT_PATH = Path(__file__).parent.parent # We are assuming all 4 repos are siblings.
version = sys.version_info
#LIBDIR = REPOS_ROOT_PATH / 'lib' / 'python{}.{}'.format(version.major, version.minor) # eg python 3.7
TROGGLE_PATH = Path(__file__).parent
TEMPLATE_PATH = TROGGLE_PATH / 'templates'
@@ -143,6 +144,7 @@ EMAIL_HOST_USER = "django-test@klebos.net" # Philip Sargent really
EMAIL_PORT=587
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = 'django-test@klebos.net'
EMAIL_SUBJECT_PREFIX = "[troggle]"
SURVEX_DATA = REPOS_ROOT_PATH / "loser"
DRAWINGS_DATA = REPOS_ROOT_PATH / "drawings"