#!/usr/bin/env python

import os
from setuptools import setup

import oled

README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
version = oled.__version__

setup(
    name="ssd1306",
    version=version,
    author="Richard Hull",
    author_email="richard.hull@destructuring-bind.org",
    description=("A small library to drive an OLED device with either "
                 "SSD1306 or SH1106 chipset"),
    long_description=README,
    license="MIT",
    keywords="raspberry pi rpi oled display screen ssd1306 sh1106 spi i2c",
    url="https://github.com/rm-hull/ssd1306",
    download_url="https://github.com/rm-hull/ssd1306/tarball/" + version,
    packages=["oled"],
    install_requires=["pillow", "smbus2", "spidev", "RPi.GPIO"],
    setup_requires=["mock", "pytest-runner"],
    tests_require=["mock", "pytest", "pytest-cov", "python-coveralls"],
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Development Status :: 4 - Beta",
        "Intended Audience :: Education",
        "Intended Audience :: Developers",
        "Topic :: Education",
        "Topic :: System :: Hardware",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5"
    ]
)

@@ -775,24 +775,16 @@
 quires=%5B
-%22mock%22, 
 %22pytest-

Remove mock from setup