Kozea / Pyphen

Hy-phen-ation made easy
https://courtbouillon.org/pyphen
Other
198 stars 24 forks source link

Avoid use of __file__ #25

Closed jayvdb closed 1 year ago

jayvdb commented 4 years ago

Like https://github.com/Kozea/tinycss2/issues/21 , however it will be a bit more difficult in this case, and needing to get a reader from importlib.resources and use contents() instead of os.listdir()

liZe commented 1 year ago

This is now only the case as a fallback, and will disappear when older versions of Python are deprecated.