mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
@@ -104,6 +104,7 @@ project = Project()
|
||||
|
||||
|
||||
def load_dot_env():
|
||||
"""Loads .env file into sys.environ."""
|
||||
if not PIPENV_DONT_LOAD_ENV:
|
||||
# If the project doesn't exist yet, check current directory for a .env file
|
||||
project_directory = project.project_directory or '.'
|
||||
|
||||
+2
-1
@@ -10,7 +10,6 @@ import click
|
||||
import crayons
|
||||
import delegator
|
||||
import parse
|
||||
import requirements
|
||||
import fuzzywuzzy.process
|
||||
import requests
|
||||
import six
|
||||
@@ -271,6 +270,7 @@ packages = [
|
||||
|
||||
def get_requirement(dep):
|
||||
import pip
|
||||
import requirements
|
||||
"""Pre-clean requirement strings passed to the requirements parser.
|
||||
|
||||
Ensures that we can accept both local and relative paths, file and VCS URIs,
|
||||
@@ -852,6 +852,7 @@ def is_required_version(version, specified_version):
|
||||
|
||||
|
||||
def is_vcs(pipfile_entry):
|
||||
import requirements
|
||||
"""Determine if dictionary entry from Pipfile is for a vcs dependency."""
|
||||
|
||||
if hasattr(pipfile_entry, 'keys'):
|
||||
|
||||
Reference in New Issue
Block a user