adversarial-robustness-toolbox
adversarial-robustness-toolbox copied to clipboard
Package installs 'tests' module into site-packages causing namespace pollution
Hi, I noticed your package is currently installing its tests directory into site-packages, which creates a global 'tests' module that can be imported from anywhere. This is considered a packaging antipattern as it can cause namespace collisions.
Steps to reproduce:
- Install your package
- Run Python interpreter
import testsworks and points to your package's tests
Could you modify your package configuration to exclude the tests directory from installation? In your setup.py this can be done with
packages = find_packages(exclude=["tests", "tests.*"])