123456789101112131415161718192021222324252627282930313233343536 |
- # Workaround for issue in Python 2.7.3
- # See http://bugs.python.org/issue15881#msg170215
- try:
- import multiprocessing
- except ImportError:
- pass
- try:
- # Try using ez_setup to install setuptools if not already installed.
- from ez_setup import use_setuptools
- use_setuptools()
- except ImportError:
- # Ignore import error and assume Python 3 which already has setuptools.
- pass
- from setuptools import setup, find_packages
- classifiers = ['Development Status :: 4 - Beta',
- 'Operating System :: POSIX :: Linux',
- 'License :: OSI Approved :: MIT License',
- 'Intended Audience :: Developers',
- 'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3',
- 'Topic :: Software Development',
- 'Topic :: System :: Hardware']
- setup(name = 'ST7735',
- version = '0.0.1',
- description = 'Library to control an ST7735 TFT LCD display.',
- license = 'MIT',
- classifiers = classifiers,
- url = 'https://github.com/cskau/Python_ST7735/',
- dependency_links = ['https://github.com/adafruit/Adafruit_Python_GPIO/tarball/master#egg=Adafruit-GPIO-0.6.5'],
- install_requires = ['Adafruit-GPIO>=0.6.5'],
- packages = find_packages())
|