Installation Guide ================== Note: this installation process has been tested on * windows / amd64 platform To install CodPy, you can use pip: .. code-block:: bash pip install codpy Alternatively, if you are installing from source: .. code-block:: bash git clone https://github.com/codpy2020/codpy cd codpy pip install . Requirements ~~~~~~~~~~~~~~~~~ Make sure to have these installed before proceeding. * `python3.9.XX `_: a valid python python 3.9 installation. *NOTE* : Python installations differ from one machine to another. The python root folder is denoted "\" in the rest of this document. The software `Everything `_, or other finding files tools can be useful locating the file python.exe on windows machine... Dev installation ~~~~~~~~~~~~~~~~~ For information, we list the softwares that we are using for our dev configuration : * `GitHub Desktop `_ * `R`_: use any CRAN mirror for download * `RStudio `_: see the download link, then choose the free version * `MiKTEX `_: see the download tab * `Everything `_ * `Visual Studio Code `_ Those installations should be fine using the latest (64 bits) version and the default settings for each software . *Note* Once R and RStudio are installed, open the latter. In the console, enter "*install.packages("rmarkdown")*" to install `RMarkdown `_. Installation procedure ~~~~~~~~~~~~~~~~~ We suppose that there is a valid python installation on the host machine. The reader can * either use its main python environment ```` * or create a virtual python environment ````, generally an advisable practice: First open a command shell ``cmd``, create a virtual environment and activate it using the commands .. code-block:: bash python -m venv .\venv .\venv\Scripts\activate *NOTE* : In the rest of the installation procedure, we consider a virtual environment . One can replace with if a main environment installation is desired, for dev purposes for instance. Open a command shell ```cmd```, and pip install codpy .. code-block:: bash pip install codpy==0.XX.XX or from a local repository .. code-block:: bash pip install /dist/codpy-XXXX.whl The installation procedure might take some minutes depending on your internet connection. Basic checking ~~~~~~~~~~~~~~~~~ open a python shell and import codpy .. code-block:: bash python import codpy It should run silently.