Describe the bug
Once a new version is released and due to a start of VSCode an update is triggered, the installation fails.
To Reproduce
-
Install older version of current one.
-
Start VSCode to trigger automatic update process

-
Restart VSCode

-
Check c:\Users\<USER>\AppData\Local\Programs\Python\Python310\Lib\site-packages\ folder: There are now two folders named:
~ortls-2.10.0.dist-info and ~ortls . There is no fortls folder
By executing pip install fortls the installation of the current version is performed correclty. Just the leftover folder are still there and have to be deinstalled manually.
When still on 2.10 and pip install fortls --upgrade is exectued manually there are no ghostfolders and the 2.11 is installed.
Expected behavior
Normal update process
Setup information (please complete the following information):
- OS: Windows 11
- Python Version: 3.10
- fortls Version 2.10/2.11
- Code editor used: VSCode
Describe the bug
Once a new version is released and due to a start of VSCode an update is triggered, the installation fails.
To Reproduce
Install older version of current one.
Start VSCode to trigger automatic update process

Restart VSCode

Check
c:\Users\<USER>\AppData\Local\Programs\Python\Python310\Lib\site-packages\folder: There are now two folders named:~ortls-2.10.0.dist-infoand~ortls. There is nofortlsfolderBy executing
pip install fortlsthe installation of the current version is performed correclty. Just the leftover folder are still there and have to be deinstalled manually.When still on 2.10 and
pip install fortls --upgradeis exectued manually there are no ghostfolders and the 2.11 is installed.Expected behavior
Normal update process
Setup information (please complete the following information):