Skip to content

Commit

Permalink
don't shadow the default packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Jul 4, 2024
1 parent 565e401 commit 61b75eb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pygeoweaver/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pygeoweaver.commands.pgw_interface import *
from pygeoweaver.log_config import setup_logging
from pygeoweaver.pgw_log_config import setup_logging


setup_logging()
6 changes: 3 additions & 3 deletions pygeoweaver/log_config.py → pygeoweaver/pgw_log_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ def setup_logging():
current_file = inspect.getfile(inspect.currentframe())
current_file_path = os.path.abspath(current_file)
current_folder = os.path.dirname(current_file_path)
# Get the absolute path to the logging.ini file
logging_ini_path = os.path.abspath(f'{current_folder}/logging.ini')
# Get the absolute path to the pgw_logging.ini file
logging_ini_path = os.path.abspath(f'{current_folder}/pgw_logging.ini')

# Open the logging.ini file
# Open the pgw_logging.ini file
with open(logging_ini_path, 'rt') as f:
config_str = f.read()
config_str = config_str.replace('%(log_file)s', os.path.expanduser(log_file))
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pygeoweaver"
version = "1.0.6"
version = "1.0.7"
authors = [{ name="Geoweaver team", email="[email protected]" }]
description = "This is a wrapper package of the Geoweaver app."
readme = "README.md"
Expand All @@ -22,7 +22,6 @@ dependencies = [
"ipython",
"pandas",
"halo",
"pydantic",
"tabulate",
]

Expand Down

0 comments on commit 61b75eb

Please sign in to comment.