started main script
This commit is contained in:
parent
1393226d47
commit
bb7bc29775
2 changed files with 18 additions and 0 deletions
10
3con
Normal file
10
3con
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
if [ "$1" = "-test" ]; then
|
||||||
|
pip install --pre --upgrade -r requirements.txt
|
||||||
|
mkdir -p $XDG_CACHE_HOME/3con/pyc
|
||||||
|
python3 -dd -R -vv -Wa -X importtime -X pycache_prefix=$XDG_CACHE_HOME/3con/pyc -X dev src/__main__.py -devmode=full
|
||||||
|
else
|
||||||
|
pip install --upgrade 3con
|
||||||
|
mkdir -p $XDG_CACHE_HOME/3con/pyc
|
||||||
|
python3 -R -X pycache_prefix=$XDG_CACHE_HOME/3con/pyc src/__main__.py
|
||||||
|
fi
|
8
src/__main__.py
Normal file
8
src/__main__.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
if __name__ == "__main__": raise ModuleNotFoundError("HEY! NO IMPORTING!!!")
|
||||||
|
|
||||||
|
from textual.app import App
|
||||||
|
|
||||||
|
class MyApp(app):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue