Compare commits
3 Commits
6b5fcaf363
...
6e748c614c
Author | SHA1 | Date |
---|---|---|
Thomas Hobson | 6e748c614c | |
Thomas Hobson | 5221cdc7f4 | |
Shivansh-007 | 75957407ca |
|
@ -11,4 +11,4 @@ services:
|
||||||
- ./data/piston:/piston
|
- ./data/piston:/piston
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /piston/jobs:exec
|
- /piston/jobs:exec
|
||||||
- /tmp
|
- /tmp:exec
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
PREFIX=$(realpath $(dirname $0))
|
||||||
|
|
||||||
|
mkdir -p build
|
||||||
|
|
||||||
|
cd build
|
||||||
|
|
||||||
|
git clone https://github.com/Yeethon/cyeethon
|
||||||
|
cd cyeethon
|
||||||
|
|
||||||
|
# Building and installing yeethon
|
||||||
|
./configure --prefix "$PREFIX" --with-ensurepip=install
|
||||||
|
make -j$(nproc)
|
||||||
|
make install -j$(nproc)
|
||||||
|
|
||||||
|
# Cleaning up
|
||||||
|
cd ../../ && rm -rf build
|
||||||
|
|
||||||
|
# This is alpha version of python, hence most of the libraries are not compatible with python3.10.0
|
||||||
|
# As a result, they will not be compatible with yeethon3.10 too
|
||||||
|
# bin/pip3 install numpy scipy pandas pycrypto whoosh bcrypt passlib
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put 'export' statements here for environment variables
|
||||||
|
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "yeethon",
|
||||||
|
"version": "3.10.0",
|
||||||
|
"aliases": ["yeethon3"]
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
python3.10 "$@"
|
|
@ -0,0 +1,3 @@
|
||||||
|
li = ["N", "o", "t", "o", "k"]
|
||||||
|
yeet li[:3]
|
||||||
|
print(''.join(x.title() for x in li))
|
Loading…
Reference in New Issue