Skip to content

Commit

Permalink
Add PYTHON SCRIPT.
Browse files Browse the repository at this point in the history
  • Loading branch information
kraasch committed Feb 26, 2024
1 parent 79b55e8 commit db8c75a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ hub_update:
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/core/vipe)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/core/xpose)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/core/xpose_rm)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/util/add_hms)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/helpers/python/py_env_activate)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/helpers/python/py_env_deactivate)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/helpers/python/py_env_make)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/nicetohave/natofy)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/util/add_hms)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/wrappers/curl/web_goodreads)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/wrappers/curl/web_sunmap)"
@hub_ctrl ${HUB_MODE} ln "$(realpath ./src/wrappers/curl/web_yt_get_id)"
Expand All @@ -24,4 +27,3 @@ hub_update:

mytest:
bash ./test/add_hms_test.sh

3 changes: 3 additions & 0 deletions src/helpers/python/py_env_activate
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

source ./.env/bin/activate
3 changes: 3 additions & 0 deletions src/helpers/python/py_env_deactivate
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

deactivate
3 changes: 3 additions & 0 deletions src/helpers/python/py_env_make
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

python3 -m venv .env

0 comments on commit db8c75a

Please sign in to comment.