-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update version * WIP: release 0.0.111 * update getting started * update docs * update getting started example * update README * update getting started * remove files * update README
- Loading branch information
1 parent
024d9f5
commit 4436e23
Showing
9 changed files
with
690 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
{ | ||
"python.linting.flake8Enabled": true, | ||
"python.linting.enabled": true | ||
"python.linting.enabled": true, | ||
"grammarly.selectors": [ | ||
{ | ||
"language": "markdown", | ||
"scheme": "file" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
set -e | ||
|
||
# Make sure pyenv is installed | ||
if [ ! -d "$HOME/.pyenv" ] | ||
then | ||
echo "Installing Pyenv" | ||
curl https://pyenv.run | bash | ||
|
||
# Register .pyenv to .zshrc | ||
if [ -f "$HOME/.zshrc" ] | ||
then | ||
echo "Registering Pyenv to .zshrc" | ||
echo '' >> $HOME/.zshrc | ||
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> $HOME/.zshrc | ||
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> $HOME/.zshrc | ||
echo 'eval "$(pyenv init -)"' >> $HOME/.zshrc | ||
fi | ||
|
||
# Register .pyenv to .bashrc | ||
if [ -f "$HOME/.bashrc" ] | ||
then | ||
echo "Registering Pyenv to .bashrc" | ||
echo '' >> $HOME/.bashrc | ||
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> $HOME/.bashrc | ||
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> $HOME/.bashrc | ||
echo 'eval "$(pyenv init -)"' >> $HOME/.bashrc | ||
fi | ||
|
||
# Activate pyenv | ||
echo "Activating pyenv" | ||
export PYENV_ROOT="$HOME/.pyenv" | ||
command -v pyenv >/dev/null || (export PATH="$PYENV_ROOT/bin:$PATH" && eval "$(pyenv init -)") | ||
|
||
# Install python 3.10.0 | ||
echo "Installing python 3.10.0" | ||
pyenv install 3.10.0 | ||
|
||
# Set global python to 3.10.0 | ||
echo "Set python 3.10.0 as global" | ||
pyenv global 3.10.0 | ||
fi | ||
|
||
echo "Installing Zrb" | ||
pip install zrb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi" | |
|
||
[project] | ||
name = "zrb" | ||
version = "0.0.110" | ||
version = "0.0.111" | ||
authors = [ | ||
{ name="Go Frendi Gunawan", email="[email protected]" }, | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters