Skip to content

Commit

Permalink
use install_requires for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
emillon committed Jan 28, 2015
1 parent fc979e3 commit 2bae45b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: python
install:
- "pip install -r requirements.txt --use-mirrors"
- "python setup.py develop"
- "pip install -r requirements-dev.txt --use-mirrors"
- "pip install coveralls --use-mirrors"
python:
Expand Down
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
0.0.2
-----

* Switch from requirements.txt to install_requires

0.0.1
-----
**release date:** 2015-01-28
Expand Down
4 changes: 0 additions & 4 deletions requirements.txt

This file was deleted.

9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from pip.req import parse_requirements
import setuptools

reqs = [str(ir.req) for ir in parse_requirements('requirements.txt')]

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

Expand All @@ -16,7 +14,12 @@
url="https://github.com/emillon/mixcloud",
license='BSD',
packages=['mixcloud'],
install_requires=reqs,
install_requires=[
'python-dateutil',
'requests',
'unidecode',
'pyyaml',
],
description='Bindings for the mixcloud.com API',
long_description=readme + '\n\n' + history,
classifiers=[
Expand Down

0 comments on commit 2bae45b

Please sign in to comment.