forked from twisted/twisted
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge extras-3696-6: Support setuptools extras for optional dependenc…
…ies. Author: herrwolfe Reviewer: glyph, thijs Fixes: twisted#3696 Optional dependencies can be installed using the extra_requires facility provided by setuptools. git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43808 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
- Loading branch information
Showing
7 changed files
with
284 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ Contents: | |
:maxdepth: 2 | ||
:includehidden: | ||
|
||
installation/index | ||
core/index | ||
conch/index | ||
lore/index | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
|
||
:LastChangedDate: $LastChangedDate$ | ||
:LastChangedRevision: $LastChangedRevision$ | ||
:LastChangedBy: $LastChangedBy$ | ||
|
||
Installing Optional Dependencies | ||
================================ | ||
|
||
This document describes the optional dependencies that Twisted supports. | ||
The dependencies are python packages that Twisted's developers have found useful either for developing Twisted itself or for developing Twisted applications. | ||
|
||
The intended audience of this document is someone who is familiar with installing optional dependencies using `pip`_. | ||
|
||
If you are unfamiliar with the installation of optional dependencies, the `python packaging tutorial`_ can show you how. | ||
For a deeper explanation of what optional dependencies are and how they are declared, please see the `setuptools documentation`_. | ||
|
||
The following optional dependencies are supported: | ||
|
||
* **dev** - packages that aid in the development of Twisted itself. | ||
* `TwistedChecker`_ | ||
* `pyflakes`_ | ||
* `twisted-dev-tools`_ | ||
* `python-subunit`_ | ||
* `Sphinx`_ | ||
* `pydoctor`_ | ||
|
||
* **tls** - packages that are needed to work with TLS. | ||
* `pyOpenSSL`_ | ||
* `service_identity`_ | ||
|
||
* **conch** - packages for working with conch/SSH. | ||
* `gmpy`_ | ||
* `pyasn1`_ | ||
* `pycrypto`_ | ||
|
||
* **soap** - the `SOAPpy`_ package to work with SOAP. | ||
|
||
* **serial** - the `pyserial`_ package to work with serial data. | ||
|
||
* **all_non_platform** - installs **tls**, **conch**, **soap**, and **serial** options. | ||
|
||
* **osx_platform** - **all_non_platform** options and `pyobjc`_ to work with Objective-C apis. | ||
|
||
* **windows_platform** - **all_non_platform** options and `pypiwin32`_ to work with Windows's apis. | ||
|
||
.. _pip: https://pip.pypa.io/en/latest/quickstart.html | ||
.. _TwistedChecker: https://pypi.python.org/pypi/TwistedChecker | ||
.. _pyflakes: https://pypi.python.org/pypi/pyflakes | ||
.. _twisted-dev-tools: https://pypi.python.org/pypi/twisted-dev-tools | ||
.. _python-subunit: https://pypi.python.org/pypi/python-subunit | ||
.. _Sphinx: https://pypi.python.org/pypi/Sphinx/1.3b1 | ||
.. _pydoctor: https://pypi.python.org/pypi/pydoctor | ||
.. _pyOpenSSL: https://pypi.python.org/pypi/pyOpenSSL | ||
.. _service_identity: https://pypi.python.org/pypi/service_identity | ||
.. _gmpy: https://pypi.python.org/pypi/gmpy/1.17 | ||
.. _pyasn1: https://pypi.python.org/pypi/pyasn1 | ||
.. _pycrypto: https://pypi.python.org/pypi/pycrypto | ||
.. _SOAPpy: https://pypi.python.org/pypi/SOAPpy | ||
.. _pyserial: https://pypi.python.org/pypi/pyserial | ||
.. _pyobjc: https://pypi.python.org/pypi/pyobjc | ||
.. _pypiwin32: https://pypi.python.org/pypi/pypiwin32 | ||
.. _`setuptools documentation`: https://pythonhosted.org/setuptools/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies | ||
.. _`python packaging tutorial`: https://packaging.python.org/en/latest/installing.html#examples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
:LastChangedDate: $LastChangedDate$ | ||
:LastChangedRevision: $LastChangedRevision$ | ||
:LastChangedBy: $LastChangedBy$ | ||
|
||
Installing Twisted | ||
================== | ||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
howto/optional | ||
|
||
- :doc:`Installing Optional Dependencies <howto/optional>`: documentation on how to install Twisted's optional dependencies. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Optional dependencies can be installed using the extra_requires facility provided by setuptools. |