Package: magnus
Version: 1:1.0.3-5
Severity: serious
X-Debbugs-Cc: [email protected]

Dear Maintainer,

The installation location for Python modules is a shared namespace
across all modules; everything ends up in /usr/lib/python3/dist-packages

The magnus package does a couple of unusual and incorrect things...

magnus: /usr/lib/python3/dist-packages/Magnus-1.0.3.egg-info/PKG-INFO
magnus: 
/usr/lib/python3/dist-packages/Magnus-1.0.3.egg-info/dependency_links.txt
magnus: /usr/lib/python3/dist-packages/Magnus-1.0.3.egg-info/requires.txt
magnus: /usr/lib/python3/dist-packages/Magnus-1.0.3.egg-info/top_level.txt
magnus: /usr/lib/python3/dist-packages/setup.py

- it is accidentally shipping its `setup.py` file as a module; anyone
  with magnus installed would then be able to accidentally 'import
  setup'; that shared namespace shouldn't be polluted

- it is claiming to install the Magnus module but that module doesn't
  actually exist; there are no files associated with the Magnus egg, and
  the things that the Magnus egg claims are importable are all
  accidental - and either not importable or are actually in other packages:
  build data debian setup snap

I can see the desire to use setup.py to install the executable and other
files into the right places; if you want to continue to do that, please
delete debian/*/usr/lib afterwards to clean up.

regards
Stuart

Reply via email to