Skip to content

Commit 6d5299c

Browse files
authored
Update setup.py
1 parent 2a0f4b9 commit 6d5299c

File tree

1 file changed

+44
-24
lines changed

1 file changed

+44
-24
lines changed

setup.py

Lines changed: 44 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,46 @@
1-
from distutils.core import setup
1+
'''
2+
MIT License
3+
4+
Copyright (c) 2019- Sanjay-B (Sanjay Bhadra)
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.
23+
'''
24+
225
import setuptools
3-
setup(
4-
name = 'pyblox3',
5-
packages = ['pyblox'],
6-
version = '2.4.1',
7-
license='MIT',
8-
description = 'An API wrapper for Roblox written in Python.',
9-
long_description = '''
10-
An API wrapper for Roblox written in Python.
11-
Light-weight version that's aimed to be stable while providing basic functionality.
12-
Archived version.
13-
''',
14-
url = 'https://github.com/RbxAPI/Pyblox/tree/master',
15-
author = 'Sanjay Bhadra (Sanjay-B)',
16-
author_email = '[email protected]',
17-
keywords = ['api', 'roblox', 'roblox-api', 'python-api', 'pyblox', 'pyblox3'],
18-
install_requires=['requests','beautifulsoup4==4.6.3','html5lib'], # Replace with requirements.txt
19-
classifiers=[
20-
'Development Status :: 3',
21-
'Intended Audience :: Developers',
22-
'Topic :: Software Development :: Build Tools',
23-
'License :: MIT License',
24-
'Programming Language :: Python :: 3.7',
25-
],
26+
27+
with open("README.md", "r") as fh:
28+
long_description = fh.read()
29+
30+
setuptools.setup(
31+
name="pyblox3", # Replace with your own username
32+
version="2.4.1",
33+
author="Sanjay-B (Sanjay Bhadra)",
34+
author_email="[email protected]",
35+
description="An API wrapper for Roblox written in Python.",
36+
long_description=long_description,
37+
long_description_content_type="text/markdown",
38+
url="https://github.com/RbxAPI/Pyblox/tree/master",
39+
packages=setuptools.find_packages(),
40+
classifiers=[
41+
"Programming Language :: Python :: 3",
42+
"License :: OSI Approved :: MIT License",
43+
"Operating System :: OS Independent",
44+
],
45+
python_requires='>=3.5',
2646
)

0 commit comments

Comments
 (0)