#!/usr/bin/env python
# -*- coding: utf-8 -*-


import os
from setuptools import setup, find_packages


BIN_FOLDER = 'bin'


def readme():
    with open('README.md') as f:
        return f.read()


def apply_folder_join(item):
    return os.path.join(BIN_FOLDER, item)


if os.name is 'nt':
    bin_scripts = ['symoro-bin.py']
else:
    bin_scripts = ['symoro-bin']
bin_scripts = map(apply_folder_join, bin_scripts)


setup(
    name='symoro',
    version='0.2',
    description='SYmoblic MOdelling of RObots software package',
    url='http://github.com/symoro/symoro',
    scripts=bin_scripts,
    packages=find_packages(),
    zip_safe=False
)



@@ -616,16 +616,68 @@
 ackages(
+exclude=%5B'*.tests', '*.tests.*', 'tests.*', 'tests'%5D
 ),%0A    z

Modify `setup.py` to exclude `tests`