forked from rm-hull/luma.oled
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
43 lines (39 loc) · 1.63 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
import oled
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
CONTRIB = open(os.path.join(os.path.dirname(__file__), "CONTRIBUTING.rst")).read()
CHANGES = open(os.path.join(os.path.dirname(__file__), "CHANGES.rst")).read()
version = oled.__version__
setup(
name="ssd1306",
version=version,
author="Richard Hull",
author_email="[email protected]",
description=("A small library to drive an OLED device with either "
"SSD1306, SSD1325, SSD1331 or SH1106 chipset"),
long_description="\n\n".join([README, CONTRIB, CHANGES]),
license="MIT",
keywords="raspberry pi rpi oled display screen ssd1306 ssd1325 ssd1331 sh1106 spi i2c 128x64 128x32 96x16",
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=["pytest-runner"],
tests_require=["mock", "pytest", "pytest-cov", "python-coveralls"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"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"
]
)