From a742e7fb306b2e8b5b91068212a72a4086010256 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Sat, 10 Dec 2022 02:10:56 -0500 Subject: [PATCH] update setup.cfg and requirements.txt * move deps to requirements.txt * reference deps from requirements.txt in setup.cfg * bump minimum python version to 3.7 * set version in setup.cfg from attribute --- requirements.txt | 6 +++++- setup.cfg | 12 +++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/requirements.txt b/requirements.txt index 9c558e3..7ffa255 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,5 @@ -. +aiohttp>=3.8.0 +aputils@git+https://git.barkshark.xyz/barkshark/aputils@0.1.3 +cachetools>=5.2.0 +click>=8.1.2 +pyyaml>=6.0 diff --git a/setup.cfg b/setup.cfg index c6deb96..bb97663 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = relay -version = 0.2.4 +version = attr: relay.__version__ description = Generic LitePub relay (works with all LitePub consumers and Mastodon) long_description = file: README.md long_description_content_type = text/markdown; charset=UTF-8 @@ -22,14 +22,8 @@ project_urls = [options] zip_safe = False packages = find: -install_requires = - aiohttp >= 3.8.0 - cachetools >= 5.0.0 - click >= 8.1.2 - pycryptodome >= 3.14.1 - PyYAML >= 5.0.0 - aputils @ git+https://git.barkshark.xyz/barkshark/aputils@2cd1776f12 -python_requires = >=3.6 +install_requires = file: requirements.txt +python_requires = >=3.7 [options.extras_require] dev =