python-dependency-injector/docs/main/installation.rst

38 lines
1005 B
ReStructuredText
Raw Normal View History

2015-04-02 22:29:49 +03:00
Installation
============
2015-08-31 16:31:38 +03:00
*Dependency Injector* framework is distributed by PyPi_.
2015-07-28 09:46:35 +03:00
2015-08-31 16:31:38 +03:00
Latest stable version (and all previous versions) of *Dependency Injector*
framework can be installed from PyPi_:
2015-05-12 16:41:57 +03:00
.. code-block:: bash
2015-04-02 22:29:49 +03:00
2015-08-03 22:36:08 +03:00
# Installing latest version:
2015-08-31 16:31:38 +03:00
pip install dependency_injector
2015-08-03 22:36:08 +03:00
# Installing particular version:
pip install dependency_injector==0.11.0
2015-07-28 09:46:35 +03:00
2015-05-12 16:41:57 +03:00
Sources can be cloned from GitHub_:
.. code-block:: bash
2015-04-02 22:29:49 +03:00
2015-08-31 16:31:38 +03:00
git clone https://github.com/rmk135/dependency_injector.git
2015-04-02 22:29:49 +03:00
2015-08-31 16:31:38 +03:00
Also all *Dependency Injector* releases can be downloaded from
`GitHub releases page`_.
2015-04-02 22:29:49 +03:00
Verification of currently installed version could be done using
:py:obj:`dependency_injector.VERSION` constant:
.. code-block:: bash
>>> from dependency_injector import VERSION
>>> VERSION
'0.11.0'
2015-08-31 16:31:38 +03:00
.. _PyPi: https://pypi.python.org/pypi/dependency_injector
.. _GitHub: https://github.com/rmk135/dependency_injector
.. _GitHub releases page: https://github.com/rmk135/dependency_injector/releases