.. include:: project-links.txt .. include:: abbreviation.txt .. _installation-page: ============== Installation ============== **Note to Packagers: Please don't create PythonicGCodeMachine package (PiPY do the job)** On Windows ---------- Firstly, you have to install the `Anaconda Distribution `_ so as to get a full featured Python 3 environment. Then open the `Anaconda Navigator `_ and launch a console for your root environment. You can now run *pip* to install PythonicGCodeMachine in your root environment using this command: .. code-block:: sh pip install PythonicGCodeMachine On Linux -------- Firstly, you have to install Python 3 from your distribution. Then you can install PythonicGCodeMachine using *pip* or from source. See supra. On OSX ------ There are several ways to get Python on OSX: * use the built in Python * install `Miniconda `_ * install the `Anaconda Distribution `_. * install from Brew `brew install python3` **(reported to work)** You can install PythonicGCodeMachine using *pip* or from source. See supra. Installation from PyPi Repository --------------------------------- PythonicGCodeMachine is available on the Python Packages |Pypi|_ repository at |PythonicGCodeMachine@pypi| Run this command in the console to install the latest release: .. code-block:: sh pip install PythonicGCodeMachine Install a more recent version from Github ----------------------------------------- If you want to install a version which is not yet released on Pypi, you can use one of theses commands to install the stable or devel branch: .. code-block:: sh pip install git+https://github.com/FabriceSalvaire/PythonicGCodeMachine pip install git+https://github.com/FabriceSalvaire/PythonicGCodeMachine@devel Installation from Source ------------------------ The PythonicGCodeMachine source code is hosted at |PythonicGCodeMachine@github| .. add link to pages ... You have to solution to get the source code, the first one is to clone the repository, but if you are not familiar with Git then you can simply download an archive either from the PythonicGCodeMachine Pypi page (at the bottom) or the GitHub page (see clone or download button). To clone the Git repository, run this command in a console: .. code-block:: sh git clone https://github.com/FabriceSalvaire/PythonicGCodeMachine.git Then to build and install PythonicGCodeMachine run these commands: .. code-block:: sh python setup.py build python setup.py install Dependencies ------------ PythonicGCodeMachine requires the following dependencies: * |Python|_ 3 * |Numpy|_ Also it is recommanded to have these Python modules: * |IPython|_ .. * pip .. * virtualenv To generate the documentation, you will need in addition: * |Sphinx|_