Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workflow #59

Merged
merged 1 commit into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
]