Skip to content

Commit 6a81fbf

Browse files
authored
Merge pull request #59 from xpodev/dev/0.9.1
Fix workflow
2 parents 43afbf0 + 23331df commit 6a81fbf

File tree

3 files changed

+91
-5
lines changed

3 files changed

+91
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ permissions:
1010
jobs:
1111
deploy:
1212
runs-on: ubuntu-latest
13+
14+
env:
15+
SEAMLESS_VERSION_ONLY: true
1316

1417
steps:
1518
- uses: actions/checkout@v4

seamless/__init__.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
from .context import Context
2-
from .core import JS
3-
from .rendering import render
4-
from .core import Component
5-
from .html import *
1+
import os
2+
63
from .version import version as __version__
74

5+
if not os.environ.get("SEAMLESS_VERSION_ONLY", False):
6+
from ._init import *
7+
88
__all__ = [
99
"Component",
1010
"A",
@@ -79,4 +79,5 @@
7979
"Context",
8080
"JS",
8181
"render",
82+
"__version__",
8283
]

seamless/_init.py

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
from .context import Context
2+
from .core import JS
3+
from .rendering import render
4+
from .core import Component
5+
from .html import *
6+
from .version import version as __version__
7+
8+
__all__ = [
9+
"Component",
10+
"A",
11+
"Abbr",
12+
"Address",
13+
"Area",
14+
"Article",
15+
"Aside",
16+
"B",
17+
"Base",
18+
"BlockQuote",
19+
"Body",
20+
"Br",
21+
"Button",
22+
"Canvas",
23+
"Cite",
24+
"Code",
25+
"Col",
26+
"Div",
27+
"Em",
28+
"Embed",
29+
"Footer",
30+
"Form",
31+
"Fragment",
32+
"H1",
33+
"H2",
34+
"H3",
35+
"H4",
36+
"H5",
37+
"H6",
38+
"Head",
39+
"Header",
40+
"Hr",
41+
"Html",
42+
"I",
43+
"Img",
44+
"Input",
45+
"Label",
46+
"Li",
47+
"Link",
48+
"Main",
49+
"Meta",
50+
"Nav",
51+
"Ol",
52+
"Option",
53+
"P",
54+
"Param",
55+
"Pre",
56+
"Script",
57+
"Section",
58+
"Select",
59+
"Small",
60+
"Source",
61+
"Span",
62+
"Strong",
63+
"Style",
64+
"Sub",
65+
"Sup",
66+
"Table",
67+
"TBody",
68+
"Td",
69+
"TextArea",
70+
"Th",
71+
"THead",
72+
"Time",
73+
"Title",
74+
"Tr",
75+
"Track",
76+
"U",
77+
"Ul",
78+
"Wbr",
79+
"Context",
80+
"JS",
81+
"render",
82+
]

0 commit comments

Comments
 (0)