Skip to content

Commit

Permalink
Adding conda extra, pyyaml won't be installed by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
yeisonvargasf committed Aug 9, 2022
1 parent 69ba6dc commit b18762f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
*****
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

requirements = [
"packaging",
"pyyaml",
"toml",
]

Expand Down Expand Up @@ -44,6 +43,7 @@
],
python_requires=">=3.5",
extras_require={
'pipenv': ["pipenv"],
'pipenv': ["pipenv"],
'conda': ["pyyaml"]
}
)

0 comments on commit b18762f

Please sign in to comment.