Skip to content

Commit

Permalink
iniital release
Browse files Browse the repository at this point in the history
  • Loading branch information
jakerockland committed May 22, 2018
1 parent f96dac6 commit d461a21
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 21 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
20 changes: 1 addition & 19 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,19 @@
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="[email protected]",
description="Python SDK for the Zorb Engine",
long_description=long_description,
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",
Expand Down

0 comments on commit d461a21

Please sign in to comment.