Remove tests directory from wheel package #120
Labels
api: orgpolicy
Issues related to the googleapis/python-org-policy API.
type: cleanup
An internal cleanup or hygiene concern.
Environment details
python --version
- Python 3.8.12pip --version
-pip 21.3.1
google-cloud-org-policy
version:pip show google-cloud-org-policy
Steps to reproduce
Building this library using the standard build steps:
This builds the wheel package in the
dist/
folder. Unzipping that we see multiple unit tests.Code example
N/A
Stack trace
I would be happy to submit a PR with the proposed change. Adding
to setup.py - https://github.com/googleapis/python-org-policy/blob/main/setup.py#L39, looks like it fixes it but whatever works for you all. The reason for requesting this change is anyone using a tests folder as part of their package structure will be affected by this, as site-packages takes precedence in many setups.
Thanks
The text was updated successfully, but these errors were encountered: