Skip to content

Commit 17b7129

Browse files
authored
Setup file
1 parent a56d976 commit 17b7129

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

setup.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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, find_packages
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-netpie',
17+
py_modules=['netpie','simple'],
18+
version='1.0.0',
19+
install_requires=[],
20+
description='MicroPython Library for Interfacing with the NETPIE IoT Platform',
21+
long_description=DESCRIPTION,
22+
keywords= ['NETPIE', 'esp32', 'esp8266' ,'micropython'],
23+
url='https://github.com/PerfecXX/MicroPython-NETPIE',
24+
author='Teeraphat Kullanankanjana',
25+
author_email='ku.teeraphat@hotmail.com',
26+
maintainer='Teeraphat Kullanankanjana',
27+
maintainer_email='ku.teeraphat@hotmail.com',
28+
license='MIT',
29+
classifiers = [
30+
'Development Status :: 3 - Alpha',
31+
'Programming Language :: Python :: Implementation :: MicroPython',
32+
'License :: OSI Approved :: MIT License',
33+
],
34+
)
35+

0 commit comments

Comments
 (0)