From 43e17ba73b236e7a26cf87a439b26f27176bd6d9 Mon Sep 17 00:00:00 2001 From: Yx Jiang <2237303+yxjiang@users.noreply.github.com> Date: Thu, 29 Feb 2024 18:10:11 -0800 Subject: [PATCH] Add basic --- polymind/__init__.py | 1 + polymind/add.py | 3 --- polymind/basic.py | 6 ++++++ setup.py | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 polymind/add.py create mode 100644 polymind/basic.py diff --git a/polymind/__init__.py b/polymind/__init__.py index e69de29..f7584b6 100644 --- a/polymind/__init__.py +++ b/polymind/__init__.py @@ -0,0 +1 @@ +from .basic import * \ No newline at end of file diff --git a/polymind/add.py b/polymind/add.py deleted file mode 100644 index fea7159..0000000 --- a/polymind/add.py +++ /dev/null @@ -1,3 +0,0 @@ - -def add(x: int, y: int) -> int: - return x + y \ No newline at end of file diff --git a/polymind/basic.py b/polymind/basic.py new file mode 100644 index 0000000..535c5d8 --- /dev/null +++ b/polymind/basic.py @@ -0,0 +1,6 @@ + +def add(x: int, y: int) -> int: + return x + y + +def subtract(x: int, y: int) -> int: + return x - y \ No newline at end of file diff --git a/setup.py b/setup.py index 6e993a6..5ebc913 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name="polymind", - version="0.0.5", + version="0.0.6", packages=find_packages(), install_requires=requirements, author="Small Thinking",