File tree Expand file tree Collapse file tree 6 files changed +67
-1
lines changed Expand file tree Collapse file tree 6 files changed +67
-1
lines changed Original file line number Diff line number Diff line change 1818
1919 steps :
2020 - uses : actions/checkout@v5
21+ with :
22+ fetch-depth : 0
2123 - name : Set up Python ${{ matrix.python-version }}
2224 uses : actions/setup-python@v6
2325 with :
Original file line number Diff line number Diff line change 1212
1313 steps :
1414 - uses : actions/checkout@v5
15+ with :
16+ fetch-depth : 0
1517 - name : Set up Python
1618 uses : actions/setup-python@v6
1719 with :
Original file line number Diff line number Diff line change 1111
1212 steps :
1313 - uses : actions/checkout@v5
14+ with :
15+ fetch-depth : 0
1416 - name : Set up Python
1517 uses : actions/setup-python@v6
1618 with :
Original file line number Diff line number Diff line change 1212
1313 steps :
1414 - uses : actions/checkout@v5
15+ with :
16+ fetch-depth : 0
1517 - name : Set up Python
1618 uses : actions/setup-python@v6
1719 with :
Original file line number Diff line number Diff line change 1+ name : Test Builds
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ zipapp-build :
11+ name : Test Zipapp Build
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v5
16+ with :
17+ fetch-depth : 0
18+ - name : Set up Python
19+ uses : actions/setup-python@v6
20+ with :
21+ python-version : " 3.10" # build with oldest supported python
22+ - name : Build the Zipapp
23+ run : >-
24+ python3 scripts/build_zipapp.py
25+ - name : Store the built zipapp
26+ uses : actions/upload-artifact@v5
27+ with :
28+ name : pythonfinder-zipapp
29+ path : dist/
30+ retention-days : 1
31+
32+ wheel-build :
33+ name : Test Wheel Build
34+ runs-on : ubuntu-latest
35+
36+ steps :
37+ - uses : actions/checkout@v5
38+ with :
39+ fetch-depth : 0
40+ - name : Set up Python
41+ uses : actions/setup-python@v6
42+ with :
43+ python-version : " 3.10"
44+ - name : Install pypa/build
45+ run : >-
46+ python3 -m
47+ pip install
48+ build
49+ --user
50+ - name : Build a binary wheel and a source tarball
51+ run : python3 -m build
52+ - name : Store the distribution packages
53+ uses : actions/upload-artifact@v5
54+ with :
55+ name : python-package-distributions
56+ path : dist/
57+ retention-days : 1
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ authors = [
1212 { name = " David C Ellis" },
1313]
1414readme = " README.md"
15+ license = " MIT"
16+ license-files = [" LICENSE" ]
1517requires-python = " >=3.10"
1618dependencies = [
1719 " ducktools-lazyimporter>=0.7.3" ,
@@ -24,7 +26,6 @@ classifiers = [
2426 " Programming Language :: Python :: 3.11" ,
2527 " Programming Language :: Python :: 3.12" ,
2628 " Programming Language :: Python :: 3.13" ,
27- " License :: OSI Approved :: MIT License" ,
2829 " Operating System :: MacOS" ,
2930 " Operating System :: Microsoft :: Windows :: Windows 10" ,
3031 " Operating System :: POSIX :: Linux" ,
You can’t perform that action at this time.
0 commit comments