diff --git a/README.rst b/README.rst index 125fb1c5..86bafa1a 100644 --- a/README.rst +++ b/README.rst @@ -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 ====================== diff --git a/setup.py b/setup.py index de55f70d..ad0b447a 100644 --- a/setup.py +++ b/setup.py @@ -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 @@ -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',