File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,13 @@ def load_requirements(file_name):
1616 'file changes, diffs, and source code, and supports exporting data to CSV format.'
1717)
1818
19- # Fetching the version from the package's __init__.py
20- def fetch_version ():
21- init_path = path .join (path .dirname (__file__ ), 'gitanalyzer' , '__init__.py' )
22- with open (init_path ) as file :
23- for line in file :
24- if line .startswith ('__version__' ):
25- version_delimiter = '"' if '"' in line else "'"
26- return line .split (version_delimiter )[1 ]
27- raise RuntimeError ("Version string not found." )
28-
2919setup (
3020 name = 'GitAnalyzer' ,
3121 description = 'A toolkit for Mining Software Repositories (MSR)' ,
3222 long_description = detailed_description ,
3323 author = 'Shawn Ray' ,
3424 author_email = 'shawnray5699@gmail.com' ,
35- version = fetch_version (),
25+ version = '1.0.0' , # Hardcoded version
3626 packages = find_packages ('.' , exclude = ['tests*' ]),
3727 url = 'https://github.com/codingwithshawnyt/GitAnalyzer' , # Assuming the URL remains unchanged
3828 license = 'Apache License' ,
You can’t perform that action at this time.
0 commit comments