-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 1.0.1 as uploaded to pypi (metadata changes)
V1.0.0 had a mistake so I had to burn that version due to pypi policy (oops.)
- Loading branch information
1 parent
b4b4677
commit aaa25e0
Showing
2 changed files
with
41 additions
and
10 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 |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
import inspect | ||
|
||
|
||
__version__ = "1.0.0" | ||
__version__ = "1.0.1" | ||
|
||
|
||
class ESPROM: | ||
|
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,15 +1,12 @@ | ||
from setuptools import setup | ||
from codecs import open | ||
from os import path | ||
import io | ||
import os | ||
import re | ||
import sys | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
with open(path.join(here, 'README.md'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
if sys.version_info[0] > 2: | ||
raise RuntimeError("esptool.py only supports Python 2.x") | ||
|
||
# Example code to pull version from esptool.py with regex, taken from | ||
# http://python-packaging-user-guide.readthedocs.org/en/latest/single_source_version/ | ||
|
@@ -29,19 +26,53 @@ def find_version(*file_paths): | |
return version_match.group(1) | ||
raise RuntimeError("Unable to find version string.") | ||
|
||
long_description = """ | ||
========== | ||
esptool.py | ||
========== | ||
A command line utility to communicate with the ROM bootloader in Espressif ESP8266 WiFi microcontroller. | ||
Allows flashing firmware, reading back firmware, querying chip parameters, etc. Developed by the community, not by Espressif Systems. | ||
The esptool.py project is hosted on github: https://github.com/themadinventor/esptool | ||
Installation | ||
------------ | ||
esptool can be installed via pip: | ||
$ pip install --upgrade esptool | ||
(esptool.py requires Python 2. If your default pip version is Python 3, install via ``pip2 install esptool``.) | ||
Usage | ||
----- | ||
Please see the `Usage section of the README.md file <https://github.com/themadinventor/esptool/tree/pypi#usage>`_. | ||
You can also get help information by running `esptool.py --help`. | ||
Contributing | ||
------------ | ||
Please see the `CONTRIBUTING.md file on github <https://github.com/themadinventor/esptool/blob/master/CONTRIBUTING.md>`_. | ||
""" | ||
|
||
setup( | ||
name='esptool', | ||
version=find_version('esptool.py'), | ||
description='A utility to communicate with the ROM bootloader in Espressif ESP8266.', | ||
long_description=long_description, | ||
url='https://github.com/themadinventor/esptool', | ||
author='Fredrik Ahlberg', | ||
author_email='[email protected]', | ||
author='Fredrik Ahlberg (themadinventor) & Angus Gratton (projectgus)', | ||
author_email='[email protected]', | ||
license='GPLv2+', | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'Natural Language :: English', | ||
'Operating System :: POSIX', | ||
'Operating System :: Microsoft :: Windows', | ||
'Operating System :: MacOS :: MacOS X', | ||
'Topic :: Software Development :: Embedded Systems', | ||
'Environment :: Console', | ||
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)', | ||
|