This repository has been archived by the owner on Apr 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
52 lines (47 loc) · 1.91 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
# Note: you shouldn't need to run this script manually. It is run implicitly by the pip3 install command.
"""Setup script for meshtastic_flasher package."""
import pathlib
from setuptools import setup
from meshtastic_flasher.version import __version__
# The directory containing this file
HERE = pathlib.Path(__file__).parent
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# This call to setup() does all the work
# Note: Version is now in meshtastic_flasher/__version__.py
setup(
name="meshtastic_flasher",
version=f"{__version__}",
description="Graphical user interface to flash Meshtastic firmware to devices",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/meshtastic/Meshtastic-gui-installer",
author="Meshtastic Developers",
author_email="[email protected]",
license="GPL-3.0-only",
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
packages=["meshtastic_flasher"],
include_package_data=True,
package_data={
'': ['logo.png', 'help.svg', 'info.svg', 'options.svg', 'cog.svg', 'meshtastic_theme.xml', 'fields.json', 'radios/*'],
},
install_requires=["pyside6", "PyGithub", "esptool==4.2.1", "meshtastic>=2.0.8", "qt-material",
"psutil", "adafruit-nrfutil", "pyserial", "geocoder"],
extras_require={
},
python_requires='>=3.6',
entry_points={
"console_scripts": [
"meshtastic-flasher=meshtastic_flasher.main:main",
]
},
)