Skip to content

Commit

Permalink
Merge pull request #54 from mookerji/setup_update
Browse files Browse the repository at this point in the history
setup.py requirements update.
  • Loading branch information
mookerji committed Mar 25, 2015
2 parents 84cebd4 + 28c1250 commit 0a5f794
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions python/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
## SBP Bindings for Python

Python bindings for Swift Binary Protocol Messages.
Python client for Swift Binary Protocol (SBP).

```shell
# Install dependencies
pip install -r requirements.txt
python setup.py install
# Install dependencies only
sudo pip install -r requirements.txt

# Install from repo
sudo pip setup.py install

# Install package from pypi
pip install libsbp
sudo pip install sbp
```

## Usage
Expand Down
6 changes: 3 additions & 3 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
'win32',
]

# TODO
INSTALL_REQUIRES = []

with open('README.md') as f:
readme = f.read()

with open('./requirements.txt') as f:
INSTALL_REQUIRES = [i.strip() for i in f.readlines()]

setup(name='sbp',
description='Python bindings for Swift Binary Protocol',
long_description=readme,
Expand Down

0 comments on commit 0a5f794

Please sign in to comment.