Switch to pyproject.toml style setuptools config

This commit is contained in:
Joscha 2022-08-21 14:24:05 +02:00
parent 74caea4e92
commit 37c4ba703a
4 changed files with 13 additions and 30 deletions

14
.gitignore vendored
View file

@ -1,12 +1,4 @@
# python stuff
__pycache__/ __pycache__/
*.egg-info/
# venv stuff /.mypy_cache/
bin/ /.venv/
include/
lib/
lib64
pyvenv.cfg
# mypy stuff
.mypy_cache/

View file

@ -3,6 +3,7 @@
## Next version ## Next version
- update websockets dependency - update websockets dependency
- switch to pyproject.toml style setuptools config
## 1.1.5 (2020-01-26) ## 1.1.5 (2020-01-26)

View file

@ -1,15 +1,3 @@
# python stuff
__pycache__/
# venv stuff
bin/
include/
lib/
lib64
pyvenv.cfg
# bot stuff
#
# These files are ignored because they may contain sensitive information you # These files are ignored because they may contain sensitive information you
# wouldn't want in your repo. If you need to have a config file in your repo, # wouldn't want in your repo. If you need to have a config file in your repo,
# store a bot.conf.default with default settings. # store a bot.conf.default with default settings.

View file

@ -1,11 +1,13 @@
from setuptools import setup [build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
setup( [project]
name="yaboli", name = "yaboli"
version="1.1.5", version = "1.1.5"
packages=["yaboli"], dependencies = [
install_requires=["websockets >=10.3, <11"], "websockets >=10.3, <11"
) ]
# When updating the version, also: # When updating the version, also:
# - update the README.md installation instructions # - update the README.md installation instructions