diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b777b78 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*~ +*.pyc +*__pycache__ +*.egg-info diff --git a/README.md b/README.md index 4f10757..eafc797 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,12 @@ This README takes the place of the usual spots on the public.dillerdigital.com s - [Class Recordings on OneDrive](https://dillerdigital-my.sharepoint.com/:f:/g/personal/tim_dillerdigital_onmicrosoft_com/Eh74L3f0Z1hFvIul8oCvmb0BnRL9-b59aM-6J5jd1tuQ_A?e=wjcFeW) (Access expires 7 Nov 2025) +# Fancy Math Project +- Install for editing from top level of this repo: +``` +$ pip install -e . +``` + # Day 1 Resources - [Our class repository on the Diller Digital git server](https://git.dillerdigital.com/DillerDigitalStudents/DD-SWNG-20251020-V) - [Help for SSH errors](https://docs.gitea.com/help/faq?_highlight=ssh#ssh-common-errors) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..43a6fc5 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,8 @@ +[project] +name = "fancymath" +version = "0.0.1" +readme = "README.md" + +[build-system] +requires = ["setuptools>61"] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/src/fancymath/__init__.py b/src/fancymath/__init__.py new file mode 100644 index 0000000..a449206 --- /dev/null +++ b/src/fancymath/__init__.py @@ -0,0 +1 @@ +import fancymath.math diff --git a/src/fancymath/math.py b/src/fancymath/math.py new file mode 100644 index 0000000..80c0b6a --- /dev/null +++ b/src/fancymath/math.py @@ -0,0 +1,2 @@ +def add(x1, x2): + return x1 + x2