123456789101112131415161718192021222324252627282930313233343536 |
- import os
- # Do not edit this, it is this script's local directory
- BASE_PATH = os.path.abspath(os.path.dirname(__file__))
- # You probably don't want to change this but when you do point it to
- # where the source .csv files are.
- SOURCE_PATH = os.path.abspath(os.path.join(BASE_PATH, "sources/"))
- # When you already have the installers downloaded somewhere point it
- # there, else it will download them (when not found) to the set location.
- #CACHE_PATH = os.path.abspath(os.path.join(BASE_PATH, "../cache/dl/"))
- CACHE_PATH = os.path.abspath(os.path.join(BASE_PATH, "cache/"))
- # Download path
- DL_PATH = os.path.abspath(os.path.join(CACHE_PATH, "dl/"))
- # Download error log path
- DL_LOG = os.path.join(CACHE_PATH, "dl.log")
- # Filepath to the 'rewise' bin
- REWISE_DEV_PATH = os.path.abspath(os.path.join(BASE_PATH, "../../rewise"))
- # DO SET THIS!
- # Filepath to the 'rewise' v0.2 bin
- REWISE_02_PATH = os.path.abspath(os.path.join(CACHE_PATH, "rewise_02"))
- if __name__ == "__main__":
- print("BASE_PATH", BASE_PATH)
- print("CACHE_PATH", CACHE_PATH)
- print("DL_PATH", DL_PATH)
- print("DL_LOG", DL_LOG)
- print("SOURCE_PATH", SOURCE_PATH)
- print("REWISE_DEV_PATH", REWISE_DEV_PATH)
- print("REWISE_02_PATH", REWISE_02_PATH)
|