()
| 20 | |
| 21 | |
| 22 | def GetEnvPath(): |
| 23 | if "ENV_ROOT" in os.environ: |
| 24 | return os.environ["ENV_ROOT"] |
| 25 | |
| 26 | if platform.system() == 'Windows': |
| 27 | env_root = os.path.join(os.environ['USERPROFILE'], '.env') |
| 28 | else: |
| 29 | env_root = os.path.join(os.environ['HOME'], '.env') |
| 30 | |
| 31 | return env_root |
| 32 | |
| 33 | |
| 34 | def GetPkgPath(): |
no test coverage detected