File tree Expand file tree Collapse file tree 3 files changed +65
-13
lines changed
Expand file tree Collapse file tree 3 files changed +65
-13
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ # Always tests wheel building, but only publish to PyPI on pushed tags.
4+ on :
5+ pull_request :
6+ paths-ignore :
7+ - " .github/workflows/*.yaml"
8+ - " !.github/workflows/release.yaml"
9+ push :
10+ paths-ignore :
11+ - " .github/workflows/*.yaml"
12+ - " !.github/workflows/release.yaml"
13+ branches-ignore :
14+ - " dependabot/**"
15+ - " pre-commit-ci-update-config"
16+ tags : ["**"]
17+ workflow_dispatch :
18+
19+ jobs :
20+ build-release :
21+ runs-on : ubuntu-22.04
22+ permissions :
23+ id-token : write
24+
25+ steps :
26+ - uses : actions/checkout@v3
27+ - uses : actions/setup-python@v4
28+ with :
29+ python-version : " 3.11"
30+
31+ - name : install build package
32+ run : |
33+ pip install --upgrade pip
34+ pip install build
35+ pip freeze
36+
37+ - name : build release
38+ run : |
39+ python -m build --sdist --wheel .
40+ ls -l dist
41+
42+ - name : publish to pypi
43+ uses : pypa/gh-action-pypi-publish@release/v1
44+ if : startsWith(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools>=64" , " setuptools_scm>=8" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " jupyterhub-fancy-profiles"
7+ dynamic = [" version" ]
8+ authors = [
9+ {name = " Yuvi" , email = " yuvipanda@gmail.com" },
10+ ]
11+ description = " Fancy Profile UI for jupyterhub-kubespawner"
12+ keywords = [" jupyterhub" ]
13+ readme = " README.md"
14+ classifiers = [
15+ " Programming Language :: Python :: 3" ,
16+ " License :: OSI Approved :: BSD License" ,
17+ " Operating System :: OS Independent" ,
18+ ]
19+
20+ [tool .setuptools_scm ]
21+ version_file = " jupyterhub_fancy_profiles/_version.py"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments