cryptoadvance / cryptoadvance/specter-desktop
Bug: Repeated `python3 setup.py install` leads to errors at startup, service loading
- Dominant language
- Python
- Stars
- 847
- Forks
- 259
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 2
Description
## Steps to reproduce
When running
```
pip install -e . && python3 setup.py install
```
for the first time the python folder `python3.10/site-packages/` contains

and `python3.10/site-packages/cryptoadvance/specterext/` contains

However running
```
pip install -e . && python3 setup.py install
```
again , now
- `python3.10/site-packages/cryptoadvance/specterext/` contains

which then raises the exception at specter start;
```
cryptoadvance.specter.specter_error.SpecterError:
Module cryptoadvance.specterext.liquidissuer.service could not be found. This could have these reasons:
```
- `python3.10/site-packages/` remains contains the same folders.
## Cause
Running `pip install -e . ` for the 2. time completely deletes the `python3.10/site-packages/cryptoadvance` folder (without noticing that it deleted the folders of some of the required packages).
## Workaround
Currently I have to do `pip uninstall ` of all services in `python3.10/site-packages/cryptoadvance/specterext/` and rerun `pip install -e . && python3 setup.py install `.
## Solutions?
- The services specterext-exfund, specterext-faucet, cryptoadvance-liquidissuer should NOT be located in `cryptoadvance/specterext/`
@k9ert: What do you think?
Contributor guide
Assessment
This issue has not been assessed yet.