File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22Reflex theme for Pelican static site generator
33'''
44
5- from pkg_resources import resource_filename
5+ from importlib . resources import files
66
77
88def path ():
99 '''
1010 Return path to theme templates and assets.
1111 Use this as value for THEME in Pelican settings.
1212 '''
13- return resource_filename ( __name__ , '' )
13+ return str ( files ( __name__ ) )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ classifiers = [
1818 " Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System" ,
1919 " Topic :: Text Processing :: Markup :: HTML" ,
2020]
21- requires-python = " >=3.8 "
21+ requires-python = " >=3.9 "
2222
2323[project .urls ]
2424Homepage = " https://github.com/haplo/python-theme-reflex"
You can’t perform that action at this time.
0 commit comments