-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
84 additions
and
9 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
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 |
---|---|---|
@@ -1,6 +1,38 @@ | ||
Installation | ||
============ | ||
|
||
A working C compiler is required because the official Argon2 C implementation is shipped along with the Python CFFI bindings. | ||
Otherwise a plain ``pip install argon2_cffi`` should just work. | ||
Binary `wheels <http://pythonwheels.com>`_ are offered for OS X and Windows. | ||
Generally speaking, | ||
|
||
.. code-block:: bash | ||
pip install argon2_cffi | ||
should be all it takes. | ||
|
||
But since Argon2 isn't packaged on any major distribution yet, ``argon2_cffi`` vendors its C code which depending on the platform leads to complications. | ||
|
||
|
||
Linux | ||
----- | ||
|
||
A working C compiler is required. | ||
If you've been able to compile Python CFFI extensions before, ``argon2_cffi`` should install without any problems. | ||
|
||
If something goes wrong, please try to update your ``pip`` and ``setuptools`` first: | ||
|
||
.. code-block:: bash | ||
pip install -U pip setuptools | ||
Also please note CFFI's dependencies_. | ||
|
||
|
||
OS X & Windows | ||
-------------- | ||
|
||
Binary `wheels <http://pythonwheels.com>`_ are provided on PyPI_. | ||
With a recent-enough ``pip`` and ``setuptools``, they should be used automatically. | ||
|
||
.. _PyPI: https://pypi.python.org/pypi/argon2_cffi/ | ||
.. _dependencies: https://cffi.readthedocs.org/en/latest/installation.html#platform-specific-instructions |
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