remove currrent_date from generated files
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "peakrdl-busdecoder"
|
name = "peakrdl-busdecoder"
|
||||||
version = "0.6.3"
|
version = "0.6.4"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"jinja2~=3.1",
|
"jinja2~=3.1",
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import os
|
import os
|
||||||
from datetime import datetime
|
|
||||||
from importlib.metadata import version
|
from importlib.metadata import version
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import TYPE_CHECKING, Any, TypedDict
|
from typing import TYPE_CHECKING, Any, TypedDict
|
||||||
@@ -115,7 +114,6 @@ class BusDecoderExporter:
|
|||||||
|
|
||||||
# Build Jinja template context
|
# Build Jinja template context
|
||||||
context = { # type: ignore
|
context = { # type: ignore
|
||||||
"current_date": datetime.now().strftime("%Y-%m-%d"),
|
|
||||||
"version": version("peakrdl-busdecoder"),
|
"version": version("peakrdl-busdecoder"),
|
||||||
"cpuif": self.cpuif,
|
"cpuif": self.cpuif,
|
||||||
"cpuif_decode": DecodeLogicGenerator,
|
"cpuif_decode": DecodeLogicGenerator,
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
// Description: CPU Interface Bus Decoder
|
// Description: CPU Interface Bus Decoder
|
||||||
// Author: PeakRDL-BusDecoder
|
// Author: PeakRDL-BusDecoder
|
||||||
// License: LGPL-3.0
|
// License: LGPL-3.0
|
||||||
// Date: {{current_date}}
|
|
||||||
// Version: {{version}}
|
// Version: {{version}}
|
||||||
// Links:
|
// Links:
|
||||||
// - https://github.com/arnavsacheti/PeakRDL-BusDecoder
|
// - https://github.com/arnavsacheti/PeakRDL-BusDecoder
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
// Description: CPU Interface Bus Decoder Package
|
// Description: CPU Interface Bus Decoder Package
|
||||||
// Author: PeakRDL-BusDecoder
|
// Author: PeakRDL-BusDecoder
|
||||||
// License: LGPL-3.0
|
// License: LGPL-3.0
|
||||||
// Date: {{current_date}}
|
|
||||||
// Version: {{version}}
|
// Version: {{version}}
|
||||||
// Links:
|
// Links:
|
||||||
// - https://github.com/arnavsacheti/PeakRDL-BusDecoder
|
// - https://github.com/arnavsacheti/PeakRDL-BusDecoder
|
||||||
|
|||||||
2
uv.lock
generated
2
uv.lock
generated
@@ -608,7 +608,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "peakrdl-busdecoder"
|
name = "peakrdl-busdecoder"
|
||||||
version = "0.6.3"
|
version = "0.6.4"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "jinja2" },
|
{ name = "jinja2" },
|
||||||
|
|||||||
Reference in New Issue
Block a user