Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: third_party/gsutil/third_party/rsa/doc/installation.rst

Issue 1377933002: [catapult] - Copy Telemetry's gsutilz over to third_party. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Rename to gsutil. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/gsutil/third_party/rsa/doc/index.rst ('k') | third_party/gsutil/third_party/rsa/doc/intro.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/third_party/rsa/doc/installation.rst
diff --git a/third_party/gsutil/third_party/rsa/doc/installation.rst b/third_party/gsutil/third_party/rsa/doc/installation.rst
new file mode 100644
index 0000000000000000000000000000000000000000..afe093f2cbe446830cb9e275144c162dde4040d7
--- /dev/null
+++ b/third_party/gsutil/third_party/rsa/doc/installation.rst
@@ -0,0 +1,62 @@
+Installation
+==================================================
+
+Installation can be done in various ways. The simplest form uses pip
+or easy_install. Either one will work::
+
+ pip install rsa
+ easy_install rsa
+
+Depending on your system you may need to use ``sudo pip`` or ``sudo
+easy_install``.
+
+Installation from source is also quite easy. Download the source and
+then type::
+
+ python setup.py install
+
+or if that doesn't work::
+
+ sudo python setup.py install
+
+
+The sources are tracked in our `Mercurial repository`_ at
+bitbucket.org. It also hosts the `issue tracker`_.
+
+.. _`Mercurial repository`: https://bitbucket.org/sybren/python-rsa
+.. _`issue tracker`:
+ https://bitbucket.org/sybren/python-rsa/issues?status=new&status=open
+
+
+Dependencies
+--------------------------------------------------
+
+Python-RSA has very few dependencies. As a matter of fact, to use it
+you only need Python itself. Loading and saving keys does require an
+extra module, though: pyasn1. If you used pip or easy_install like
+described above, you should be ready to go.
+
+
+Development dependencies
+--------------------------------------------------
+
+In order to start developing on Python-RSA you need a bit more. Use
+pip to install the development requirements in a virtual environment
+for Python 2.x::
+
+ virtualenv python-rsa-venv-py2x
+ . python-rsa-venv-py2x/bin/activate
+ pip install -r python-rsa/requirements-dev-py2x.txt
+
+or Python 3.x::
+
+ virtualenv python-rsa-venv-py3x
+ . python-rsa-venv-py3x/bin/activate
+ pip install -r python-rsa/requirements-dev-py3x.txt
+
+Once these are installed, use Mercurial_ to get a copy of the source::
+
+ hg clone https://bitbucket.org/sybren/python-rsa
+ python setup.py develop
+
+.. _Mercurial: http://hg-scm.com/
« no previous file with comments | « third_party/gsutil/third_party/rsa/doc/index.rst ('k') | third_party/gsutil/third_party/rsa/doc/intro.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698