Skip to content

Commit 6ecda8e

Browse files
committed
Adding information on Python packages (pip list) as a text file in Potku GitHub packages. Also READMEs are added.
1 parent 6710109 commit 6ecda8e

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/package_potku.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
cd ${{runner.workspace}}/potku
4949
pip install pipenv
5050
pipenv install
51+
pipenv requirements > pipenv_requirements.txt
52+
pipenv run pip list > pip_list.txt
5153
cd ${{runner.workspace}}/potku/dev
5254
for /f %%A in ('pipenv run python external_file_manager.py fetch') do set "fails=%%A"
5355
if "%fails%" neq "0" (
@@ -91,6 +93,8 @@ jobs:
9193
cd ${{runner.workspace}}/potku
9294
pip install pipenv
9395
pipenv install
96+
pipenv run pip list > pip_list.txt
97+
pipenv requirements > pipenv_requirements.txt
9498
cd ${{runner.workspace}}/potku/dev
9599
fails=$(pipenv run python external_file_manager.py fetch)
96100
if [ "$fails" -ne 0 ]; then
@@ -136,6 +140,8 @@ jobs:
136140
cd ${{runner.workspace}}/potku
137141
pip install pipenv
138142
pipenv install
143+
pipenv run pip list > pip_list.txt
144+
pipenv requirements > pipenv_requirements.txt
139145
cd ${{runner.workspace}}/potku/dev
140146
fails=$(pipenv run python external_file_manager.py fetch)
141147
if [ "$fails" -ne 0 ]; then

potku.spec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ system = platform.system()
66

77
if system == "Darwin":
88
ADD_TK_AND_TCL = False
9-
extras = [("external/lib/*.dylib", "."), ("README_macOS.txt", "./") ]
9+
extras = [("external/lib/*.dylib", ".")]
1010
icon = "ui_icons/potku/potku_logo_icons/potku_logo_icon.icns"
1111
console = False
1212

@@ -52,14 +52,14 @@ a = Analysis(
5252
pathex=[],
5353
binaries=bins,
5454
datas=[
55-
("documentation/Potku-User-Manual.pdf", "documentation/"),
56-
("documentation/Potku_data_explained.pdf", "documentation/"),
55+
("documentation/*.pdf", "documentation/"),
5756
("external/bin/jibal.conf", "external/bin/"),
5857
("external/share", "external/share"),
5958
("ui_files", "ui_files"),
6059
("ui_icons", "ui_icons"),
6160
("images", "images"),
62-
("version.txt", "./"),
61+
("*.txt", "./"),
62+
("*.md", "./"),
6363
*extras
6464
],
6565
hiddenimports=[

0 commit comments

Comments
 (0)