File tree Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1
- __version__ = "0.1.0"
1
+ from . version import __version__
Original file line number Diff line number Diff line change
1
+ __version__ = "0.5.1"
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ requires = ["setuptools>=42", "wheel"]
3
3
build-backend = " setuptools.build_meta"
4
4
5
5
[project ]
6
- name = " local-notebook "
7
- version = " 0.1.0 " # You can set this directly or use dynamic version from your code
6
+ name = " local-notebooklm "
7
+ dynamic = [ " version " ] # Mark version as dynamic
8
8
description = " A local notebook implementation"
9
9
readme = " README.md"
10
10
authors = [
@@ -21,6 +21,9 @@ dependencies = [
21
21
# You can list dependencies here directly or use dynamic deps from requirements.txt
22
22
]
23
23
24
+ [tool .setuptools .dynamic ]
25
+ version = {attr = " local_notebook.version.__version__" } # Adjust this path to match your actual module structure
26
+
24
27
[project .urls ]
25
28
"Homepage" = " https://github.com/Goekdeniz-Guelmez//Local-NotebookLM"
26
29
"Bug Tracker" = " https://github.com/Goekdeniz-Guelmez//Local-NotebookLM/issues"
Original file line number Diff line number Diff line change 1
1
from pathlib import Path
2
2
from setuptools import find_packages , setup
3
+ import sys
4
+
5
+ # Add the project root to the path so we can import the version
6
+ sys .path .insert (0 , str (Path (__file__ ).parent ))
7
+ from local_notebooklm .version import __version__
3
8
4
9
# Get the project root directory
5
10
root_dir = Path (__file__ ).parent
13
18
print ("Warning: requirements.txt not found. Proceeding without dependencies." )
14
19
requirements = []
15
20
16
-
17
21
# Setup configuration
18
22
setup (
19
23
name = "Local-NotebookLM" ,
20
- version = "0.1.5" ,
24
+ version = __version__ , # Use version from version.py
21
25
description = "A Local-NotebookLM to convert PDFs into Audio." ,
22
26
long_description = open (root_dir / "README.md" , encoding = "utf-8" ).read (),
23
27
long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments