From 6d5299cc7df7ee7c4ff4948f6a2234e16150263f Mon Sep 17 00:00:00 2001 From: Sanjay Date: Tue, 3 Dec 2019 01:17:20 -0500 Subject: [PATCH] Update setup.py --- setup.py | 68 ++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 24 deletions(-) diff --git a/setup.py b/setup.py index e7ffaaf..9833711 100644 --- a/setup.py +++ b/setup.py @@ -1,26 +1,46 @@ -from distutils.core import setup +''' +MIT License + +Copyright (c) 2019- Sanjay-B (Sanjay Bhadra) + +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. +''' + import setuptools -setup( - name = 'pyblox3', - packages = ['pyblox'], - version = '2.4.1', - license='MIT', - description = 'An API wrapper for Roblox written in Python.', - long_description = ''' - An API wrapper for Roblox written in Python. - Light-weight version that's aimed to be stable while providing basic functionality. - Archived version. - ''', - url = 'https://github.com/RbxAPI/Pyblox/tree/master', - author = 'Sanjay Bhadra (Sanjay-B)', - author_email = 'sanjay2003rbx@gmail.com', - keywords = ['api', 'roblox', 'roblox-api', 'python-api', 'pyblox', 'pyblox3'], - install_requires=['requests','beautifulsoup4==4.6.3','html5lib'], # Replace with requirements.txt - classifiers=[ - 'Development Status :: 3', - 'Intended Audience :: Developers', - 'Topic :: Software Development :: Build Tools', - 'License :: MIT License', - 'Programming Language :: Python :: 3.7', - ], + +with open("README.md", "r") as fh: + long_description = fh.read() + +setuptools.setup( + name="pyblox3", # Replace with your own username + version="2.4.1", + author="Sanjay-B (Sanjay Bhadra)", + author_email="sanjay2003rbx@gmail.com", + description="An API wrapper for Roblox written in Python.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/RbxAPI/Pyblox/tree/master", + packages=setuptools.find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + python_requires='>=3.5', )