Skip to content

Commit

Permalink
[setup][xs]: switch to external requirements.txt file for python depe…
Browse files Browse the repository at this point in the history
…ndencies.
  • Loading branch information
rufuspollock committed Nov 20, 2011
1 parent 1097f44 commit 6c0bfe5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Flask==0.8
SQLAlchemy==0.7.3
Flask-Login
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
from setuptools import setup, find_packages
try:
requirements = open('requirements.txt').read().split('\n')
except:
requirements = []

setup(
name = 'pybossa',
version = '0.1a',
packages = find_packages(),
install_requires = [
'Flask==0.8',
'SQLAlchemy==0.7.3'
],
install_requires = requirements,
# metadata for upload to PyPI
author = 'Citizen Cyberscience Centre and Open Knowledge Foundation',
# TODO: change
Expand Down

0 comments on commit 6c0bfe5

Please sign in to comment.