Skip to content

Commit

Permalink
Update support for 3.6 and higher" (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
willingc authored and brentru committed Jun 18, 2018
1 parent 5951b86 commit 0015d6d
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -2,7 +2,7 @@
# This file will be regenerated if you run travis_pypi_setup.py

language: python
python: 3.5
python: 3.6

install:
- pip install -r requirements_dev.txt
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Expand Up @@ -101,7 +101,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 2.6, 2.7, 3.3, 3.4 and 3.5, and for PyPy. Check
3. The pull request should work for Python 3.6 and higher. Check
https://travis-ci.org/adafruit/circuitpython_kernel/pull_requests
and make sure that the tests pass for all supported Python versions.

Expand Down
23 changes: 14 additions & 9 deletions README.rst
Expand Up @@ -5,11 +5,11 @@ CircuitPython Kernel


.. image:: https://readthedocs.org/projects/circuitpython-kernel/badge/?version=latest
:target: https://circuitpython-kernel.readthedocs.io/en/latest/?badge=latest
:alt: Documentation
:target: https://circuitpython-kernel.readthedocs.io/en/latest/?badge=latest
:alt: Documentation


.. image :: https://img.shields.io/discord/327254708534116352.svg
.. image:: https://img.shields.io/discord/327254708534116352.svg
:target: https://discord.gg/nBQh6qu
:alt: Discord

Expand All @@ -19,15 +19,19 @@ CircuitPython Kernel
:alt: Build Status


The CircuitPython Kernel is a `Jupyter Kernel <https://jupyter.org/>`_ designed to interact with Adafruit boards running `CircuitPython <https://github.com/adafruit/circuitpython>`_ from within a Jupyter Notebook
The CircuitPython Kernel is a `Jupyter Kernel <https://jupyter.org/>`_ designed to interact with Adafruit boards
running `CircuitPython <https://github.com/adafruit/circuitpython>`_ from within a Jupyter Notebook.


Status
------

This project's status is experimental. It has been tested with CircuitPython (SAMD) boards and the Feather HUZZAH (ESP8266) using CircuitPython 2.x Stable and 3.0.0 Beta 1.
This project's status is experimental. It has been tested with CircuitPython (SAMD) boards and the
Feather HUZZAH (ESP8266) using CircuitPython 2.x Stable and 3.0.0 Beta 1.

It may break, and if it does, please file an
`issue on this repository <https://circuitpython-kernel.readthedocs.io/en/latest/contributing.html>`__.

It may break, and if it does, please file an `issue on this repository <https://circuitpython-kernel.readthedocs.io/en/latest/contributing.html>`__.

Compatible Boards
-----------------
Expand Down Expand Up @@ -55,13 +59,14 @@ Other Boards
Download
--------

Official .zip files are available through the `latest GitHub
releases <https://github.com/adafruit/circuitpython_kernel/releases>`__.
Official .zip files are available through the
`latest GitHub releases <https://github.com/adafruit/circuitpython_kernel/releases>`__.


Documentation
-------------

This kernel is fully documented on the Adafruit Learning System (*Guide Coming Soon!*)

There's also documentation for this kernel listed `on the ReadTheDocs page for this repo. <https://circuitpython-kernel.readthedocs.io/en/latest/>`__.
There's also documentation for this kernel listed on
`ReadTheDocs <https://circuitpython-kernel.readthedocs.io/en/latest/>`__.
4 changes: 2 additions & 2 deletions docs/boardprep.md
Expand Up @@ -34,8 +34,8 @@ from the boards designed for circuitpython.

### Installing CircuitPython Firmware

- python3 -m pip install esptool
- - Download the [CircuitPython Firmware (.bin file) from the CircuitPython Repo](https://github.com/adafruit/circuitpython/releases)
- `python3 -m pip install esptool`
- Download the [CircuitPython Firmware (.bin file) from the CircuitPython Repo](https://github.com/adafruit/circuitpython/releases)
- Install the [SiLabs CP210x driver](https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers)
- Erase flash `python3 esptool.py --port /path/to/ESP8266 erase_flash`
- Load firmware: `esptool.py --port /path/to/ESP8266 --baud 460800 write_flash --flash_size=detect 0 firmware.bin`
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -17,7 +17,7 @@
import os

# For conversion from markdown to html
import recommonmark.parser
import recommonmark

# If extensions (or modules to document with autodoc) are in another
# directory, add these directories to sys.path here. If the directory is
Expand Down
4 changes: 2 additions & 2 deletions docs/environment.yml
Expand Up @@ -2,10 +2,10 @@ name: cpy_docs
channels:
- conda-forge
dependencies:
- python=3.5
- python=3.6
- ipykernel
- sphinx>=1.3.6
- pip:
- circuitpython_kernel==0.2.0
- circuitpython_kernel>=0.2.0
- Flask-Sphinx-Themes
- recommonmark
3 changes: 0 additions & 3 deletions setup.py
Expand Up @@ -46,9 +46,6 @@
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
test_suite='tests',
Expand Down

0 comments on commit 0015d6d

Please sign in to comment.