Skip to content

Commit 4cb6076

Browse files
committed
re-cookie
1 parent 47efbb9 commit 4cb6076

File tree

5 files changed

+35
-39
lines changed

5 files changed

+35
-39
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ install:
2626
- pip install pylint circuitpython-build-tools
2727

2828
script:
29-
- pylint veml6070.py
29+
- pylint adafruit_veml6070.py
3030
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
31-
- circuitpython-build-bundles --filename_prefix circuitpython-veml6070 --library_location .
31+
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-veml6070 --library_location .

LICENSE

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
1-
The BSD License (BSD)
1+
The MIT License (MIT)
22

3-
Copyright (c) 2016 Limor Fried
4-
Copyright (c) 2017 Michael Schroeder
3+
Copyright (c) 2017 Michael Schroeder(sommersoft)
54

6-
This CircuitPython library is based on Limor Fried's Arduino
7-
library for the Adafruit VEML6070 UV Sensor Breakout.
8-
License information from that library is included below.
9-
--------------------------------------------------------
10-
Designed specifically to work with the VEML6070 sensor from Adafruit
11-
----> https://www.adafruit.com/products/2899
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
1211

13-
These sensors use I2C to communicate, 2 pins are required to
14-
interface.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1514

16-
Adafruit invests time and resources providing this open source code,
17-
please support Adafruit and open-source hardware by purchasing
18-
products from Adafruit!
19-
20-
Arduino Library: Written by Limor Fried/Ladyada for Adafruit Industries.
21-
BSD license, all text above must be included in any redistribution
22-
https://github.com/adafruit/Adafruit_VEML6070
23-
--------------------------------------------------------
24-
CircuitPython Library Author: Michael Schroeder. No affiliation to
25-
Adafruit is implied.
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
Introduction
33
============
44

5-
.. image:: https://readthedocs.org/projects/circuitpython-veml6070/badge/?version=latest
5+
.. image:: https://readthedocs.org/projects/adafruit-circuitpython-veml6070/badge/?version=latest
66

7-
:target: https://circuitpython-veml6070.readthedocs.io/
7+
:target: https://circuitpython.readthedocs.io/projects/veml6070/en/latest/
88

99
:alt: Documentation Status
1010

@@ -21,13 +21,12 @@ This driver depends on:
2121
* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_
2222
* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_
2323

24-
2524
Please ensure all dependencies are available on the CircuitPython filesystem.
2625
This is easily achieved by downloading
2726
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
2827

2928
Usage Example
30-
=============
29+
=============
3130

3231
.. code-block:: python
3332
@@ -49,6 +48,7 @@ Usage Example
4948
print('Reading: {0} | Risk Level: {1}'.format(uv_raw, risk_level))
5049
time.sleep(1)
5150
51+
5252
API Reference
5353
=============
5454

@@ -61,7 +61,7 @@ Contributing
6161
============
6262

6363
Contributions are welcome! Please read our `Code of Conduct
64-
<https://github.com/sommersoft/CircuitPython_veml6070/blob/master/CODE_OF_CONDUCT.md>`_
64+
<https://github.com/adafruit/Adafruit_CircuitPython_VEML6070/blob/master/CODE_OF_CONDUCT.md>`_
6565
before contributing to help this project stay welcoming.
6666

6767
Building locally
@@ -86,4 +86,4 @@ Then run the build:
8686

8787
.. code-block:: shell
8888
89-
circuitpython-build-bundles --filename_prefix circuitpython-veml6070 --library_location .
89+
circuitpython-build-bundles --filename_prefix adafruit-circuitpython-veml6070 --library_location .

api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

22
.. If you created a package, create one automodule per module in the package.
33
4-
.. automodule:: veml6070
4+
.. automodule:: adafruit_veml6070
55
:members:

conf.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# autodoc module docs will fail to generate with a warning.
2121
# autodoc_mock_imports = ["digitalio", "busio"]
2222

23-
intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'BusDevice': ('https://circuitpython.readthedocs.io/projects/bus_device/en/latest/', None),'Register': ('https://circuitpython.readthedocs.io/projects/register/en/latest/', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}
23+
intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'BusDevice': ('https://circuitpython.readthedocs.io/projects/bus_device/en/latest/', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}
2424

2525
# Add any paths that contain templates here, relative to this directory.
2626
templates_path = ['_templates']
@@ -31,9 +31,9 @@
3131
master_doc = 'README'
3232

3333
# General information about the project.
34-
project = u'veml6070 Library'
35-
copyright = u'2017 Michael Schroeder'
36-
author = u'Michael Schroeder'
34+
project = u'Adafruit VEML6070 Library'
35+
copyright = u'2017 Michael Schroeder(sommersoft)'
36+
author = u'Michael Schroeder(sommersoft)'
3737

3838
# The version info for the project you're documenting, acts as replacement for
3939
# |version| and |release|, also used in various other places throughout the
@@ -96,7 +96,7 @@
9696
html_static_path = ['_static']
9797

9898
# Output file base name for HTML help builder.
99-
htmlhelp_basename = 'Veml6070Librarydoc'
99+
htmlhelp_basename = 'AdafruitVeml6070Librarydoc'
100100

101101
# -- Options for LaTeX output ---------------------------------------------
102102

@@ -122,7 +122,7 @@
122122
# (source start file, target name, title,
123123
# author, documentclass [howto, manual, or own class]).
124124
latex_documents = [
125-
(master_doc, 'veml6070Library.tex', u'veml6070 Library Documentation',
125+
(master_doc, 'AdafruitVEML6070Library.tex', u'AdafruitVEML6070 Library Documentation',
126126
author, 'manual'),
127127
]
128128

@@ -131,7 +131,7 @@
131131
# One entry per manual page. List of tuples
132132
# (source start file, name, description, authors, manual section).
133133
man_pages = [
134-
(master_doc, 'veml6070library', u'veml6070 Library Documentation',
134+
(master_doc, 'AdafruitVEML6070library', u'Adafruit VEML6070 Library Documentation',
135135
[author], 1)
136136
]
137137

@@ -141,7 +141,7 @@
141141
# (source start file, target name, title, author,
142142
# dir menu entry, description, category)
143143
texinfo_documents = [
144-
(master_doc, 'veml6070Library', u' veml6070 Library Documentation',
145-
author, 'veml6070Library', 'One line description of project.',
144+
(master_doc, 'AdafruitVEML6070Library', u'Adafruit VEML6070 Library Documentation',
145+
author, 'AdafruitVEML6070Library', 'One line description of project.',
146146
'Miscellaneous'),
147147
]

0 commit comments

Comments
 (0)