Skip to content

Commit

Permalink
Merge pull request #29 from hfaran/develop
Browse files Browse the repository at this point in the history
develop -> master for 0.5.1
  • Loading branch information
hfaran committed Aug 22, 2015
2 parents 6a18f3a + 552a451 commit 4733504
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ You've seen this before and you'll see it again.

```bash
# The easy way
sudo pip install piazza-api
pip install piazza-api
```

```bash
# The developer way
git clone https://github.com/hfaran/piazza-api
cd piazza-api
sudo python setup.py install
python setup.py develop
```

## Contribute
Expand Down
2 changes: 1 addition & 1 deletion piazza_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from piazza_api.piazza import Piazza

__version__ = "0.5.0"
__version__ = "0.5.1"
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

import codecs
import os
from setuptools import setup, find_packages

import piazza_api
import re
from setuptools import setup


def read(filename):
Expand All @@ -13,13 +12,17 @@ def read(filename):
return codecs.open(os.path.join(here, filename), 'r').read()


# https://github.com/kennethreitz/requests/blob/master/setup.py#L32
with open('piazza_api/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
install_requires = read("requirements.txt").split()
long_description = read('README.md')


setup(
name='piazza-api',
version=piazza_api.__version__,
version=version,
url='http://github.com/hfaran/piazza-api/',
license='MIT License',
author='Hamza Faran',
Expand Down

0 comments on commit 4733504

Please sign in to comment.