Skip to content

Commit

Permalink
added pckgs versions and fixed .bat file
Browse files Browse the repository at this point in the history
  • Loading branch information
Arslan committed May 7, 2024
1 parent 0cff4f7 commit 5b8d8da
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-win-exe-w-embed-py.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:

jobs:
build:
build-win-executable-with-embeddable-python:
runs-on: windows-latest

env:
Expand All @@ -13,7 +13,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Download Python embeddable version
- name: Download python embeddable version
run: |
mkdir python-${{ env.PYTHON_VERSION }}
curl -O https://www.python.org/ftp/python/${{ env.PYTHON_VERSION }}/python-${{ env.PYTHON_VERSION }}-embed-amd64.zip
Expand All @@ -39,8 +39,8 @@ jobs:

- name: Create run_app.bat file
run: |
echo @echo off > run_app.bat
echo .\\python-${{ env.PYTHON_VERSION }}\\python -m streamlit run app.py local >> run_app.bat
echo '@echo off' > run_app.bat
echo '.\\python-${{ env.PYTHON_VERSION }}\\python -m streamlit run app.py local' >> run_app.bat
- name: Create All-in-one executable folder
run: |
Expand Down
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# the requirements.txt file is intended for deployment on streamlit cloud and if the simple container is built
# note that it is much more restricted in terms of installing third-parties / etc.
# preferably use the batteries included or simple docker file for local hosting
streamlit
streamlit-plotly-events
streamlit-aggrid
pandas
numpy
plotly
pyopenms
captcha
streamlit==1.33.0
streamlit-plotly-events==0.0.6
streamlit-aggrid==0.3.4.post3
pandas==2.1.2
numpy==1.25.2
plotly==5.18.0
pyopenms==3.1.0
captcha==0.5.0

0 comments on commit 5b8d8da

Please sign in to comment.