Installation¶
1. Using conda¶
Use the conda forge channel to install os_command_py.
$ conda install os_command_py -c conda-forge
3. Install os_command_py from source¶
The sources for Docking Python can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/samuelmurail/os_command_py
Or download the tarball:
$ curl -OJL https://github.com/samuelmurail/os_command_py/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install
4. Test Installation¶
To test the installation, simply use pytest
:
$ pytest
================================ test session starts ================================
platform darwin -- Python 3.8.2, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
rootdir: /Users/smurail/Documents/Code/os_command_py, inifile: pytest.ini
plugins: cov-2.8.1
collected 8 items
os_command_py/os_command.py ........ [100%]
================================= 8 passed in 1.18s =================================