File tree Expand file tree Collapse file tree 3 files changed +37
-3
lines changed Expand file tree Collapse file tree 3 files changed +37
-3
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will upload a Python Package using hatch when a release is created
2
+
3
+ name : Publish Python Package
4
+
5
+ on :
6
+ push :
7
+ tags :
8
+ - v[0-9]+.[0-9]+.[0-9]+*
9
+
10
+ permissions :
11
+ contents : read
12
+
13
+ jobs :
14
+ deploy :
15
+
16
+ runs-on : ubuntu-latest
17
+
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - name : Set up Python
21
+ uses : actions/setup-python@v3
22
+ with :
23
+ python-version : ' 3.12'
24
+ - name : Install dependencies and build package
25
+ run : |
26
+ pip install --upgrade pip build twine
27
+ python -m build
28
+ - name : Publish package
29
+ env :
30
+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
31
+ TWINE_USERNAME : __token__
32
+ TWINE_REPOSITORY : pypi
33
+ run : |
34
+ python -m twine upload dist/*
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ build-backend = "setuptools.build_meta"
9
9
10
10
[project ]
11
11
name = " scwidgets"
12
- description = " ipywidgets for the creation of interactive code demos and educational notebooks "
12
+ description = " A collection of widgets to prepare interactive scientific visualisations, including user code input and validation "
13
13
readme = " README.rst"
14
- requires-python = " >=3.8 "
14
+ requires-python = " >=3.9 "
15
15
license = {text = " BSD-3-Clause" }
16
16
classifiers = [
17
17
" Intended Audience :: Science/Research" ,
Original file line number Diff line number Diff line change 1
- __version__ = "0.0 .0-dev "
1
+ __version__ = "0.1 .0-dev0 "
2
2
__authors__ = "the scicode-widgets developer team"
3
3
4
4
from ._css_style import CssStyle , get_css_style
You can’t perform that action at this time.
0 commit comments