Merge pull request #78 from pacoesteban/master
remove setuptools runtime dependency
This commit is contained in:
commit
453d4e3a67
|
@ -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