|
| 1 | +import io |
| 2 | +from os.path import abspath, dirname, join |
| 3 | +import sys |
| 4 | +# Remove current dir from sys.path, otherwise setuptools will peek up our |
| 5 | +# module instead of system. |
| 6 | +sys.path.pop(0) |
| 7 | +from setuptools import setup |
| 8 | + |
| 9 | +HERE = dirname(abspath(__file__)) |
| 10 | +LOAD_TEXT = lambda name: io.open(join(HERE, name), encoding='UTF-8').read() |
| 11 | +DESCRIPTION = '\n\n'.join(LOAD_TEXT(_) for _ in [ |
| 12 | + 'README.rst' |
| 13 | +]) |
| 14 | + |
| 15 | +setup( |
| 16 | + name='micropython-googlesheet', |
| 17 | + py_modules=['ggsheet'], |
| 18 | + version='0.0.2', |
| 19 | + description='Update or append the data to Google Sheet, or get the data on Google Sheet. by using HTTP to execute the Google Apps Script API compatible with ESP32 and ESP8266.', |
| 20 | + long_description=DESCRIPTION, |
| 21 | + keywords= ['googlesheet', 'esp32', 'esp8266' ,'micropython'], |
| 22 | + url='https://github.com/PerfecXX/MicroPython-GoogleSheet', |
| 23 | + author='Teeraphat Kullanankanjana', |
| 24 | + author_email='ku.teeraphat@hotmail.com', |
| 25 | + maintainer='Teeraphat Kullanankanjana', |
| 26 | + maintainer_email='ku.teeraphat@hotmail.com', |
| 27 | + license='MIT', |
| 28 | + classifiers = [ |
| 29 | + 'Development Status :: 3 - Alpha', |
| 30 | + 'Programming Language :: Python :: Implementation :: MicroPython', |
| 31 | + 'License :: OSI Approved :: MIT License', |
| 32 | + ], |
| 33 | +) |
0 commit comments