Skip to content

Commit

Permalink
Remove Pathlib dependancy
Browse files Browse the repository at this point in the history
  • Loading branch information
Khole Jones committed Apr 1, 2021
1 parent 0194091 commit 2b9c0c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyhiveapi/apyhiveapi/hive.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Start Hive Session."""
import sys
import traceback
from pathlib import Path
from os.path import expanduser
from typing import Optional

from aiohttp import ClientSession
Expand All @@ -18,7 +18,7 @@
from .session import HiveSession

debug = []
home = str(Path.home())
home = expanduser("~")
logger.add(
home + "/pyhiveapi_debug.log", filter=lambda record: record["level"].name == "DEBUG"
)
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ requests
aiohttp
pyquery
unasync
pathlib
loguru
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def requirements_from_file(filename="requirements.txt"):


setup(
version="0.4.0",
version="0.4.1",
package_data={"data": ["*.json"]},
include_package_data=True,
cmdclass={
Expand Down

0 comments on commit 2b9c0c6

Please sign in to comment.