From f0022478857ee6414cc888c451dd95371e0cf14d Mon Sep 17 00:00:00 2001 From: Pavel Lutskov Date: Sun, 28 Mar 2021 16:02:22 +0200 Subject: [PATCH] Make it a proper package --- LICENSE | 19 +++++++++++++++++++ pyproject.toml | 6 ++++++ setup.cfg | 15 +++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 LICENSE create mode 100644 pyproject.toml create mode 100644 setup.cfg diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c98bf14 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright 2021 Pavel Lutskov + +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. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..374b58c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel" +] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..318f873 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,15 @@ +[metadata] +name = argclass +version = 0.1.0 +author = Pavel Lutskov +author_email = pavel.lutskov@gmail.com +description = A simple dataclass-based interface to Python's argparse +url = https://git.deguo.duckdns.org/pavel/argclass +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: MIT License + Operating System :: OS Independent + +[options] +py_modules = argclass +python_requires = >=3.8