Skip to content

Commit

Permalink
Package added to PyPi
Browse files Browse the repository at this point in the history
  • Loading branch information
EnriqueMoran committed Apr 28, 2021
1 parent e7a66e0 commit 3c46123
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if has_connection:

## Installation

pyBittle has the following dependencies: [PyBluez](https://github.com/pybluez/pybluez) and [pySerial](https://github.com/pyserial/pyserial), install them using the following commands:
pyBittle has the following dependencies: [PyBluez](https://github.com/pybluez/pybluez) and [pySerial](https://github.com/pyserial/pyserial), install them manually using the following commands:

```
sudo apt-get install libbluetooth-dev
Expand All @@ -46,4 +46,9 @@ pip install pyserial
git clone https://github.com/EnriqueMoran/pyBittle.git
pip install .
```

Or install automatically using the following commands:
```
pip install pyBittle
```
2 changes: 0 additions & 2 deletions pyBittle/bittleManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

__author__ = "EnriqueMoran"

__version__ = "1.0.0"


class Command(Enum):
"""Defines avaliable commands.
Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
import os
import pathlib
import sys

from setuptools import find_packages, setup

VERSION = "1.0.0"
DIR = pathlib.Path(__file__).parent
README = (DIR / "README.md").read_text()

if sys.version_info[:2] < (3, 6):
raise RuntimeError("Python version >= 3.6 required.")

setup(
name='pyBittle',
version=VERSION,
description='pyBittle package',
description='Open source library for connecting and controlling Bittle.',
long_description=README,
long_description_content_type="text/markdown",
url='https://github.com/EnriqueMoran/pyBittle',
author='EnriqueMoran',
author_email='enriquemoran95@gmail.com',
Expand Down

0 comments on commit 3c46123

Please sign in to comment.