Skip to content

Commit

Permalink
Update install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
RKrahl committed Dec 31, 2023
1 parent 3648042 commit 695ea27
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 18 deletions.
98 changes: 98 additions & 0 deletions doc/src/08A1264175343E6E.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFgqIDYBEADs08vJtPmKgfaSkKTtHWaYOmCchuXtaTd766b3tDaL55XfTucS
OGVUk1hbaMl8aAZoEmwCDIIMFUGL21QNdZTPLOWv29qXNnUjQEB7vUoJvafZPzTh
+38PDkOeLCQ67J/OSHkRQvEFGc6EXNo/GbtZ1oAGQXFeMbcFg7EuEQvEbHxyJAMo
6a+q9fHB/YkTJVkMFkPnBw2Lbywa5LVJ6ZZWk+IyxbeIZhcjTkpaZMSQhNJAF14q
4uKOGhVupfKZmvwnEvrNwp5ImTiiu6mRuywVDwxXUVersCuIhL/ZQeKI1ImboxW3
v3p0msxzPaGi0tyb4H7mi/W5rat0u+Zm2EaxYjJDADaNSluxZweUgCi2V/tCzZtP
FgnElFYPHphay8rZ8bbcw5YfcFrC9tdF0sDD1p7qmpOnVlKPw67RwS148+ew7sxy
gW56qJP6AgbVVInJU2XNziphpPBbOYkPhYEa0HsAO62ubESPHJHTHuaMe0m+BbNh
bS2jtPrCaSC5ci6fsVsz0nl5zIFmpDOWKzHNjl5rCcQeV6WXCXeW+f8OfFTe0BXb
nn2qTq2nY+QMNXMiJ0RKwD/XCCphXLlkN5Oflt3JBAEMFMDbptUf8Zd74+xrdjQj
byFu3FLB+3h1oMX+7heoul4LQVbE/qH/fkUIPsSky51I4XWLlgnVy1PQKwARAQAB
tB1Sb2xmIEtyYWhsIDxyb2xmQHJvdGtyYXV0LmRlPokCPAQTAQIAJgIbAwcLCQgH
AwIBBhUIAgkKCwQWAgMBAh4BAheABQJYKisKAhkBAAoJEAihJkF1ND5uLzQQALnu
VyxylxLR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rLhT21ffSEYC/TZYD39O748lUgcBDH/czTfH+pf1mapjOFaLD+c4lA/hN19
Su6RqJ8oYTMNsFNWzMmUAsWrCSFnGFhXeOW6kH7AqJ6FMHnsAiCHuhJGKi0Qe76n
wBDr0ut1XqELHK0hC+LJlHufbfsniuG8QqLzmmWr8aX64pyPU8FtB1hYG8tBjkqj
fKIbRKnsBwARAQABiQIfBBgBAgAJBQJYKiA2AhsMAAoJEAihJkF1ND5uOoYQAIgg
DsLqsjW0awdhf/nNK3haDbvYQhtmOmskcKQW7fQXHm0kqGoIliQN57fJNH88OT+9
Rp6wYjKPblVSNIbcQ8M2nXEVkNtAtO7uC2WVcZeFNVQIsrXX22302riADy7IK51f
RILnCdyrePehxfyscw0VhJIYDx76iZVM0lNKfuZj00CLXOG76V5/T1o4uu8UAVe5
cW/astcA+u8pU2u7dyUMcaU9kK0rDz2HI+b1CMs+EGPnEVOqML+RxGTIufYUoqSX
tWHXsMSWq6IK22A42m4E6HNtcNAKUK7jGLoOdHA0QaFVxHmajG+pUM9MWTcvZrsn
ZFDlDhyqrF4LBPLG5vk+C4HxdOIEWC+X5GrdESjYWxv14M0ZxustEGkf5VQHdbgE
W+RcqkwkEbiDjLoaFvOZu+NSy0EXxDtBTlkllBJMn01IAxAVgP8M7T/fZ7lg4uLz
RBRhm0T9/IvWjAx0wsiNr45iJ++5sJCQWxU4lWFjSrACPzCY0fP2nDMMBfkn58w/
r0/tDFumEvBXHCVzdhLzUbetrzmNwGaZdg14ahlEnbbhQktYc+rWbE+ObX74WwHk
0ziR94MVr/9v144v0GuvBZaycUfe1ljHiPjMnjroODyZ48NjRWY83NolEaQhg+Zf
BzxtQzjcEYPj7MEcrHXhzM7gQQ8wnzhc39eK6bKv
=IIFi
-----END PGP PUBLIC KEY BLOCK-----
97 changes: 79 additions & 18 deletions doc/src/install.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,35 @@
Installation instructions
=========================

See :ref:`install-using-pip` for the short version of the install
instructions.


System requirements
-------------------

+ Python 2.7 or 3.4 and newer.
+ Python 3.4 or newer.
+ `setuptools`_.
+ `pytest`_ 3.7.0 or newer.

Optional library packages
.........................

These packages are not needed to install or use pytest-dependency.
They are mostly only needed by the maintainer.

+ `git-props`_

This package is used to extract some metadata such as the version
number out of git, the version control system. All releases embed
that metadata in the distribution. So this package is only needed
to build out of the plain development source tree as cloned from
GitHub, but not to build a release distribution.

+ `distutils-pytest`_ >= 0.2

Only needed to run the test suite.


.. _install-other-packages:

Expand All @@ -30,40 +52,79 @@ Interaction with other packages
you do not enable parallelization in pytest-xdist.


Download
--------
Installation
------------

The latest release version of pytest-dependency is available on the
`Python Package Index (PyPI)`__.
.. _install-using-pip:

.. __: https://pypi.python.org/pypi/pytest_dependency/
Installation using pip
......................

You can install pytest-dependency from the `Python Package Index
(PyPI)`__ using pip::

Installation
------------
$ pip install pytest-dependency

1. Download the sources, unpack, and change into the source directory.
Note that while installing from PyPI is convenient, there is no way to
verify the integrity of the source distribution, which may be
considered a security risk.

2. Build (optional)::
.. __: `PyPI site`_

Manual installation from the source distribution
................................................

Release distributions are published on the GitHub. Steps to manually
build from the source distribution:

1. Download the sources.

The `Release Page`__ offers download of the source distribution
``pytest-dependency-X.X.tar.gz`` and a detached signature file
``pytest-dependency-X.X.tar.gz.asc``, where the "X.X" is to be
replaced by the version number.

2. Check the signature (optional).

You may verify the integrity of the source distribution by checking
the signature::

$ gpg --verify pytest-dependency-0.5.1.tar.gz.asc

Check failure on line 92 in doc/src/install.rst

View workflow job for this annotation

GitHub Actions / doc8

D002

Trailing whitespace
gpg: assuming signed data in 'pytest-dependency-0.5.1.tar.gz'
gpg: Signature made Fri Feb 14 21:58:30 2020 CET
gpg: using RSA key B4EB920861DF33F31B55A07C08A1264175343E6E
gpg: Good signature from "Rolf Krahl <[email protected]>" [ultimate]
gpg: aka "Rolf Krahl <[email protected]>" [ultimate]
gpg: aka "Rolf Krahl <[email protected]>" [ultimate]

The signature should be made by the key
:download:`0xB4EB920861DF33F31B55A07C08A1264175343E6E
<08A1264175343E6E.pub>`. The fingerprint of that key is::

B4EB 9208 61DF 33F3 1B55 A07C 08A1 2641 7534 3E6E

3. Unpack and change into the source directory.

4. Build (optional)::

$ python setup.py build

3. Test (optional)::
5. Test (optional)::

$ python -m pytest tests
$ python setup.py test

4. Install::
6. Install::

$ python setup.py install

The last step might require admin privileges in order to write into
the site-packages directory of your Python installation.

For production use, it is always recommended to use the latest release
version from PyPI, see above.
.. __: `GitHub latest release`_


.. _setuptools: http://pypi.python.org/pypi/setuptools/
.. _pytest: http://pytest.org/
.. _git-props: https://github.com/RKrahl/git-props
.. _distutils-pytest: https://github.com/RKrahl/distutils-pytest
.. _pytest-order: https://github.com/pytest-dev/pytest-order
.. _pytest-xdist: https://github.com/pytest-dev/pytest-xdist
.. _PyPI site: https://pypi.python.org/pypi/pytest_dependency/
.. _GitHub latest release: https://github.com/RKrahl/pytest-dependency/releases/latest

0 comments on commit 695ea27

Please sign in to comment.