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):
16
16
'file changes, diffs, and source code, and supports exporting data to CSV format.'
17
17
)
18
18
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
-
29
19
setup (
30
20
name = 'GitAnalyzer' ,
31
21
description = 'A toolkit for Mining Software Repositories (MSR)' ,
32
22
long_description = detailed_description ,
33
23
author = 'Shawn Ray' ,
34
24
author_email = 'shawnray5699@gmail.com' ,
35
- version = fetch_version (),
25
+ version = '1.0.0' , # Hardcoded version
36
26
packages = find_packages ('.' , exclude = ['tests*' ]),
37
27
url = 'https://github.com/codingwithshawnyt/GitAnalyzer' , # Assuming the URL remains unchanged
38
28
license = 'Apache License' ,
You can’t perform that action at this time.
0 commit comments