From b18762f6a8dae320d50da46df3b84420fd5cbe61 Mon Sep 17 00:00:00 2001 From: Yeison Vargas Date: Tue, 9 Aug 2022 10:34:11 -0500 Subject: [PATCH] Adding conda extra, pyyaml won't be installed by default. --- README.rst | 6 ++++++ setup.py | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 07e9055..463db7c 100644 --- a/README.rst +++ b/README.rst @@ -59,6 +59,12 @@ If you want to update Pipfiles, install the pipenv extra: $ pip install dparse[pipenv] +If you want to parse conda YML files, install the conda extra: + +.. code-block:: console + + $ pip install dparse[conda] + ***** Usage ***** diff --git a/setup.py b/setup.py index be971d9..412e748 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,6 @@ requirements = [ "packaging", - "pyyaml", "toml", ] @@ -44,6 +43,7 @@ ], python_requires=">=3.5", extras_require={ - 'pipenv': ["pipenv"], + 'pipenv': ["pipenv"], + 'conda': ["pyyaml"] } )