Skip to content

Commit 9dac338

Browse files
AbdulkadirAashishsingh18
authored andcommitted
Prepare packaging for Windows 10/11
1 parent 0895d6e commit 9dac338

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.gif filter=lfs diff=lfs merge=lfs -text
22
*.png filter=lfs diff=lfs merge=lfs -text
33
*.svg filter=lfs diff=lfs merge=lfs -text
4+
*.ico filter=lfs diff=lfs merge=lfs -text

NiBAx/resources/icon.ico

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:fc41a0551a74641e3475a428a7b68c99e7fbb518e89d58a903f9e0388debd2d4
3+
size 67646

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,22 @@ The data file can be passed as command line argument `--data_file` as shown belo
102102
NiBAx --data_file istaging.pkl.gz
103103
```
104104

105+
## Build executable package for Windows 10/11
106+
We use (beeware/briefcase)[https://github.com/beeware/briefcase)] to package
107+
the software in Windows 10/11.
108+
109+
```shell
110+
briefcase create
111+
briefcase update
112+
briefcase package
113+
```
114+
115+
The result is an installer `NiBAx.msi` that will install the app in the
116+
user's profile. The installation does not require administrator rights.
117+
105118
## Disclaimer
106119
- The software has been designed for research purposes only and has neither been reviewed nor approved for clinical use by the Food and Drug Administration (FDA) or by any other federal/state agency.
107120
- By using NiBAx, the user agrees to the following license: https://www.med.upenn.edu/cbica/software-agreement-non-commercial.html
108121

109122
## Contact
110-
For more information and support, please post on the [Discussions](https://github.com/CBICA/NiBAx/discussions) section or contact <a href="mailto:[email protected]">CBICA Software</a>.
123+
For more information and support, please post on the [Discussions](https://github.com/CBICA/NiBAx/discussions) section or contact <a href="mailto:[email protected]">CBICA Software</a>.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ packages = [
2727

2828
[tool.briefcase]
2929
project_name = "NiBAx"
30-
name = "NiBAx"
30+
name = "[NiBAx]"
3131
bundle = "com.example"
3232
version = "0.1"
3333
description = "BrainChart Utility and Analysis Package"
@@ -37,9 +37,9 @@ authors = [
3737
"Randa Melhem <[email protected]>"
3838
]
3939
keywords = ["neuro-imaging", "MRI", "big data"]
40-
4140
readme = "README.md"
42-
41+
icon = "NiBAx/resources/icon"
42+
installer_icon = "NiBAx/resources/icon"
4343
include = ["NiBAx/plugins/data/MUSE_ROI_Dictionary.csv",
4444
"NiBAx/**/*.ui",
4545
"NiBAx/**/*.yapsy-plugin",

0 commit comments

Comments
 (0)