-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
67 lines (62 loc) · 2.13 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
from setuptools import setup
import pathlib
import sdist_upip
here = pathlib.Path(__file__).parent.resolve()
# Get the long description from the README file
long_description = (here / 'README.md').read_text(encoding='utf-8')
# load elements of version.py
exec(open(here / 'wifi_manager' / 'version.py').read())
setup(
name='micropython-esp-wifi-manager',
version=__version__,
description="MicroPython WiFi Manager to configure and connect to networks",
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/brainelectronics/Micropython-ESP-WiFi-Manager',
author=__author__,
author_email='[email protected]',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
],
keywords='micropython, brainelectronics, wifi, wifimanager, library',
project_urls={
'Bug Reports': 'https://github.com/brainelectronics/Micropython-ESP-WiFi-Manager/issues',
'Source': 'https://github.com/brainelectronics/Micropython-ESP-WiFi-Manager',
},
license='MIT',
cmdclass={'sdist': sdist_upip.sdist},
packages=['wifi_manager'],
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/distutils/setupscript.html#installing-additional-files
#
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
data_files=[
(
'static',
[
'static/css/bootstrap.min.css',
'static/css/bootstrap.min.css.gz',
]
),
(
'templates',
[
'templates/index.tpl',
'templates/remove.tpl',
'templates/select.tpl',
]
)
],
install_requires=[
'picoweb',
'micropython-ulogging',
'micropython-brainelectronics-helpers',
'utemplate',
]
)