From e5609cc85137e0462cc9faf6a74a630833fd85ec Mon Sep 17 00:00:00 2001 From: KeroDeKroma Date: Mon, 28 Oct 2024 21:27:27 -0500 Subject: [PATCH] feat: updating license and the proper files to install --- MIT-LICENSE.txt | 35 ++++++++++++++++++----------------- requirements.txt | 1 + setup.py | 27 +++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 17 deletions(-) create mode 100644 requirements.txt create mode 100644 setup.py diff --git a/MIT-LICENSE.txt b/MIT-LICENSE.txt index 46737c3..f3ebddc 100644 --- a/MIT-LICENSE.txt +++ b/MIT-LICENSE.txt @@ -1,20 +1,21 @@ -Copyright (c) 2012-2024 Scott Chacon and others +MIT License -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: +Copyright (c) 2024 Kerodekroma -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. +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 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. +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/requirements.txt b/requirements.txt new file mode 100644 index 0000000..345781b --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +pygame>=2.0.0 \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..8a71df4 --- /dev/null +++ b/setup.py @@ -0,0 +1,27 @@ +from setuptools import setup, find_packages + +setup( + name="py_singl_slider", + version="{{VERSION_PLACEHOLDER}}", + author="kerodekroma", + author_email="kerodekroma@gmail.com", + description="A single virtual slider control", + long_description=open('README.md').read(), + long_description_content_type='text/markdown', + url="https://github.com/kerodekroma/py-singl-slider", + packages=find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + install_requires=[ + 'pygame>=2.0.0', + ], + python_requires='>=3.6', + entry_points={ + 'console_scripts': [ + 'py_singl_slider=py_singl_slider.main:main', + ], + }, +) \ No newline at end of file