File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -141,17 +141,6 @@ def setup_github_repo(
141141 print (f"Error setting up repository: { str (e )} " )
142142
143143
144- def get_latest_version (name : str ) -> str :
145- """Fetch the latest version from PyPI.
146-
147- Returns:
148- str: Latest version number or empty string if not found
149- """
150- try :
151- return get (f"https://pypi.org/pypi/{ name } /json" ).json ()["info" ]["version" ]
152- except Exception :
153- return ""
154-
155144def run_all () -> None :
156145 """Execute all environment setup tasks.
157146
@@ -1757,7 +1746,7 @@ def create_zip() -> None:
17571746 "Debuggers" ,
17581747 ],
17591748 },
1760- "version" : get_latest_version ( project_name ) or "0.1.1" , # Project version
1749+ "version" : "0.1.1" , # Initial project version
17611750 "description" : "" , # Project description
17621751 # User and maintainer information
17631752 "user_config" : {
You can’t perform that action at this time.
0 commit comments