]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
docs: acknowledge py2 and py3 where requirements.txt is mentioned 1476/head
authorShraddha Agrawal <shraddha.agrawal000@gmail.com>
Wed, 13 May 2020 22:20:33 +0000 (03:50 +0530)
committerShraddha Agrawal <shraddha.agrawal000@gmail.com>
Wed, 13 May 2020 22:20:33 +0000 (03:50 +0530)
This commit removes mention of deleted file requirements.txt and
acknowledges the two separate requirements files, requirements2.txt
and requirements3.txt, for python2 and python3 respectively, in the
following files:

1. MANIFEST.in
2. docs/INSTALL.rst

MANIFEST.in
docs/INSTALL.rst

index bb73d962696aa5a87706306fe06a33f5f2743ce6..d9d67348ad677a94a6269b8c729fdf486ed8d513 100644 (file)
@@ -1,2 +1,3 @@
 include *.rst
-include requirements.txt
+include requirements2.txt
+include requirements3.txt
index 2af50af8eb522e423de3dedce594b0b9a1ee15f4..e0e23e853192c7d02eecb749a55dc2954a60c522 100644 (file)
@@ -33,14 +33,15 @@ First install the non-PyPI dependencies::
 
 Next, clone its `git repository <https://github.com/ceph/teuthology/>`__,
 create a `virtualenv <http://virtualenv.readthedocs.org/en/latest/>`__, and
-install dependencies::
+install dependencies. For python3, the instructions are given below. For
+python2, replace the ``requirements3.txt`` with ``requirements2.txt`` ::
 
     git clone https://github.com/ceph/teuthology/
     cd teuthology
     virtualenv ./virtualenv
     source virtualenv/bin/activate
     pip install --upgrade pip
-    pip install -r requirements.txt
+    pip install -r requirements3.txt
     python setup.py develop
 
 
@@ -65,11 +66,12 @@ interacting with the services to schedule tests and to report the test results.
 Update Dependencies
 -------------------
 
-We track the dependencies using ``requirements.txt``. These packages are tested,
-and should work with teuthology. But if you want to bump up the versions of them,
-please use the following command to update this file ::
+We track the dependencies using ``requirements2.txt`` and ``requirements3.txt`` 
+for python2 and python3 respectively. These packages are tested, and should work 
+with teuthology. But if you want to bump up the versions of them, please use the 
+following command to update these files. For python3 ::
 
-  pip-compile -qo- | sed '/^-e / d' > requirements.txt
+  pip-compile -qo- | sed '/^-e / d' > requirements3.txt
 
 Please upgrade pip-tool using following command ::