From fa909c9b1b2a8f7b7145b8924c366df9f15e2dc4 Mon Sep 17 00:00:00 2001 From: Sina Hajikazemi Date: Mon, 29 Apr 2024 14:39:22 +0200 Subject: [PATCH] minor changes --- core/input_parser.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/input_parser.py b/core/input_parser.py index 437b020..2499f20 100644 --- a/core/input_parser.py +++ b/core/input_parser.py @@ -32,7 +32,7 @@ def __init__(self, name, techmap_dir_path, ts_dir_path, db_conn, scenario): self.param_index_dict = Param_Index_Dict - file_path = pkg_resources.resource_filename('cesm', 'Core/init_queries.sql') + file_path = pkg_resources.resource_filename('cesm', 'core/init_queries.sql') # Read queries from the .sql file with open(file_path, 'r') as file: queries = file.read() diff --git a/setup.py b/setup.py index e2fa591..3f7056b 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='cesm', - version='0.0.8', + version='0.0.9', packages=find_packages(), description='Compact Energy System Modeling Tool (CESM)', long_description=""" @@ -13,7 +13,7 @@ An example of the German energy system is also provided. The results of the model are compatible with the results of the paper "Barbosa, Julia, Christopher Ripp, and Florian Steinke. Accessible Modeling of the German Energy Transition: An Open, Compact, and Validated Model. Energies 14, no. 23 (2021)" """, package_data={ - 'cesm': ['Data/*'], + '': ['Data/*'], }, long_description_content_type='text/markdown', py_modules=['cesm'], # Assuming cesm.py is in the root of your package directory