From c4cb7b8733d114d97401db8a84842d7a3c54ac16 Mon Sep 17 00:00:00 2001 From: StevanFreeborn Date: Mon, 2 May 2022 15:15:32 -0500 Subject: [PATCH] begin setup for packaging --- LICENSE.txt | 21 +++++++++++++++++++ README.md | 0 __init__.py | 0 pyproject.toml | 3 +++ setup.cfg | 24 ++++++++++++++++++++++ Endpoints.py => src/Endpoints.py | 0 Enums.py => src/Enums.py | 0 Helpers.py => src/Helpers.py | 0 Models.py => src/Models.py | 0 OnspringClient.py => src/OnspringClient.py | 0 10 files changed, 48 insertions(+) create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 __init__.py create mode 100644 pyproject.toml create mode 100644 setup.cfg rename Endpoints.py => src/Endpoints.py (100%) rename Enums.py => src/Enums.py (100%) rename Helpers.py => src/Helpers.py (100%) rename Models.py => src/Models.py (100%) rename OnspringClient.py => src/OnspringClient.py (100%) diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..e47eaee --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Stevan Freeborn + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..fa7093a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools>=42"] +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..f34fa9c --- /dev/null +++ b/setup.cfg @@ -0,0 +1,24 @@ +[metadata] +name = onspring-api-sdk-python +version = 1.0.0 +author = StevanFreeborn +author_email = stevan.freeborn@gmail.com +description = A package for interacting with version 2 of the Onspring API. +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/StevanFreeborn/onspring-api-sdk-python +project_urls = + Bug Tracker = https://github.com/StevanFreeborn/onspring-api-sdk-python/issues +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: MIT License + Operating System :: OS Independent + +[options] +package_dir = + = src +packages = find: +python_requires = >=3.6 + +[options.packages.find] +where = src \ No newline at end of file diff --git a/Endpoints.py b/src/Endpoints.py similarity index 100% rename from Endpoints.py rename to src/Endpoints.py diff --git a/Enums.py b/src/Enums.py similarity index 100% rename from Enums.py rename to src/Enums.py diff --git a/Helpers.py b/src/Helpers.py similarity index 100% rename from Helpers.py rename to src/Helpers.py diff --git a/Models.py b/src/Models.py similarity index 100% rename from Models.py rename to src/Models.py diff --git a/OnspringClient.py b/src/OnspringClient.py similarity index 100% rename from OnspringClient.py rename to src/OnspringClient.py