Skip to content

Commit

Permalink
Merge pull request #59 from xpodev/dev/0.9.1
Browse files Browse the repository at this point in the history
Fix workflow
  • Loading branch information
neriyaco authored Aug 26, 2024
2 parents 43afbf0 + 23331df commit 6a81fbf
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ permissions:
jobs:
deploy:
runs-on: ubuntu-latest

env:
SEAMLESS_VERSION_ONLY: true

steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 6 additions & 5 deletions seamless/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from .context import Context
from .core import JS
from .rendering import render
from .core import Component
from .html import *
import os

from .version import version as __version__

if not os.environ.get("SEAMLESS_VERSION_ONLY", False):
from ._init import *

__all__ = [
"Component",
"A",
Expand Down Expand Up @@ -79,4 +79,5 @@
"Context",
"JS",
"render",
"__version__",
]
82 changes: 82 additions & 0 deletions seamless/_init.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
from .context import Context
from .core import JS
from .rendering import render
from .core import Component
from .html import *
from .version import version as __version__

__all__ = [
"Component",
"A",
"Abbr",
"Address",
"Area",
"Article",
"Aside",
"B",
"Base",
"BlockQuote",
"Body",
"Br",
"Button",
"Canvas",
"Cite",
"Code",
"Col",
"Div",
"Em",
"Embed",
"Footer",
"Form",
"Fragment",
"H1",
"H2",
"H3",
"H4",
"H5",
"H6",
"Head",
"Header",
"Hr",
"Html",
"I",
"Img",
"Input",
"Label",
"Li",
"Link",
"Main",
"Meta",
"Nav",
"Ol",
"Option",
"P",
"Param",
"Pre",
"Script",
"Section",
"Select",
"Small",
"Source",
"Span",
"Strong",
"Style",
"Sub",
"Sup",
"Table",
"TBody",
"Td",
"TextArea",
"Th",
"THead",
"Time",
"Title",
"Tr",
"Track",
"U",
"Ul",
"Wbr",
"Context",
"JS",
"render",
]

0 comments on commit 6a81fbf

Please sign in to comment.