Thanks, Kenneth, for the super-quick reply! As always, I really appreciate all your help.
Unfortunately, use_pip = True doesn't seem to change anything (actually, according to the debug log, see https://gist.githubusercontent.com/andreas-h/6355a160082db1920fce6cb5d0f3655b/raw/efe52f557b289c7b322e633ed31e9568f4675004/easybuild-eKoEuJ.log, easybuild 3.0.1 still tries to use setup.py ?) Cheers, Andreas. Kenneth Hoste writes: > Hi Andreas, > > On 27/12/2016 19:12, Andreas Hilboll wrote: >> Hi all, >> >> I'm trying to create an easyconfig for jupyterhub 0.7. I copied the >> existing 0.6.1 easyconfig and bumped the version number, so it now reads >> >> easyblock = 'Bundle' >> name = 'jupyterhub' >> version = '0.7.0' >> versionsuffix = '-Python-%(pyver)s' >> homepage = 'http://jupyter.org' >> description = """JupyterHub is a multiuser version of the Jupyter >> (IPython) notebook designed for >> centralized deployments in companies, university classrooms and >> research labs.""" >> toolchain = {'name': 'intel', 'version': '2016a'} >> dependencies = [ >> ('Python', '3.5.1'), >> ('IPython', '5.1.0', versionsuffix), >> ('configurable-http-proxy', '1.3.0', '-nodejs-4.4.7'), >> ] >> # this is a bundle of Python packages >> exts_defaultclass = 'PythonPackage' >> exts_list = [ >> ('SQLAlchemy', '1.0.13', { >> 'source_urls': >> ['https://pypi.python.org/packages/source/S/SQLAlchemy/'], >> }), >> ('requests', '2.10.0', { >> 'source_urls': >> ['https://pypi.python.org/packages/source/r/requests/'], >> }), >> ('pamela', '0.2.1', { >> 'source_urls': >> ['https://pypi.python.org/packages/source/p/pamela/'], >> }), >> ('jupyterhub', version, { >> 'source_urls': >> ['https://pypi.python.org/packages/source/j/jupyterhub/'], >> }), >> ] >> modextrapaths = {'PYTHONPATH': >> ['lib/python%(pyshortver)s/site-packages']} >> sanity_check_paths = { >> 'files': ['bin/jupyterhub'], >> 'dirs': ['lib/python%(pyshortver)s/site-packages/jupyterhub'], >> } >> sanity_check_commands = ['jupyterhub --help'] >> moduleclass = 'tools' >> >> However, I get the error >> >> == 2016-12-27 19:07:51,707 build_log.py:147 ERROR EasyBuild crashed with >> an error (at ?:124 in __init__): cmd " >> /home/eb/software/Python/3.5.1-intel-2016a/bin/python setup.py install >> --prefix=/home/eb/software/jupyterhub/0.7.0-intel-2016a-Python-3.5.1 " >> exited with exitcode 1 and output: >> running install >> running bdist_egg >> Aborting implicit building of eggs. Use `pip install .` to install from >> source. >> (at easybuild/tools/run.py:438 in parse_cmd_output) >> == 2016-12-27 19:07:51,707 easyblock.py:2499 WARNING build failed (first >> 300 chars): cmd " /home/eb/software/Python/3.5.1-intel-2016a/bin/python >> setup.py install >> --prefix=/home/eb/software/jupyterhub/0.7.0-intel-2016a-Python-3.5.1 " >> exited with exitcode 1 and output: >> running install >> running bdist_egg >> Aborting implicit building of eggs. Use `pip install .` to install from >> source. >> >> Any idea how I can build this extension with EasyBuild? The dirty way >> might be to do a postinstallcmd using pip, but that would not be nice >> ... > > Can you including "use_pip = True" in the easyconfig (outside of exts_list)? > > That will instruct the PythonPackage easyblock to install each of the > extensions using "pip install" rather than "python setup.py install". > > If that works, please contribute back the easyconfig file, since not > using pip worked fine before for jupyterhub (see > https://github.com/hpcugent/easybuild-easyconfigs/pull/3380/files#diff-413ed864a21f21af061b5140b30f3643). > > > regards, > > Kenneth -- Dr. Andreas Hilboll Center for Marine Environmental Sciences (MARUM) - AND - Institute of Environmental Physics (IUP) University of Bremen NW1 / S3132 Otto-Hahn-Allee 1 D-28359 Bremen Germany +49(0)421 218 62133 (phone) +49(0)421 218 98 62133 (fax) http://www.iup.uni-bremen.de/~hilboll