Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
bump version to 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
orsinium committed Apr 22, 2019
1 parent 5189b88 commit a9c9477
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dephell/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

__version__ = '0.5.2'
__version__ = '0.5.3'
__author__ = 'Gram (@orsinium)'
__license__ = 'MIT'
8 changes: 4 additions & 4 deletions dephell/actions/_python.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# external
from dephell_pythons import Finder, Python, Pythons
from dephell_pythons import Python, Pythons

# app
from ..config import Config
from ..converters import CONVERTERS
from ._venv import get_venv


def get_python(config: Config, allow_shims: bool = True) -> Python:
def get_python(config: Config) -> Python:
"""Get prefered Python.
Lookup order:
Expand All @@ -18,7 +18,7 @@ def get_python(config: Config, allow_shims: bool = True) -> Python:
Use it when you want to create new venv.
"""
pythons = Pythons(finder=Finder(allow_shims=allow_shims))
pythons = Pythons()

# defined in config
python = config.get('python')
Expand All @@ -45,4 +45,4 @@ def get_python_env(config: Config) -> Python:
venv = get_venv(config=config)
if venv.exists():
return venv.python
return get_python(config=config, allow_shims=False)
return get_python(config=config)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ import_heading_localfolder = "app"

[tool.poetry]
name = "dephell"
version = "0.5.2"
version = "0.5.3"
authors = ["Gram <master_fess@mail.ru>"]
description = "Dependency resolution for Python"
readme = "README.md"
Expand Down

0 comments on commit a9c9477

Please sign in to comment.