mirror of
https://github.com/hughrun/ephemetoot
synced 2025-01-15 06:56:54 +01:00
remove setuptools runtime dependency
This commit is contained in:
parent
c95e1c7574
commit
2ac51c660b
@ -30,13 +30,13 @@ import yaml
|
||||
from argparse import ArgumentParser
|
||||
from datetime import datetime, timezone
|
||||
import os
|
||||
import pkg_resources
|
||||
from importlib.metadata import version
|
||||
|
||||
# import funtions
|
||||
from ephemetoot import ephemetoot as func
|
||||
|
||||
# version number from package info
|
||||
vnum = pkg_resources.require("ephemetoot")[0].version
|
||||
vnum = version("ephemetoot")
|
||||
|
||||
parser = ArgumentParser()
|
||||
parser.add_argument(
|
||||
|
@ -19,7 +19,7 @@ include = [
|
||||
]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.6"
|
||||
python = "^3.8"
|
||||
requests = "^2.22.0"
|
||||
"mastodon.py" = "^1.4.3"
|
||||
pyyaml = "^5.0"
|
||||
|
Loading…
Reference in New Issue
Block a user