tooling: initial conversion from plain python virtualenv to pipenv. #551
This commit is contained in:
parent
bf6776a15e
commit
903722aab6
5 changed files with 1979 additions and 12 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
|
@ -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
|
# note: docs/* and examples/* are considered "linguist-documentation" by default
|
||||||
misc/ttf2woff/* linguist-vendored
|
misc/ttf2woff/* linguist-vendored
|
||||||
misc/UnicodeData.txt linguist-generated
|
misc/UnicodeData.txt linguist-generated
|
||||||
|
Pipfile.lock linguist-generated
|
||||||
|
|
|
||||||
15
Makefile
15
Makefile
|
|
@ -557,15 +557,20 @@ list:
|
||||||
# ---------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------
|
||||||
# initialize toolchain
|
# 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
|
@mkdir -p build
|
||||||
test -d build/venv || python3 -m venv build/venv
|
[ ! -f build/venv/config.stamp ] || rm -rf build/venv
|
||||||
. $(VENV) ; pip install -Ur requirements.txt
|
[ -d build/venv ] || python3 -m venv build/venv
|
||||||
|
. $(VENV) ; pip install pipenv
|
||||||
|
. $(VENV) ; pipenv install
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
venv-update:
|
||||||
|
. $(VENV) ; pipenv update
|
||||||
|
|
||||||
reset: clean
|
reset: clean
|
||||||
rm -rf build/venv
|
rm -rf build/venv
|
||||||
|
|
||||||
.PHONY: venv reset
|
.PHONY: venv venv-update reset
|
||||||
|
|
|
||||||
18
Pipfile
Normal file
18
Pipfile
Normal 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
1950
Pipfile.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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.*
|
|
||||||
Reference in a new issue