From 11f4904429f0804181f447b7cc6bfc0a93a412db Mon Sep 17 00:00:00 2001 From: Gram Date: Thu, 14 Nov 2019 16:27:43 +0100 Subject: [PATCH] fix a few details and release --- dephell_setuptools/__init__.py | 2 +- dephell_setuptools/_cmd.py | 2 +- dephell_setuptools/_constants.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dephell_setuptools/__init__.py b/dephell_setuptools/__init__.py index b8997b3..ba04665 100644 --- a/dephell_setuptools/__init__.py +++ b/dephell_setuptools/__init__.py @@ -9,7 +9,7 @@ from ._static import StaticReader -__version__ = '0.1.2' +__version__ = '0.2.1' __all__ = [ diff --git a/dephell_setuptools/_cmd.py b/dephell_setuptools/_cmd.py index ab14980..ecb7ed1 100644 --- a/dephell_setuptools/_cmd.py +++ b/dephell_setuptools/_cmd.py @@ -46,7 +46,7 @@ def content(self) -> Dict[str, Any]: env={'PYTHONPATH': str(Path(__file__).parent.parent)}, ) if result.returncode != 0: - raise RuntimeError(result.stderr.decode().split('\n')[-1]) + raise RuntimeError(result.stderr.decode().strip().split('\n')[-1]) with open(output_json.name) as stream: content = json.load(stream) diff --git a/dephell_setuptools/_constants.py b/dephell_setuptools/_constants.py index 29ca259..2ca244e 100644 --- a/dephell_setuptools/_constants.py +++ b/dephell_setuptools/_constants.py @@ -5,6 +5,7 @@ 'author_email', 'author', 'classifiers', + 'dependency_links', 'description', 'download_url', 'extras_require',