Skip to content

Commit

Permalink
Changes for CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Sep 30, 2023
1 parent 3afe683 commit 6a8e301
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion class_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
DEBUG = 0

# The pytsk3 version.
VERSION = "20230928"
VERSION = "20230930"

# These functions are used to manage library memory.
FREE = "aff4_free"
Expand Down
4 changes: 2 additions & 2 deletions dpkg/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pytsk3 (20230928-1) unstable; urgency=low
pytsk3 (20230930-1) unstable; urgency=low

* Auto-generated

-- Joachim Metz <joachim.metz@gmail.com> Thu, 28 Sep 2023 12:43:50 -0100
-- Joachim Metz <joachim.metz@gmail.com> Sat, 30 Sep 2023 10:50:56 -0100
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pytsk3
version = 20230125
version = 20230930
description = Python bindings for the SleuthKit
long_description = Python bindings for the SleuthKit
author = Michael Cohen
Expand Down
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,14 @@ def run(self):
subprocess.check_call(["./bootstrap"], cwd="sleuthkit")

# Now derive the version based on the date.
with open("version.txt", "w") as fd:
fd.write(self.version)
with open("setup.cfg", "r", encoding="utf-8") as file_object:
setup_cfg_lines = file_object.readlines()

with open("setup.cfg", "w", encoding="utf-8") as file_object:
for line in setup_cfg_lines:
if line.startswith("version = "):
line = "version = {0:s}\n".format(self.version)
file_object.write(line)

libtsk_path = os.path.join("sleuthkit", "tsk")

Expand Down
1 change: 0 additions & 1 deletion version.txt

This file was deleted.

0 comments on commit 6a8e301

Please sign in to comment.