Actually you need to exclude the submodules of the tests module too, so the line should be:
packages=find_packages(exclude=['tests', 'tests.*'])
Actually you need to exclude the submodules of the tests module too, so the line should be:
packages= find_packages( exclude= ['tests' , 'tests.*'])