Skip to content
Snippets Groups Projects
Makefile 1.05 KiB
Newer Older
Eloy Retamino's avatar
 
Eloy Retamino committed
TEST_MODULES=hbp_nrp_virtual_coach/pynrp

#modules that are installable (ie: ones w/ setup.py)
Eloy Retamino's avatar
 
Eloy Retamino committed
INSTALL_MODULES=hbp_nrp_virtual_coach

#packages to cover
COVER_PACKAGES=hbp_nrp_virtual_coach

#documentation to build
DOC_MODULES=hbp_nrp_virtual_coach/doc
DOC_REPO=--doc-repo ssh://bbpcode.epfl.ch/infra/jekylltest
PYTHON_PIP_VERSION?=pip>=19
##### DO NOT MODIFY BELOW #####################

python_version_full := $(shell python -c "import sys; maj, min = sys.version_info[:2]; print('{}.{}'.format(maj, min))" 2>&1)

ifeq ($(NRP_INSTALL_MODE),user)
        include $(HBP)/user-scripts/config_files/user_makefile
        CI_REPO?=git@bitbucket.org:hbpneurorobotics/admin-scripts.git
        CI_DIR?=$(HBP)/admin-scripts/ContinuousIntegration
        THIS_DIR:=$(PWD)

        FETCH_CI := $(shell \
                if [ ! -d $(CI_DIR) ]; then \
                        cd $(HBP) && git clone $(CI_REPO) > /dev/null && cd $(THIS_DIR);\
                fi;\
                echo $(CI_DIR) )

        include $(FETCH_CI)/python/common_makefile
endif