Merge pull request #83 from hughrun/killpoetry

replace poetry with setuptools
This commit is contained in:
Hugh Rundle 2023-06-18 18:19:25 +10:00 committed by GitHub
commit c3f366bf3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 21 deletions

1
MANIFEST.in Normal file
View File

@ -0,0 +1 @@
tests/*

View File

@ -46,7 +46,7 @@ You can use `ephemetoot` to delete [Mastodon](https://github.com/tootsuite/masto
* they are individually listed to be kept
## Contributing
ephemetoot is packaged using `poetry` and tested using `pytest`.
ephemetoot is tested using `pytest`.
For all bugs, suggestions, pull requests or other contributions, please check the [contributing guide](./docs/contributing.md).

View File

@ -1,35 +1,38 @@
[tool.poetry]
[project]
name = "ephemetoot"
version = "3.1.4"
version = "3.2.0"
description = "A command line tool to delete your old toots"
authors = ["Hugh Rundle <ephemetoot@hugh.run>"]
license = "GPL-3.0-or-later"
requires-python = ">=3.8"
authors = [
{name = "Hugh Rundle", email = "ephemetoot@hugh.run"}
]
license = { text = "GPL-3.0-or-later"}
readme = "pypi-readme.md"
homepage = "https://ephemetoot.hugh.run"
repository = "https://github.com/hughrun/ephemetoot"
keywords = ["mastodon", "api", "microblogging"]
classifiers = [
"Environment :: Console",
"Operating System :: OS Independent",
"Topic :: Communications"
]
include = [
"LICENSE",
"tests"
dependencies = [
"requests>=2.31.0",
"mastodon.py>=1.4.3",
"pyyaml>=5.0"
]
[tool.poetry.dependencies]
python = "^3.8"
requests = "^2.22.0"
"mastodon.py" = "^1.4.3"
pyyaml = "^5.0"
[project.optional-dependencies]
dev = ["pytest>=6"]
[tool.poetry.dev-dependencies]
pytest = "^6"
[tool.poetry.scripts]
[project.scripts]
ephemetoot = 'ephemetoot.console:main'
[project.urls]
homepage = "https://ephemetoot.hugh.run"
repository = "https://github.com/hughrun/ephemetoot"
[build-system]
requires = ["poetry-core>=1.0.0a5"]
build-backend = "poetry.core.masonry.api"
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["ephemetoot"]