diff --git a/python/mpc_generator/MANIFEST.in b/python/mpc_generator/MANIFEST.in index 3b258244..6f0922cf 100644 --- a/python/mpc_generator/MANIFEST.in +++ b/python/mpc_generator/MANIFEST.in @@ -1,2 +1,3 @@ include CHANGELOG.md include *requirements.txt +include mpc_generator/mpc_sample/* diff --git a/python/mpc_generator/mpc_generator/generator.py b/python/mpc_generator/mpc_generator/generator.py index 8adfa702..f57ff7a8 100644 --- a/python/mpc_generator/mpc_generator/generator.py +++ b/python/mpc_generator/mpc_generator/generator.py @@ -19,7 +19,7 @@ from sqlparse.sql import Comparison, Identifier, Function from sqlparse.tokens import Punctuation, Operator, Name, Token -# from mpc_generator import mpc_func_str +from mpc_generator import mpc_func_str from mpc_generator.mpc_exception import MpcCodeGenException, MpcCodeGenErrorCode class SqlPattern(Enum): diff --git a/python/mpc_generator/mpc_generator/mpc_sample/__init__.py b/python/mpc_generator/mpc_generator/mpc_sample/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/python/mpc_generator/mpc_sample/aggr_func_only.mpc b/python/mpc_generator/mpc_generator/mpc_sample/aggr_func_only.mpc similarity index 100% rename from python/mpc_generator/mpc_sample/aggr_func_only.mpc rename to python/mpc_generator/mpc_generator/mpc_sample/aggr_func_only.mpc diff --git a/python/mpc_generator/mpc_sample/aggr_func_with_group_by.mpc b/python/mpc_generator/mpc_generator/mpc_sample/aggr_func_with_group_by.mpc similarity index 100% rename from python/mpc_generator/mpc_sample/aggr_func_with_group_by.mpc rename to python/mpc_generator/mpc_generator/mpc_sample/aggr_func_with_group_by.mpc diff --git a/python/mpc_generator/mpc_sample/basic_arith_ope.mpc b/python/mpc_generator/mpc_generator/mpc_sample/basic_arith_ope.mpc similarity index 100% rename from python/mpc_generator/mpc_sample/basic_arith_ope.mpc rename to python/mpc_generator/mpc_generator/mpc_sample/basic_arith_ope.mpc diff --git a/python/mpc_generator/setup.py b/python/mpc_generator/setup.py index e5fcc46d..c75b8401 100644 --- a/python/mpc_generator/setup.py +++ b/python/mpc_generator/setup.py @@ -20,7 +20,7 @@ def run(self): setup_args = dict( name='wedpr_mpc_generator', packages=find_packages(), - version="3.0.0-20241206", + version="3.0.0-20250108", description="wedpr-mpc-generator: The mpc generator for WeDPR", long_description_content_type="text/markdown", author="WeDPR Development Team",