Skip to content

Commit

Permalink
Merge pull request #6910 from smoors/20180925142157_new_pr_Pyomo550
Browse files Browse the repository at this point in the history
{math}[foss/2018b] Pyomo v5.5.0 w/ Python 2.7.15
  • Loading branch information
boegel authored Sep 27, 2018
2 parents 1dd342d + bc96ec9 commit 786c941
Showing 1 changed file with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
easyblock = 'Bundle'

name = 'Pyomo'
version = '5.5.0'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://www.pyomo.org/'
description = """ Pyomo is a Python-based open-source software package that supports a diverse set of optimization
capabilities for formulating and analyzing optimization models. """

toolchain = {'name': 'foss', 'version': '2018b'}

dependencies = [('Python', '2.7.15')]

exts_defaultclass = 'PythonPackage'

exts_default_options = {
'download_dep_fail': True,
'use_pip': True,
}

exts_list = [
('appdirs', '1.4.3', {
'source_urls': ['https://pypi.python.org/packages/source/a/appdirs'],
'checksums': ['9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92'],
}),
('ply', '3.11', {
'source_urls': ['https://pypi.python.org/packages/source/p/ply'],
'checksums': ['00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3'],
}),
('PyUtilib', '5.6.3', {
'source_urls': ['https://pypi.python.org/packages/source/p/pyutilib'],
'checksums': ['6a21fccfe691c39566c0bb19b5c9aa11bca8b076aa6f1dbf21c11711f5105191'],
# use setuptools: pip fails due to missing __init__.py files
# see: https://github.com/PyUtilib/pyutilib/issues/39
'use_pip': False,
}),
(name, version, {
'source_urls': ['https://pypi.python.org/packages/source/p/pyomo'],
'checksums': ['6079a7a24d148b1c725d5364de1e0fa99e2e9c284ba223517e0955ef2b8f3ea1'],
}),
]

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

moduleclass = 'math'

0 comments on commit 786c941

Please sign in to comment.