Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Installing the library is quite simple. Either clone the GitLab repository or download the source code or use pip to do everything for you:

Installation

...

Installation

Always create a virtual environment with venv or any other preferred solution:

Code Block
languagebash
linenumbersfalse
pip install pyvss

From source via HTTPS or SSH:

Code Block
languagebash
linenumbersfalse
git clone https://gitlab-ee.eis.utoronto.ca/vss/py-vss
cd py-vss
python setup.py install
Info

To be able to fetch from gitlab-ee.eis.utoronto.ca via SSH, first make sure to add your client account’s SSH pub key in gitlab’s “Settings > SSH Keys”.

python3 -m venv .venv && source .venv/bin/activate && python3 -m pip install --upgrade pip

From PyPI:

Code Block
languagebash
linenumbersfalse
git clonepython3 git@gitlab-ee.eis.utoronto.ca:vss/py-vss
cd py-vss
python setup.py install
Info
Python 2.7 users must install enum34: pip install enum34.
-m pip install pyvss

macOS

You can use pip directly to install PyVSS. Run pip –version to see if your version of macOS already includes Python and pip.

Code Block
languagebash
linenumbersfalse
python3 -m pip --version
Info

If you don’t have pip installed, first download and install Python 3.7 8 for Mac from the downloads page of Python.org. Download and run the pip installation script provided by the Python Packaging Authority.

Code Block
languagebash
linenumbersfalse
curl -O https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py --user

...

Code Block
languagebash
linenumbersfalse
python3 -m pip install pyvss --upgrade --user

...

Info

If you don’t have pip installed, first download and install Python 3.7 8 for Linux from the downloads page of Python.org or using your preferred package manager. Download and run the pip installation script provided by the Python Packaging Authority.

Code Block
languagebash
linenumbersfalse
curl -O https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py --user

...

Code Block
languagenone
linenumbersfalse
C:\Windows\System32> python --version
Python 3.7.1
C:\Windows\System32> pip --version
pip 18.1 from c:\program files\python37python38\lib\site-packages\pip (python 3.78)
  1. Install PyVSS CLI using pip.

...

Code Block
languagebash
linenumbersfalse
pip install pyvss --upgrade --user
# or
easy_install -U pyvss