Skip to content

Commit

Permalink
Fixed pip dependency problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Hughes authored and Ben Hughes committed Dec 30, 2015
1 parent e4b9cd7 commit da4adb5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ docs/_build

#Translations
*.mo
.eggs/
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
from pip.req import parse_requirements
from setuptools import setup, find_packages
import sys, os

here = os.path.abspath(os.path.dirname(__file__))
version = open('version', 'r').read()
install_reqs = parse_requirements(os.path.join(here, 'requirements.txt'))
install_requires = [str(ir.req) for ir in install_reqs]
install_requires = [
"numpy==1.7.1",
"pygal==1.4.6",
"shortuuid==0.4",
"wsgiref==0.1.2",
]


setup(name='spcchart',
Expand All @@ -23,6 +26,7 @@
packages=['spcchart'],
include_package_data=True,
zip_safe=False,
setup_requires=['numpy==1.7.1'],
install_requires=install_requires,
entry_points={
'console_scripts':
Expand Down

0 comments on commit da4adb5

Please sign in to comment.