add requirements

This commit is contained in:
Shadow15510 2023-07-21 10:42:40 +02:00
parent 8b847cfb73
commit 7791f7f2cb
4 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,7 @@
# IRC API
[![Documentation Status](https://readthedocs.org/projects/irc-api/badge/?version=latest)](https://irc-api.readthedocs.io/en/latest/?badge=latest) [![Licence](https://img.shields.io/github/license/Shadow15510/irc_api?color=green)](https://github.com/Shadow15510/irc_api/blob/master/LICENSE)
[![Documentation Status](https://readthedocs.org/projects/irc-api/badge/?version=latest)](https://irc-api.readthedocs.io/en/latest/?badge=latest)
[![Licence](https://img.shields.io/github/license/Shadow15510/irc_api?color=green)](https://github.com/Shadow15510/irc_api/blob/master/LICENSE)
[![Build Status](https://github.com/Shadow15510/irc_api/actions/workflows/python-publish.yml/badge.svg)](https://github.com/Shadow15510/irc_api/actions/workflows/python-publish.yml)
## Description
IRC API is a small API to make Python IRC bots. This API is based on decorators to make commands like the `cog` module in `discord.py`.

View File

@ -17,6 +17,7 @@ classifiers = [
]
dynamic = [
"version",
"dependencies"
]
[tool.setuptools]
@ -34,6 +35,10 @@ doc = [
[tool.setuptools.dynamic.version]
attr = "irc_api.__init__.__version__"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[project.urls]
Homepage = "https://github.com/Shadow15510/irc_api"
Documentation = "https://irc-api.readthedocs.io/en/latest/"
Documentation = "https://irc-api.readthedocs.io/en/stable/"

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
logging

4
setup.py Normal file
View File

@ -0,0 +1,4 @@
from setuptools import setup
if __name__ == "__main__":
setup()