Skip to content
Permalink
Browse files

#1 travis doesn't support python for osx. (travis issue 2312) however…

… we can maybe sneak around it for now.
  • Loading branch information
elenzil committed Jul 25, 2018
1 parent d1732a2 commit c0eff73d9764a68e95b305e0b01b37ec3b07a24b
Showing with 46 additions and 2 deletions.
  1. +6 −2 .travis.yml
  2. +6 −0 requirements.txt.travis
  3. +34 −0 setup.py.travis
@@ -1,10 +1,14 @@
os: osx

language: python

python:
- "2.7"

before_install:
- rm setup.py
- mv setup.py.travis setup.py
- rm requirements.txt
- mv requirements.txt.travis requirements.txt

install:
- python setup.py install
- pip install -r requirements.txt
@@ -0,0 +1,6 @@
mock==2.0.0
svgpathtools==1.3.3

# our own fork of this library, for pulling out manufacturer data from the BTLE advertisement.
git+git://github.com/playi/Adafruit_Python_BluefruitLE@928669a#egg=Adafruit_BluefruitLE

@@ -0,0 +1,34 @@
import setuptools

with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
name="WonderPy",
version="0.0.11",
author="Orion Elenzil",
author_email="orion@makewonder.com",
description="Python API for working with Wonder Workshop robots",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/playi/WonderPy",
packages=setuptools.find_packages(),
package_data={'WonderPy': ['lib/WonderWorkshop/osx/*.dylib']},
classifiers=(
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Environment :: MacOS X",
"Framework :: Robot Framework",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Programming Language :: Python :: 2.7",
),
keywords=['robots', 'dash', 'dot', 'cue', 'wonder workshop', 'robotics', 'sketchkit',],
test_suite='test',
install_requires=['mock', 'svgpathtools'],
# this also requires pip install git+git://github.com/playi/Adafruit_Python_BluefruitLE@928669a#egg=Adafruit_BluefruitLE
)

0 comments on commit c0eff73

Please sign in to comment.
You can’t perform that action at this time.