File tree 5 files changed +44
-8
lines changed
5 files changed +44
-8
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " pip"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " monthly"
7
+ - package-ecosystem : " github-actions"
8
+ directory : " /"
9
+ schedule :
10
+ interval : monthly
Original file line number Diff line number Diff line change
1
+ name : Publish
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+ workflow_dispatch :
7
+
8
+ jobs :
9
+ publish :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - name : Set up Python
14
+ uses : actions/setup-python@v5
15
+ with :
16
+ python-version : 3.8
17
+ - name : Install Flit
18
+ run : pip install flit
19
+ - name : Install Dependencies
20
+ run : make install
21
+ - name : Install build dependencies
22
+ run : pip install build
23
+ - name : Build distribution
24
+ run : python -m build
25
+ - name : Publish
26
+ uses : pypa/gh-action-pypi-publish@v1.8.14
27
+ with :
28
+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 1
- """PyHTML"""
1
+ """PyHTML is HTML in python objects """
2
2
3
- __version__ = "0.1a1 "
3
+ __version__ = "0.1.0 "
Original file line number Diff line number Diff line change 1
1
import typing as t
2
2
3
- from ellar .common .compatible import AttributeDict
4
3
from typing_extensions import Unpack
5
4
6
5
from .spec import CSSAttributesSpec
7
6
from .utils import snake_to_kebab
8
7
9
8
10
- class StyleCSS (AttributeDict ):
9
+ class StyleCSS (dict ):
11
10
def __init__ (self , ** styles : Unpack [CSSAttributesSpec ]) -> None :
12
11
super ().__init__ (** styles )
13
12
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ authors = [
12
12
{name = " Ezeudoh Tochukwu" , email = " tochukwu.ezeudoh@gmail.com" },
13
13
]
14
14
dynamic = [" version" , " description" ]
15
- requires-python = " >=3.7 "
15
+ requires-python = " >=3.8 "
16
16
readme = " README.md"
17
- home-page = " https://github.com/python-ellar/ellar "
17
+ home-page = " https://github.com/python-ellar/py-html "
18
18
classifiers = [
19
19
" Intended Audience :: Information Technology" ,
20
20
" Intended Audience :: System Administrators" ,
@@ -39,8 +39,7 @@ classifiers = [
39
39
" Topic :: Internet :: WWW/HTTP" ,
40
40
]
41
41
42
- dependencies = [
43
- ]
42
+ dependencies = []
44
43
45
44
[project .urls ]
46
45
Documentation = " https://python-ellar.github.io/py-html/"
You can’t perform that action at this time.
0 commit comments