diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-03 09:57:07 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-03 09:57:07 +0100 |
commit | 34de8dc3999d00a63343d988e0be7980b7c9b2d4 (patch) | |
tree | 30d4f36f23b474a8e7d0e06329dc8c2b45f305f1 | |
parent | workflows/ci: fix Python versions (diff) | |
download | vk-scripts-34de8dc3999d00a63343d988e0be7980b7c9b2d4.tar.gz vk-scripts-34de8dc3999d00a63343d988e0be7980b7c9b2d4.zip |
packaging: move to pyproject.toml-only
Diffstat (limited to '')
-rw-r--r-- | pyproject.toml | 29 | ||||
-rw-r--r-- | setup.cfg | 27 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 28 insertions, 30 deletions
diff --git a/pyproject.toml b/pyproject.toml index 9787c3b..e317174 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,30 @@ [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" + +[project] +name = "vk_scripts" +description = "Scripts to stalk people on VK" +license = {text = "MIT"} +version = "1.0.2" +authors = [{name = "Egor Tensin", email = "Egor.Tensin@gmail.com"}] +readme = "README.md" +requires-python = ">=3.4" + +dependencies = [ + "matplotlib", +] + +classifiers = [ + "Development Status :: 4 - Beta", + "License :: OSI Approved :: MIT License", +] + +[project.urls] +"Homepage" = "https://github.com/egor-tensin/vk-scripts" +"Bug Tracker" = "https://github.com/egor-tensin/vk-scripts/issues" + +[project.scripts] +vk-sessions = "vk.tracking.sessions:main" +vk-status = "vk.tracking.status:main" +vk-mutuals = "vk.mutuals:main" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 5c12475..0000000 --- a/setup.cfg +++ /dev/null @@ -1,27 +0,0 @@ -[metadata] -name = vk_scripts -version = 1.0.2 -author = Egor Tensin -author_email = Egor.Tensin@gmail.com -description = Scripts to stalk people on VK -long_description = file: README.md -long_description_content_type = text/markdown -license = MIT -url = https://github.com/egor-tensin/vk-scripts -project_urls = - Bug Tracker = https://github.com/egor-tensin/vk-scripts/issues -classifiers = - Development Status :: 4 - Beta - License :: OSI Approved :: MIT License - -[options] -packages = find: -python_requires = >=3.4 -install_requires = - matplotlib - -[options.entry_points] -console_scripts = - vk-sessions = vk.tracking.sessions:main - vk-status = vk.tracking.status:main - vk-mutuals = vk.mutuals:main diff --git a/setup.py b/setup.py deleted file mode 100644 index a4f49f9..0000000 --- a/setup.py +++ /dev/null @@ -1,2 +0,0 @@ -import setuptools -setuptools.setup() |