Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Commit

Permalink
Preparing for pull in PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Damego committed Oct 1, 2021
1 parent 36b500a commit dba2560
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1 deletion.
4 changes: 3 additions & 1 deletion discord_slash_components_bridge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from .client import *
from .contex import *
from .dpy_overrides import *
from .utils import *
from .utils import *

__version__ = '0.0.2'
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
discord-components
discord-py-interactions
49 changes: 49 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import re
from codecs import open
from os import path

from setuptools import setup

PACKAGE_NAME = "discord_slash_components_bridge"
HERE = path.abspath(path.dirname(__file__))

with open("README.md", "r", encoding="utf-8") as f:
README = f.read()

with open("requirements.txt", "r", encoding="utf-8") as f:
requirements = f.read()

with open(path.join(HERE, PACKAGE_NAME, "const.py"), encoding="utf-8") as fp:
VERSION = re.search('__version__ = "([^"]+)"', fp.read()).group(1)


setup(
name=PACKAGE_NAME,
version=VERSION,
author="Damego",
author_email="[email protected]",
description="Library for discord-components and discord-py-interactions(discord-slash).",
include_package_data=True,
install_requires=requirements,
license="MIT License",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/Damego/discord-py-slash-components-bridge",
packages=["discord_slash_components_bridge"],
python_requires=">=3.6",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
],
)

0 comments on commit dba2560

Please sign in to comment.