-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathconfig.py
27 lines (17 loc) · 881 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""Default config variables, which may be overridden by a user config."""
import os.path as osp
import os
PYTHON_COMMAND = "python"
SUMO_SLEEP = 1.0 # Delay between initializing SUMO and connecting with TraCI
PROJECT_PATH = osp.abspath(osp.join(osp.dirname(__file__), '..'))
LOG_DIR = PROJECT_PATH + "/data"
# users set both of these in their bash_rc or bash_profile
# and also should run aws configure after installing awscli
AWS_ACCESS_KEY = os.environ.get("AWS_ACCESS_KEY", None)
AWS_ACCESS_SECRET = os.environ.get("AWS_ACCESS_SECRET", None)
AWS_S3_PATH = "s3://bucket_name"
# path to the Aimsun_Next main directory (required for Aimsun simulations)
AIMSUN_NEXT_PATH = os.environ.get("AIMSUN_NEXT_PATH", None)
# path to the aimsun_flow environment's main directory (required for Aimsun
# simulations)
AIMSUN_SITEPACKAGES = os.environ.get("AIMSUN_SITEPACKAGES", None)