11[build-system]
2- requires = ["setuptools >= 61.0"]
3- build-backend = "setuptools.build_meta"
2+ requires = [
3+ "hatchling",
4+ "hatch-vcs"
5+ ]
6+ build-backend = "hatchling.build"
47
58[project]
69name = "socketsecurity"
710dynamic = ["version"]
8- requires-python = ">= 3.9 "
11+ requires-python = ">= 3.10 "
912dependencies = [
1013 'requests',
1114 'mdutils',
1215 'prettytable',
1316 'GitPython',
1417 'packaging',
1518 'python-dotenv',
16- 'socket-sdk-python>=2.0.9 '
19+ 'socket-sdk-python>=2.0.15 '
1720]
1821readme = "README.md"
1922description = "Socket Security CLI for CI/CD"
@@ -25,6 +28,7 @@ maintainers = [
2528 {name = "Douglas Coburn", email = "douglas@socket.dev"}
2629]
2730classifiers = [
31+ "License :: OSI Approved :: MIT License",
2832 "Development Status :: 4 - Beta",
2933 "Intended Audience :: Developers",
3034 "Programming Language :: Python :: 3.11",
@@ -51,16 +55,6 @@ socketcli = "socketsecurity.socketcli:cli"
5155[project.urls]
5256Homepage = "https://socket.dev"
5357
54- [tool.setuptools.packages.find]
55- include = [
56- "socketsecurity*"
57- ]
58-
59- [tool.setuptools.dynamic]
60- version = {attr = "socketsecurity.__version__"}
61-
62-
63-
6458[tool.coverage.run]
6559source = ["socketsecurity"]
6660branch = true
@@ -163,4 +157,10 @@ docstring-code-format = false
163157#
164158# This only has an effect when the `docstring-code-format` setting is
165159# enabled.
166- docstring-code-line-length = "dynamic"
160+ docstring-code-line-length = "dynamic"
161+
162+ [tool.hatch.version]
163+ source = "vcs" # Uses the latest git tag like v2.0.15
164+
165+ [tool.hatch.build.targets.wheel]
166+ include = ["socketsecurity", "LICENSE"]
0 commit comments