Skip to content

Commit

Permalink
v1.5.3: now also correctly resolving home directory
Browse files Browse the repository at this point in the history
  • Loading branch information
richrobe committed Feb 19, 2023
1 parent bd30ed9 commit f70c6b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fau_colors/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.5.2"
__version__ = "1.5.3"

from fau_colors._utils import export_as_gpl, export_as_tex
from fau_colors.fonts import register_fausans_font
Expand Down
4 changes: 2 additions & 2 deletions fau_colors/fonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ def register_fausans_font():
"""
possible_paths = [
Path("/Library/Fonts"), # macOS
Path("~/Library/Fonts"), # macOS
Path.home().joinpath("Library/Fonts"), # macOS
Path("/usr/local/share/fonts"), # Linux
Path("/usr/share/fonts"), # Linux
Path("~/.fonts"), # Linux
Path.home().joinpath(".fonts"), # Linux
Path("C:/Windows/Fonts/"), # Windows
]
for path in possible_paths:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "fau_colors"
version = "1.5.2"
version = "1.5.3"
description = "The official colors of FAU as matplotlib/seaborn colormaps"
authors = [
"Robert Richer <[email protected]>",
Expand Down

0 comments on commit f70c6b4

Please sign in to comment.