From a28a46c7b552d296550a10d9513c985e72d246fd Mon Sep 17 00:00:00 2001 From: NathanDraco22 Date: Sun, 17 Sep 2023 10:46:50 -0600 Subject: [PATCH] updated license --- LICENSE | 2 +- pyproject.toml | 27 +++++++++++++++++++++++++++ setup.py | 31 ------------------------------- 3 files changed, 28 insertions(+), 32 deletions(-) create mode 100644 pyproject.toml delete mode 100644 setup.py diff --git a/LICENSE b/LICENSE index e11ca4d..f21853c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Nathan Mejia +Copyright (c) 2023 Nathan Mejia Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d4b9f22 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,27 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "zaptools" +description = "A toolkit for Event-Driven websocket management" +readme = "README.md" +authors = [{name = "Nathan Mejia", email = "nathandraco22@gmail.com"}] +version = "0.1.2" +requires-python = ">=3.10" +classifiers = [ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3.10', +] +license = { file = "LICENSE" } + +[project.urls] +"Homepage" = "https://github.com/NathanDraco22/zap-adapter-python" + +[project.optional-dependencies] +dev = [ + "pytest" +] diff --git a/setup.py b/setup.py deleted file mode 100644 index c4984a3..0000000 --- a/setup.py +++ /dev/null @@ -1,31 +0,0 @@ -from setuptools import setup - -from pathlib import Path -this_directory = Path(__file__).parent -long_description = (this_directory / "README.md").read_text() - - -setup( - name="zaptools", - version="0.1.1", - url="https://github.com/NathanDraco22/zap-adapter-python", - license='MIT', - - author="Nathan Mejia", - author_email="nathandraco22@gmail.com", - - description="A toolkit for Event-Driven websocket management", - long_description=long_description, - long_description_content_type='text/markdown', - packages=[ - "zaptools" - ], - install_requires=[], - classifiers=[ - 'Development Status :: 4 - Beta', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3.10', - ], -)