mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Restore imports from vendor
This commit is contained in:
+1
-4
@@ -13,9 +13,6 @@ import urllib.parse
|
||||
from json.decoder import JSONDecodeError
|
||||
from pathlib import Path
|
||||
|
||||
import click
|
||||
import tomlkit
|
||||
|
||||
try:
|
||||
import tomllib as toml
|
||||
except ImportError:
|
||||
@@ -48,7 +45,7 @@ from pipenv.utils.shell import (
|
||||
system_which,
|
||||
)
|
||||
from pipenv.utils.toml import cleanup_toml, convert_toml_outline_tables
|
||||
from pipenv.vendor import plette
|
||||
from pipenv.vendor import click, plette, tomlkit
|
||||
from pipenv.vendor.requirementslib.models.utils import get_default_pyproject_backend
|
||||
|
||||
try:
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
import os
|
||||
|
||||
import click
|
||||
import dotenv
|
||||
|
||||
from pipenv import environments
|
||||
from pipenv.vendor import click, dotenv
|
||||
|
||||
|
||||
def load_dot_env(project, as_dict=False, quiet=False):
|
||||
|
||||
@@ -3,7 +3,7 @@ try:
|
||||
except ImportError:
|
||||
import tomli as toml
|
||||
|
||||
import tomlkit
|
||||
from pipenv.vendor import tomlkit
|
||||
|
||||
|
||||
def cleanup_toml(tml):
|
||||
|
||||
Reference in New Issue
Block a user