mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-23 01:56:58 +03:00
38 lines
977 B
ReStructuredText
38 lines
977 B
ReStructuredText
Installation
|
|
============
|
|
|
|
*Dependency Injector* framework is distributed by PyPi_.
|
|
|
|
Latest stable version (and all previous versions) of *Dependency Injector*
|
|
framework can be installed from PyPi_:
|
|
|
|
.. code-block:: bash
|
|
|
|
# Installing latest version:
|
|
pip install dependency_injector
|
|
|
|
# Installing particular version:
|
|
pip install dependency_injector==0.9.0
|
|
|
|
Sources can be cloned from GitHub_:
|
|
|
|
.. code-block:: bash
|
|
|
|
git clone https://github.com/rmk135/dependency_injector.git
|
|
|
|
Also all *Dependency Injector* releases can be downloaded from
|
|
`GitHub releases page`_.
|
|
|
|
Verification of currently installed version could be done using ``di.VERSION``
|
|
constant:
|
|
|
|
.. code-block:: bash
|
|
|
|
>>> import dependency_injector as di
|
|
>>> di.VERSION
|
|
'0.10.0'
|
|
|
|
.. _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
|