From d461a21ad2ca2ba5aff9aa72ec88695dc23f2d91 Mon Sep 17 00:00:00 2001 From: Jacob Rockland Date: Tue, 22 May 2018 16:09:19 -0700 Subject: [PATCH] iniital release --- README.md | 8 ++++++-- setup.py | 20 +------------------- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 28c580e..9d6807b 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,17 @@ ## Installation -Using [pip](), installation is simple: +First install the [Adafruit BluefruitLE library](https://github.com/adafruit/Adafruit_Python_BluefruitLE). +``` + +Please note that this library only currently supports macOS and Linux, as Windows is not currently supported by the [underlying BLE](https://github.com/adafruit/Adafruit_Python_BluefruitLE) package used for this library. + +After installing the BluefruitLE library, installation of ZorbPy using [pip](https://pypi.org/project/pip/) is simple: ```sh pip install zorb ``` -Please note that this library only currently supports macOS and Linux, as Windows is not currently supported by the [underlying BLE](https://github.com/adafruit/Adafruit_Python_BluefruitLE) package used for this library. ## Library Usage diff --git a/setup.py b/setup.py index 30d9cf2..d16abf1 100644 --- a/setup.py +++ b/setup.py @@ -2,29 +2,12 @@ from setuptools import find_packages from setuptools import setup -from subprocess import call - -class BluefruitLEInstallCommand(Command): - user_options = [] - - def initialize_options(self): - """Abstract method that is required to be overwritten""" - - def finalize_options(self): - """Abstract method that is required to be overwritten""" - - def run(self): - call(["git", "clone", "https://github.com/adafruit/Adafruit_Python_BluefruitLE.git"]) - call(["cd", "Adafruit_Python_BluefruitLE"]) - call(["python", "setup.py", "install"]) - call(["cd", ".."]) - with open("README.md", "r") as fh: long_description = fh.read() setup( name="zorb", - version="0.1.2", + version="0.1.0", author="Somatic Labs", author_email="developers@somaticlabs.io", description="Python SDK for the Zorb Engine", @@ -32,7 +15,6 @@ def run(self): long_description_content_type="text/markdown", url="https://github.com/SomaticLabs/ZorbPy", packages=find_packages(), - cmdclass={'bluefruitLE': BluefruitLEInstallCommand}, classifiers=( "Programming Language :: Python :: 2.7", "License :: OSI Approved :: MIT License",