aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml29
-rw-r--r--setup.cfg27
-rw-r--r--setup.py2
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()