michaelkryukov / mongomock_motor

Library for mocking AsyncIOMotorClient built on top of mongomock.
MIT License
94 stars 23 forks source link

Package is installed with "tests" folder #24

Closed JPDevelop closed 1 year ago

JPDevelop commented 1 year ago

When installing the package the tests folder is installed as well as a separate package.

When uninstalling with pip the following appears:

Uninstalling mongomock-motor-0.0.15:
  Would remove:
    .pyenv/versions/3.9.13/envs/venv_tb_web_server/lib/python3.9/site-packages/mongomock_motor-0.0.15.dist-info/*
   .pyenv/versions/3.9.13/envs/venv_tb_web_server/lib/python3.9/site-packages/mongomock_motor/*
    .pyenv/versions/3.9.13/envs/venv_tb_web_server/lib/python3.9/site-packages/tests/

This causes problems when I want to import from my tests folder.

A good solution would be to change setup.py