added necessary project files

pull/7/head
missytake 2023-10-07 08:50:04 +02:00
parent 292f920bfc
commit 873c3c1c4a
4 changed files with 79 additions and 0 deletions

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
*.swp
*.egg-info/
__pycache__/
/.tox/
/build/
/venv/
bot.db/

13
LICENSE Normal file
View File

@ -0,0 +1,13 @@
Copyright (c) 2023 missytake <missytake@systemli.org>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

6
pyproject.toml Normal file
View File

@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"

53
setup.cfg Normal file
View File

@ -0,0 +1,53 @@
[metadata]
name = teams-bot
version = 0.0.1
author = missytake
author_email = missytake@systemli.org
description = This bot connects your team to the outside and makes it addressable.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://git.0x90.space/missytake/teams-bot
project_urls =
Bug Tracker = https://git.0x90.space/missytake/teams-bot/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: ISC License (ISCL)
Operating System :: OS Independent
[options]
package_dir =
= teams_bot
packages = find:
python_requires = >=3.8
install_requires =
click
deltachat
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
teams-bot = teams_bot.cli:main
[tox:tox]
envlist = lint, py310
isolated_build = True
[testenv:lint]
skip_install = True
deps =
black
flake8
commands =
black --check --diff src tests
flake8 src tests
[testenv]
deps =
pytest
commands =
pytest tests
[flake8]
max_line_length = 121