magic-afm 1.0.0b0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ # GitHub syntax highlighting
2
+ pixi.lock linguist-language=YAML
3
+
@@ -0,0 +1,38 @@
1
+ name: Build
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ Build:
8
+ runs-on: ${{ matrix.os }}
9
+ strategy:
10
+ matrix:
11
+ os: [windows-latest] #, macos-11, macos-10.15]
12
+ fail-fast: true
13
+ timeout-minutes: 10
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ with:
17
+ fetch-depth: 0
18
+ - name: Setup python
19
+ uses: actions/setup-python@v4
20
+ with:
21
+ python-version: "3.11"
22
+ architecture: x64
23
+ - name: Install deps
24
+ run: pip install -r requirements.txt
25
+ - name: Discover version
26
+ run: python magic_afm/make_version.py
27
+ - name: Build with Pyinstaller
28
+ run: pyinstaller -y magic_gui_${RUNNER_OS::3}.spec
29
+ shell: bash
30
+ - name: Tidy dist
31
+ if: startsWith( runner.os, 'mac')
32
+ run: rm -rf dist/magic_gui
33
+ - name: Upload build artifact
34
+ uses: actions/upload-artifact@v3
35
+ with:
36
+ name: magic_gui-${{ matrix.os }}-build
37
+ path: dist/
38
+ if-no-files-found: error
@@ -0,0 +1,12 @@
1
+ __pycache__
2
+ build
3
+ dist
4
+ /magic_afm/_version.py
5
+ /example.data/
6
+ /.idea
7
+ *.exe
8
+ .ipynb_checkpoints
9
+ # pixi environments
10
+ .pixi
11
+ *.egg-info
12
+