From ac0024bd09f340b24e14b289d0215cb4398057f4 Mon Sep 17 00:00:00 2001 From: Jeff MacKinnon Date: Wed, 22 Nov 2023 09:58:41 -0400 Subject: [PATCH] Setup for package install with pip --- MANIFEST.in | 4 ++++ jepl.py => jepl/jepl.py | 0 tables.py => jepl/tables.py | 0 pyproject.toml | 3 +++ setup.cfg | 30 ++++++++++++++++++++++++++++++ setup.py | 3 +++ 6 files changed, 40 insertions(+) create mode 100644 MANIFEST.in rename jepl.py => jepl/jepl.py (100%) rename tables.py => jepl/tables.py (100%) create mode 100644 pyproject.toml create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..4de84e5 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include LICENSE +include README.md +recursive-include docs * +recursive-include jepl * diff --git a/jepl.py b/jepl/jepl.py similarity index 100% rename from jepl.py rename to jepl/jepl.py diff --git a/tables.py b/jepl/tables.py similarity index 100% rename from tables.py rename to jepl/tables.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..c515c82 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ['setuptools>=40.8.0'] +build-backend = 'setuptools.build_meta' \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..403d9a2 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,30 @@ +[metadata] +name = django-tags +version = 0.1 +description = A Library for Elecrical Engineeing +long_description = file: readme.md +url = https://www.jmkengineering.com +author = Jeff MacKinnon +author_email = jeff@jmkengineering.com +license = GNU-AFFERO +classifiers = + Environment :: Web Environment + Intended Audience :: Developers + License :: GNU AFFERO + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 3 + Programming Language :: Python :: 3 :: Only + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 + +[options] +include_package_data = true +packages = find: +python_requires = >=3.8 +install_requires = + Numpy + Pandas \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..fc1f76c --- /dev/null +++ b/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup() \ No newline at end of file