Require Python 3.7.x for Transcrypt 3.7.16
This commit is contained in:
parent
80e22aa63c
commit
f73e2eaa53
7
build.sh
7
build.sh
@ -1,6 +1,13 @@
|
|||||||
#!/bin/env bash
|
#!/bin/env bash
|
||||||
OUTFILE=html/bundle.js
|
OUTFILE=html/bundle.js
|
||||||
|
|
||||||
|
# Check Python version
|
||||||
|
pyver=$(python -V | awk '{print $2;}')
|
||||||
|
if [[ ! $pyver == 3.7.* ]]; then
|
||||||
|
echo Python 3.7.x is required, got version $pyver
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Transcrypt
|
# Transcrypt
|
||||||
transcrypt $@ --nomin pyRCV2.transcrypt || exit 1
|
transcrypt $@ --nomin pyRCV2.transcrypt || exit 1
|
||||||
|
|
||||||
|
8
requirements.txt
Normal file
8
requirements.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Dependencies
|
||||||
|
Transcrypt==3.7.16
|
||||||
|
|
||||||
|
# Dependency tree
|
||||||
|
mypy==0.790
|
||||||
|
mypy-extensions==0.4.3
|
||||||
|
typed-ast==1.4.1
|
||||||
|
typing-extensions==3.7.4.3
|
Reference in New Issue
Block a user