Metadata-Version: 2.1
Name: dephell-shells
Version: 0.1.5
Summary: activate virtual environment for current shell
Home-page: UNKNOWN
Author: Gram
Author-email: gram@orsinium.dev
License: MIT
Project-URL: repository, https://github.com/dephell/dephell_shells
Keywords: dephell packaging venv pipenv virtualenv
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Installation/Setup
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: Unix
Requires-Python: >=3.6
License-File: LICENSE


Dephell Shells
==============

Run shell for virtual environment.

Installation
------------

Install from `PyPI <https://pypi.org/project/dephell-shells/>`_\ :

.. code-block:: bash

   python3 -m pip install --user dephell_shells

Usage
-----

.. code-block:: python

   from pathlib import Path
   from dephell_shells import Shells

   shells = Shells(bin_path=Path('/home/gram/.../dephell-nLn6/bin'))
   shells.current
   # ZshShell(bin_path=Path('/home/gram/.../dephell-nLn6'), shell_path=Path('/usr/bin/zsh'))
   shells.current.run()

CLI
---

Show current shell path:

.. code-block:: bash

   $ python3 -m dephell_shells
   /bin/zsh

Actiavate venv:

.. code-block:: bash

   $ python3.7 -m dephell_shells ./venv/bin


