Skip to content

Commit

Permalink
fixes #48 use install_requires to install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mikofski committed Aug 7, 2016
1 parent 62d9f49 commit 51fd9aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions carousel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
__author__ = u'Mark Mikofski'
__email__ = u'[email protected]'
__url__ = u'https://github.com/SunPower/Carousel'
__version__ = u'0.2.3'
__release__ = u'Balloons'
__version__ = u'0.2.4'
__release__ = u'Blue Balloons'
14 changes: 9 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
except IOError:
pass

REQUIRES = [
'numpy', 'xlrd', 'scipy', 'python_dateutil', 'numexpr', 'pint (>=0.7.2)',
'UncertaintyWrapper (>=0.4.1)', 'sphinx', 'nose', 'pandas', 'pytz', 'pvlib'
]
INST_REQ = ['%s%s' % (r[0], r[1][1:-1]) if len(r)==2 else r[0]
for r in (r.split() for r in REQUIRES)]

setup(name='Carousel',
version=__version__,
description='Model Simulation Framework',
Expand All @@ -28,11 +35,8 @@
author_email=__email__,
url=__url__,
packages=['carousel', 'carousel.core'],
requires=[
'numpy', 'xlrd', 'scipy', 'python_dateutil', 'numexpr',
'pint (>=0.7.2)', 'UncertaintyWrapper (>=0.4.1)', 'sphinx', 'nose',
'pandas', 'pytz', 'pvlib'
],
requires = REQUIRES,
install_requires = INST_REQ,
license='BSD 3-clause',
scripts=['carousel-quickstart.py'],
package_data={'carousel': [
Expand Down

0 comments on commit 51fd9aa

Please sign in to comment.