From e9f8cb6f499cf6a622503475657caa0703c301f4 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Mon, 28 Aug 2017 18:01:00 +0200 Subject: [PATCH] Install using distutils from cloned repo. --- Makefile | 2 +- docs/src/cdist-install.rst | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 417140c5..e33be3f2 100644 --- a/Makefile +++ b/Makefile @@ -198,7 +198,7 @@ archlinux-release: $(ARCHLINUX_FILE) # Release # -$(PYTHON_VERSION): .git/refs/heads/master +$(PYTHON_VERSION) version: .git/refs/heads/master $(helper) version # Code that is better handled in a shell script diff --git a/docs/src/cdist-install.rst b/docs/src/cdist-install.rst index 1e1e8245..f9feef36 100644 --- a/docs/src/cdist-install.rst +++ b/docs/src/cdist-install.rst @@ -40,6 +40,20 @@ To install cdist, execute the following commands: cd cdist export PATH=$PATH:$(pwd -P)/bin +To install cdist with distutils from cloned repository, first you have to +create version.py: + +.. code-block:: sh + + make version + +Then, as usual, you execute the following command: + +.. code-block:: sh + + python setup.py install + + Available versions in git ^^^^^^^^^^^^^^^^^^^^^^^^^