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