Skip to content

Commit

Permalink
Rename lib to pirateweather_translations and update setup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander0042 committed Jan 16, 2025
1 parent c981c07 commit c903faf
Show file tree
Hide file tree
Showing 61 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import os
import re
import importlib.util
from lib.translation import Translation
from pirateweather_translations.translation import Translation

# The directory containing language template files
lang_dir = os.path.join(os.path.dirname(__file__), "lib", "lang")
lang_dir = os.path.join(os.path.dirname(__file__), "pirateweather_translations", "lang")

exports = {}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from setuptools import find_packages, setup

__version__ = "0.0.3"
__version__ = "0.0.4"


with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.md")) as f:
Expand All @@ -22,7 +22,8 @@
keywords="weather API pirateweather translations",
url=repo_url,
download_url=f"{repo_url}/archive/{__version__}.tar.gz",
packages=find_packages(),
packages=find_packages(where="pirateweather_translations"),
package_dir={"": "pirateweather_translations"},
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
)
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import re
import importlib.util
from lib.translation import Translation
from pirateweather_translations.translation import Translation


@pytest.fixture
Expand Down

0 comments on commit c903faf

Please sign in to comment.