Skip to content

Commit

Permalink
Added PyPi and Travis build requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
MSeal committed Nov 26, 2017
1 parent 38edec8 commit 44323c8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sudo: false
language: python
python:
- "2.7"
- "3.5"
- "3.6"

install: "python setup.py install"
script: "python setup.py test"
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include README.md
include LICENSE
include requirements.txt

exclude tests
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/MSeal/htu21df_sensor.svg?branch=master)](https://travis-ci.org/MSeal/htu21df_sensor)

# htu21df Sensor Library
A lightweight library for talking to an htu21df sensor over i2c. Supports python 2 or 3.

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def read(fname):
with open(fname, 'rU' if python_2 else 'r') as fhandle:
return fhandle.read()

version = '0.1.3'
version = '0.1.4'
required = [req.strip() for req in read('requirements.txt').splitlines() if req.strip()]
setup(
name='htu21df',
Expand All @@ -25,7 +25,7 @@ def read(fname):
download_url='https://github.com/MSeal/htu21df_sensor/tarball/v' + version,
keywords=['sensors', 'raspberry_pi', 'adafruit', 'scripting'],
classifiers=[
'Development Status :: 4 - Beta Development Status',
'Development Status :: 4 - Beta',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
Expand Down

0 comments on commit 44323c8

Please sign in to comment.