Skip to content

Commit

Permalink
Add cli as extra option in pip
Browse files Browse the repository at this point in the history
  • Loading branch information
Saurabh Kumar committed Dec 25, 2017
1 parent 584d20f commit 4015eb2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.rst
Expand Up @@ -117,6 +117,12 @@ Installation

pip install -U python-dotenv

For commandline support, use the `cli` option during installation:

::

pip install -U "python-dotenv[cli]"

Command-line interface
======================

Expand Down
7 changes: 4 additions & 3 deletions setup.py
Expand Up @@ -19,9 +19,9 @@
keywords=['environment variables', 'deployments', 'settings', 'env', 'dotenv',
'configurations', 'python'],
packages=['dotenv'],
install_requires=[
'click>=5.0',
],
extras_require={
'cli': ['click>=5.0', ],
},
entry_points='''
[console_scripts]
dotenv=dotenv:cli.cli
Expand Down Expand Up @@ -49,6 +49,7 @@
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
Expand Down

0 comments on commit 4015eb2

Please sign in to comment.