Merge pull request #78 from pacoesteban/master

remove setuptools runtime dependency
This commit is contained in:
Hugh Rundle 2023-01-15 15:52:17 +11:00 committed by GitHub
commit 453d4e3a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -30,13 +30,13 @@ import yaml
from argparse import ArgumentParser from argparse import ArgumentParser
from datetime import datetime, timezone from datetime import datetime, timezone
import os import os
import pkg_resources from importlib.metadata import version
# import funtions # import funtions
from ephemetoot import ephemetoot as func from ephemetoot import ephemetoot as func
# version number from package info # version number from package info
vnum = pkg_resources.require("ephemetoot")[0].version vnum = version("ephemetoot")
parser = ArgumentParser() parser = ArgumentParser()
parser.add_argument( parser.add_argument(

View File

@ -19,7 +19,7 @@ include = [
] ]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.6" python = "^3.8"
requests = "^2.22.0" requests = "^2.22.0"
"mastodon.py" = "^1.4.3" "mastodon.py" = "^1.4.3"
pyyaml = "^5.0" pyyaml = "^5.0"