login page
This commit is contained in:
17
Lib/site-packages/pipenv/vendor/requirementslib/environment.py
vendored
Normal file
17
Lib/site-packages/pipenv/vendor/requirementslib/environment.py
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# -*- coding=utf-8 -*-
|
||||
from __future__ import print_function, absolute_import
|
||||
|
||||
import os
|
||||
from appdirs import user_cache_dir
|
||||
|
||||
|
||||
def is_type_checking():
|
||||
try:
|
||||
from typing import TYPE_CHECKING
|
||||
except ImportError:
|
||||
return False
|
||||
return TYPE_CHECKING
|
||||
|
||||
|
||||
REQUIREMENTSLIB_CACHE_DIR = os.getenv("REQUIREMENTSLIB_CACHE_DIR", user_cache_dir("pipenv"))
|
||||
MYPY_RUNNING = os.environ.get("MYPY_RUNNING", is_type_checking())
|
||||
Reference in New Issue
Block a user