mirror of
https://github.com/rsms/inter.git
synced 2024-11-22 02:44:34 +03:00
tooling: initial conversion from plain python virtualenv to pipenv. #551
This commit is contained in:
parent
bf6776a15e
commit
903722aab6
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
|
||||
misc/ttf2woff/* linguist-vendored
|
||||
misc/UnicodeData.txt linguist-generated
|
||||
Pipfile.lock linguist-generated
|
||||
|
15
Makefile
15
Makefile
@ -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
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.*
|
Loading…
Reference in New Issue
Block a user