Skip to content

Commit 44298a2

Browse files
committed
Changed over to hatchling for releases
1 parent 4d0e3c3 commit 44298a2

File tree

4 files changed

+19
-21
lines changed

4 files changed

+19
-21
lines changed

Pipfile.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
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]
69
name = "socketsecurity"
710
dynamic = ["version"]
8-
requires-python = ">= 3.9"
11+
requires-python = ">= 3.10"
912
dependencies = [
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
]
1821
readme = "README.md"
1922
description = "Socket Security CLI for CI/CD"
@@ -25,6 +28,7 @@ maintainers = [
2528
{name = "Douglas Coburn", email = "[email protected]"}
2629
]
2730
classifiers = [
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]
5256
Homepage = "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]
6559
source = ["socketsecurity"]
6660
branch = 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"]

requirements-dev.lock

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
# generate-hashes: false
1010
# universal: false
1111

12-
-e file:.
1312
argparse==1.4.0
1413
# via socketsecurity
1514
certifi==2024.12.14
@@ -60,7 +59,7 @@ requests==2.32.3
6059
# via socketsecurity
6160
smmap==5.0.2
6261
# via gitdb
63-
socket-sdk-python @ file:///Users/erichibbs/code/socket/socket-sdk-python
62+
socket-sdk-python==2.0.15
6463
# via socketsecurity
6564
typing-extensions==4.12.2
6665
# via socket-sdk-python

requirements.lock

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
# generate-hashes: false
1010
# universal: false
1111

12-
-e file:.
1312
argparse==1.4.0
1413
# via socketsecurity
1514
certifi==2024.12.14
@@ -60,7 +59,7 @@ requests==2.32.3
6059
# via socketsecurity
6160
smmap==5.0.2
6261
# via gitdb
63-
socket-sdk-python @ file:///Users/erichibbs/code/socket/socket-sdk-python
62+
socket-sdk-python==2.0.15
6463
# via socketsecurity
6564
typing-extensions==4.12.2
6665
# via socket-sdk-python

0 commit comments

Comments
 (0)