- 
                Notifications
    You must be signed in to change notification settings 
- Fork 73
Description
Hi,
'tests/' folder and its contents are included in the python package and are also installed when pyformance package is installed via pip. This is a major issue as it breaks the local test import of various clients of pyformance as python tries to look for tests in site packages first and this breaks the code of clients i.e. you cannot do 'import tests.' in your code anymore as your tests folder would never be looked instead pyformance's tests folder would be looked first.
Please exlude tests/ folder from setup.py of pyformance to rectify this issue.
Solution 1)
You can replace your package line like this in setup.py:
packages=find_packages(exclude=['tests*'])
Solution 2)
remove init.py from tests/ folder so that it becomes a normal directory and not a python package to exclude from pip install.