GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — python-rapidjson/Makefile.virtualenv at master · python-rapidjson/python-rapidjson Expand file tree/ Copy pathMakefile.virtualenvMore file actions 48 lines (37 loc) · 1.26 KB / Copy pathMakefile.virtualenvFile metadata and controls48 lines (37 loc) · 1.26 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 # -*- coding: utf-8 -*- # :Project: python-rapidjson -- Virtualenv related targets # :Author: Lele Gaifax <[email protected]> # :License: MIT License # :Copyright: © 2017 Lele Gaifax # ACTIVATE_SCRIPT := $(VENVDIR)/bin/activate PIP := $(VENVDIR)/bin/pip REQUIREMENTS ?= requirements.txt REQUIREMENTS_TIMESTAMP := $(VENVDIR)/$(REQUIREMENTS).timestamp help:: @printf "\nPython virtualenv related targets\n" @printf "=================================\n\n" help:: @printf "virtualenv\n\tsetup the Python virtualenv and install required packages\n" .PHONY: virtualenv virtualenv: $(VENVDIR) requirements $(VENVDIR): @echo "Bootstrapping Python 3 virtualenv..." @$(SYS_PYTHON) -m venv --prompt $(notdir $(TOPDIR)) $@ 2>/dev/null || $(SYS_PYTHON) -m venv $@ @$(MAKE) upgrade-pip help:: @printf "upgrade-pip\n\tupgrade pip\n" .PHONY: upgrade-pip upgrade-pip: @echo "Upgrading pip..." @$(PIP) install --no-cache-dir --upgrade pip help:: @printf "requirements\n\tinstall/update required Python packages\n" .PHONY: requirements requirements: $(REQUIREMENTS_TIMESTAMP) $(REQUIREMENTS_TIMESTAMP): $(REQUIREMENTS) @echo "Installing pre-requirements..." @PATH=$(TOPDIR)/bin:$(PATH) $(PIP) install --no-cache-dir -r $(REQUIREMENTS) @touch $@ distclean:: rm -rf $(VENVDIR) |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |