Skip to content

Commit

Permalink
Version 1.0.1 as uploaded to pypi (metadata changes)
Browse files Browse the repository at this point in the history
V1.0.0 had a mistake so I had to burn that version due to pypi policy (oops.)
  • Loading branch information
projectgus committed Apr 21, 2016
1 parent b4b4677 commit aaa25e0
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 10 deletions.
2 changes: 1 addition & 1 deletion esptool.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import inspect


__version__ = "1.0.0"
__version__ = "1.0.1"


class ESPROM:
Expand Down
49 changes: 40 additions & 9 deletions setup.py
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/
Expand All @@ -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+)',
Expand Down

0 comments on commit aaa25e0

Please sign in to comment.