From 5796803cf9a21922c7ba26f9921408346ce2569c Mon Sep 17 00:00:00 2001 From: Raunak Chowdhuri Date: Tue, 8 Aug 2023 08:51:51 -0700 Subject: [PATCH] reorg --- python/README.md | 3 +++ python/pyproject.toml | 32 ++++++++++++++++++++++++++++ python/setup.py | 8 ------- python/src/xmlai/__init__.py | 0 python/{main.py => src/xmlai/xml.py} | 0 5 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 python/README.md delete mode 100644 python/setup.py create mode 100644 python/src/xmlai/__init__.py rename python/{main.py => src/xmlai/xml.py} (100%) diff --git a/python/README.md b/python/README.md new file mode 100644 index 0000000..8b9cc98 --- /dev/null +++ b/python/README.md @@ -0,0 +1,3 @@ +# xmlai + +Lightweight prompting library built for Python \ No newline at end of file diff --git a/python/pyproject.toml b/python/pyproject.toml index 21c59ef..08b734a 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,3 +1,35 @@ + +# from setuptools import setup + +# setup( +# name="xmlai", +# version="0.0.1", +# packages=["xmlai"], +# install_requires=[], +# ) + +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "xmlai" +version = "0.0.1" +authors = [ + { name="Raunak Chowdhuri", email="raunak@oloren.ai" }, +] +readme = "README.md" +requires-python = ">=3.7" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] + +[project.urls] +"Homepage" = "https://github.com/sauhaardac/xmlai" +"Bug Tracker" = "https://github.com/sauhaardac/xmlai/issues" + [tool.ruff] line-length = 120 diff --git a/python/setup.py b/python/setup.py deleted file mode 100644 index 7eabea7..0000000 --- a/python/setup.py +++ /dev/null @@ -1,8 +0,0 @@ -from setuptools import setup - -setup( - name="xmlai", - version="0.0.1", - packages=["xmlai"], - install_requires=["numpy", "scipy"], -) diff --git a/python/src/xmlai/__init__.py b/python/src/xmlai/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/python/main.py b/python/src/xmlai/xml.py similarity index 100% rename from python/main.py rename to python/src/xmlai/xml.py