mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
5cdc7b2ea4
Summary: This updates the grist-core README to list specific features of Grist, to make it easier for a casual visitor to get a sense of its scope. Adds links to some new resources (reviews, templates, grist v airtable post) that could also help. Adds python3 to docker image so that templates work without fuss. Test Plan: existing tests should pass Reviewers: georgegevoian Reviewed By: georgegevoian Subscribers: dsagal, anaisconce Differential Revision: https://phab.getgrist.com/D3204
16 lines
392 B
Bash
Executable File
16 lines
392 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "Use Python3 if available and recent enough, otherwise Python2"
|
|
if python3 -c 'import sys; assert sys.version_info >= (3,9)' 2> /dev/null; then
|
|
# Default to python3 if recent enough.
|
|
buildtools/prepare_python3.sh
|
|
# Make sure python2 isn't around.
|
|
rm -rf venv
|
|
else
|
|
buildtools/prepare_python2.sh
|
|
# Make sure python3 isn't around.
|
|
rm -rf sandbox_venv3
|
|
fi
|