@@ -7,14 +7,13 @@ Python Version
77
88.. note ::
99
10- Requires Python 3.9.0+ (due to PEP585 type-hinting e.g.
11- ``def my_func(var1 = list[str] ``)
10+ Requires Python 3.7+
1211
13- Once Python 3.9 is installed on the system, it's recommended to use a
12+ Once Python 3.7+ is installed on the system, it's recommended to use a
1413virtual environment to install the package to.
1514
1615In the directory you'd like to write your project/script, setup a python
17- virtual environment specifically with python3.9 and activate it. This
16+ virtual environment with the desired python version and activate it. This
1817is important if you have other versions of python installed on your
1918system.
2019
@@ -23,61 +22,57 @@ system.
2322 :~ $ python3.9 -m venv my_new_project
2423 :~ $ source my_new_project/bin/activate
2524 (my_new_project) :~ $ python3 --version
26- Python 3.9.0+
25+ Python 3.9.13
2726
28- Now you can install the package and run your python code
27+ Now you are ready to install the package and run your python code.
2928
30- .. code :: bash
29+ .. note ::
3130
32- (my_new_project) :~ $ pip install git+https://github.com/SPOpenSource/edgeconnect-python
33- ...
34- (my_new_project) :~ $ pip list
35- Package Version
36- --------------------- --------------------------------
37- certifi 2020.12.5
38- chardet 4.0.0
39- idna 2.10
40- pip 20.0.2
41- pkg-resources 0.0.0
42- requests 2.25.1
43- setuptools 44.0.0
44- pyedgeconnect 0.13.0a1.dev1+g45fd843.d20210428
45- urllib3 1.26.4
31+ Going forward, these commands assume you're within a Python 3.7+ venv, or Python 3.7+
32+ is the exclusive Python version installed in regard to referencing
33+ the use of ``pip ``.
34+
35+ If that is not the case, you can specifically append
36+ ``python3.x -m `` ahead of the ``pip install ... ``
4637
4738Install from PyPI
4839-------------------
4940
5041.. code :: bash
5142
5243 $ pip install pyedgeconnect
53-
44+ ...
45+ $ pip list
46+ Package Version
47+ ----------------------------- --------------------------------
48+ ... ...
49+ pyedgeconnect x.y.z
50+ ... ...
5451
5552 Install from GitHub
5653-------------------
5754
5855To install the most recent version of pyedgeconnect, open an
5956interactive shell and run:
6057
61- .. note ::
62-
63- These commands assume you're within a Python 3.9 venv, or Python 3.9
64- is the exclusive Python version installed in regard to referencing
65- the use of ``pip ``.
66-
67- If that is not the case, you can specifically append
68- ``python3.9 -m `` ahead of the ``pip install ... ``
69-
70- .. code :: python
58+ .. code :: bash
7159
72- pip install git+ https:// github.com/ SPOpenSource/ edgeconnect- python
60+ $ pip install git+https://github.com/SPOpenSource/edgeconnect-python
61+ ...
62+ $ pip list
63+ Package Version
64+ ----------------------------- --------------------------------
65+ ... ...
66+ pyedgeconnect x.y.z
67+ ... ...
7368
7469 To install a specific branch use the @branch syntax
7570
76- .. code :: python
77-
78- pip install git+ https:// github.com/ SPOpenSource/ edgeconnect- python@ < branch_name>
79-
71+ .. code :: bash
8072
73+ $ pip install git+https://github.com/SPOpenSource/edgeconnect-python@< branch_name>
74+ # Install the Development branch
75+ $ pip install git+https://github.com/SPOpenSource/edgeconnect-python@Development
8176
8277 Build Documentation Locally
8378---------------------------
@@ -87,8 +82,8 @@ to include sphinx and related packages, then in the docs directory run ``make ht
8782
8883.. code :: bash
8984
90- git clone https://github.com/SPOpenSource/edgeconnect-python.git
91- cd edgeconnect-python
92- pip install .[dev]
93- cd docs
94- make html
85+ $ git clone https://github.com/SPOpenSource/edgeconnect-python.git
86+ $ cd edgeconnect-python
87+ $ pip install .[dev]
88+ $ cd docs
89+ $ make html
0 commit comments