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

42 lines
1.2 KiB
ReStructuredText
Raw Normal View History

2015-04-02 19:29:49 +00:00
Installation
============
2015-08-31 13:31:38 +00:00
*Dependency Injector* framework is distributed by PyPi_.
2015-07-28 06:46:35 +00:00
2015-08-31 13:31:38 +00:00
Latest stable version (and all previous versions) of *Dependency Injector*
framework can be installed from PyPi_:
2015-05-12 13:41:57 +00:00
.. code-block:: bash
2015-04-02 19:29:49 +00:00
2020-01-27 00:33:28 +00:00
pip install dependency-injector
2015-08-03 19:36:08 +00:00
2016-11-11 15:05:25 +00:00
.. note::
Some components of *Dependency Injector* are implemented as C extension types.
*Dependency Injector* is distributed as an archive with a source code, so
C compiler and Python header files are required for the installation.
2015-05-12 13:41:57 +00:00
Sources can be cloned from GitHub_:
.. code-block:: bash
2015-04-02 19:29:49 +00:00
git clone https://github.com/ets-labs/python-dependency-injector.git
2015-04-02 19:29:49 +00:00
2015-08-31 13:31:38 +00:00
Also all *Dependency Injector* releases can be downloaded from
`GitHub releases page`_.
2015-04-02 19:29:49 +00:00
Verification of currently installed version could be done using
:py:obj:`dependency_injector.VERSION` constant:
.. code-block:: bash
>>> import dependency_injector
>>> dependency_injector.__version__
2020-01-27 00:33:28 +00:00
'3.15.2'
2020-01-27 01:32:16 +00:00
.. _PyPi: https://pypi.org/project/dependency-injector/
.. _GitHub: https://github.com/ets-labs/python-dependency-injector
.. _GitHub releases page: https://github.com/ets-labs/python-dependency-injector/releases
2017-02-28 20:05:00 +00:00
.. disqus::