mirror of
				https://github.com/gristlabs/grist-core.git
				synced 2025-06-13 20:53:59 +00:00 
			
		
		
		
	Pyodide packages needed rebuilding, and the pyodide project has moved on a bit so a new version number is needed. The new packages have already been built and pushed to S3. To verify, go to `sandbox/pyodide` and follow the README there. Then at top level do `GRIST_SANDBOX_FLAVOR=pyodide`. Try to create and edit a document using formulas. It should work.
		
			
				
	
	
		
			29 lines
		
	
	
		
			899 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			899 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# This number should be bumped up if making a non-additive change
 | 
						|
# to python packages.
 | 
						|
GRIST_PYODIDE_VERSION = 3
 | 
						|
 | 
						|
default:
 | 
						|
	echo "Welcome to the pyodide sandbox"
 | 
						|
	echo "make fetch_packages  # gets python packages prepared earlier"
 | 
						|
	echo "make build_packages  # build python packages from scratch"
 | 
						|
	echo "make save_packages   # upload python packages to fetch later"
 | 
						|
	echo "make clean_packages  # remove local cache of python packages"
 | 
						|
	echo "setup  # get pyodide node package, and python packages"
 | 
						|
 | 
						|
fetch_packages:
 | 
						|
	node ./packages.js https://s3.amazonaws.com/grist-pynbox/pyodide/packages/v$(GRIST_PYODIDE_VERSION)/ _build/packages/
 | 
						|
 | 
						|
build_packages:
 | 
						|
	./build_packages.sh
 | 
						|
 | 
						|
save_packages:
 | 
						|
	aws s3 sync _build/packages s3://grist-pynbox/pyodide/packages/v$(GRIST_PYODIDE_VERSION)
 | 
						|
 | 
						|
clean_packages:
 | 
						|
	rm -rf _build/packages
 | 
						|
	rm -rf _build/pyodide/grist-packages
 | 
						|
 | 
						|
setup:
 | 
						|
	./setup.sh
 | 
						|
	make fetch_packages
 |