Skip to content
This repository was archived by the owner on Mar 1, 2022. It is now read-only.

Commit 58ec5bd

Browse files
authored
Create setup.py
1 parent 94fc807 commit 58ec5bd

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

setup.py

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# -*- coding: utf-8 -*-
2+
3+
"""MIT License
4+
5+
Copyright (c) 2019 EvieePy(MysterialPy)
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
SOFTWARE.
24+
"""
25+
26+
from setuptools import setup
27+
28+
29+
with open('requirements.txt') as f:
30+
requirements = f.read().splitlines()
31+
32+
version = '0.0.1'
33+
34+
readme = ''
35+
with open('README.rst') as f:
36+
readme = f.read()
37+
38+
setup(name='buttons',
39+
author='EvieePy',
40+
url='https://github.com/EvieePy/buttons',
41+
version=version,
42+
packages=['discord/ext/buttons'],
43+
license='MIT',
44+
description='A simple to use, interactive session and paginator with custom buttons for discord.py.',
45+
long_description=readme,
46+
include_package_data=True,
47+
install_requires=requirements,
48+
classifiers=[
49+
'License :: OSI Approved :: MIT License',
50+
'Intended Audience :: Developers',
51+
'Natural Language :: English',
52+
'Operating System :: OS Independent',
53+
'Programming Language :: Python :: 3.6',
54+
'Programming Language :: Python :: 3.7',
55+
'Topic :: Internet',
56+
'Topic :: Software Development :: Libraries',
57+
'Topic :: Software Development :: Libraries :: Python Modules',
58+
'Topic :: Utilities',
59+
])

0 commit comments

Comments
 (0)