This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
forked from marcelstoer/nodemcu-pyflasher
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da530cd
commit 80facb3
Showing
7 changed files
with
129 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include LICENSE | ||
include README.md | ||
include requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
wxpython>=4.0,<5.0 | ||
esptool==2.8 | ||
requests>=2.24.0,<3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
wxpython>=4.0,<5.0 | ||
esptool==2.8 | ||
requests>=2.0,<3 | ||
pyinstaller | ||
pyinstaller>=3.6,<4 | ||
wheel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/usr/bin/env python | ||
"""esphomeflasher setup script.""" | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
|
||
from esphomeflasher import const | ||
|
@@ -8,24 +10,27 @@ | |
PROJECT_PACKAGE_NAME = 'esphomeflasher' | ||
PROJECT_LICENSE = 'MIT' | ||
PROJECT_AUTHOR = 'ESPHome' | ||
PROJECT_COPYRIGHT = '2019, ESPHome' | ||
PROJECT_COPYRIGHT = '2020, ESPHome' | ||
PROJECT_URL = 'https://esphome.io/guides/faq.html' | ||
PROJECT_EMAIL = '[email protected]' | ||
|
||
PROJECT_GITHUB_USERNAME = 'esphome' | ||
PROJECT_GITHUB_REPOSITORY = 'esphomeflasher' | ||
PROJECT_GITHUB_REPOSITORY = 'esphome-flasher' | ||
|
||
PYPI_URL = 'https://pypi.python.org/pypi/{}'.format(PROJECT_PACKAGE_NAME) | ||
GITHUB_PATH = '{}/{}'.format(PROJECT_GITHUB_USERNAME, PROJECT_GITHUB_REPOSITORY) | ||
GITHUB_URL = 'https://github.com/{}'.format(GITHUB_PATH) | ||
|
||
DOWNLOAD_URL = '{}/archive/{}.zip'.format(GITHUB_URL, const.__version__) | ||
|
||
REQUIRES = [ | ||
'wxpython>=4.0,<5.0', | ||
'esptool==2.8', | ||
'requests>=2.0,<3', | ||
] | ||
here = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
with open(os.path.join(here, 'requirements.txt')) as requirements_txt: | ||
REQUIRES = requirements_txt.read().splitlines() | ||
|
||
with open(os.path.join(here, 'README.md')) as readme: | ||
LONG_DESCRIPTION = readme.read() | ||
|
||
|
||
setup( | ||
name=PROJECT_PACKAGE_NAME, | ||
|
@@ -35,18 +40,20 @@ | |
download_url=DOWNLOAD_URL, | ||
author=PROJECT_AUTHOR, | ||
author_email=PROJECT_EMAIL, | ||
description="ESP8266/ESP32 firmware flasher for esphomelib", | ||
description="ESP8266/ESP32 firmware flasher for ESPHome", | ||
include_package_data=True, | ||
zip_safe=False, | ||
platforms='any', | ||
test_suite='tests', | ||
python_requires='>=3.5', | ||
python_requires='>=3.5,<4.0', | ||
install_requires=REQUIRES, | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type='text/markdown', | ||
keywords=['home', 'automation'], | ||
entry_points={ | ||
'console_scripts': [ | ||
'esphomeflasher = esphomeflasher.__main__:main' | ||
] | ||
}, | ||
packages=find_packages() | ||
packages=find_packages(include="esphomerelease.*") | ||
) |