tooling: initial conversion from plain python virtualenv to pipenv. #551

This commit is contained in:
Rasmus Andersson 2023-04-05 13:23:06 -07:00
parent bf6776a15e
commit 903722aab6
5 changed files with 1979 additions and 12 deletions

1
.gitattributes vendored
View file

@ -6,3 +6,4 @@ misc/dist/about[[:space:]]hinted[[:space:]]fonts.txt text eol=crlf
# note: docs/* and examples/* are considered "linguist-documentation" by default
misc/ttf2woff/* linguist-vendored
misc/UnicodeData.txt linguist-generated
Pipfile.lock linguist-generated

View file

@ -557,15 +557,20 @@ list:
# ---------------------------------------------------------------------------------
# initialize toolchain
venv: build/venv/config.stamp
venv: build/venv/config2.stamp
build/venv/config.stamp: requirements.txt
build/venv/config2.stamp: Pipfile.lock Pipfile
@mkdir -p build
test -d build/venv || python3 -m venv build/venv
. $(VENV) ; pip install -Ur requirements.txt
[ ! -f build/venv/config.stamp ] || rm -rf build/venv
[ -d build/venv ] || python3 -m venv build/venv
. $(VENV) ; pip install pipenv
. $(VENV) ; pipenv install
touch $@
venv-update:
. $(VENV) ; pipenv update
reset: clean
rm -rf build/venv
.PHONY: venv reset
.PHONY: venv venv-update reset

18
Pipfile Normal file
View file

@ -0,0 +1,18 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
ufo2ft = "==2.30.0"
fontmake = "==3.4.*"
fontbakery = "==0.8.*"
skia-pathops = "==0.7.*"
gftools = "==0.9.*"
glyphspkg = "==0.1.*"
brotli = "==1.0.*"
[dev-packages]
[requires]
python_version = "3.7"

1950
Pipfile.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,7 +0,0 @@
ufo2ft==2.30.0
fontmake==3.4.*
fontbakery==0.8.*
skia-pathops==0.7.*
gftools==0.9.*
glyphspkg==0.1.*
brotli==1.0.*