easyconfigs-it4i/p/Python/Python-3.6.2-base.eb
easybuild 40b461ca6f fix
2019-11-06 13:38:09 +01:00

52 lines
1.5 KiB
Plaintext

# IT4Innovations 2017
name = 'Python'
version = '3.6.2'
versionsuffix = '-base'
homepage = 'http://python.org/'
description = "Python is a programming language that lets you work more quickly and integrate your systems more effectively."
toolchain = SYSTEM
toolchainopts = {'pic': True, 'opt': True, 'optarch': True}
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
prebuildopts = 'export CFLAGS="-I${EBROOTXZ}/include" && '
prebuildopts += 'export LDFLAGS="-L${EBROOTXZ}/lib" && '
configopts = "--enable-optimizations"
# python needs bzip2 to build the bz2 package
dependencies = [
('bzip2', '1.0.6'),
('libreadline', '7.0'),
('SQLite', '3.17.0'),
('Tk', '8.6.6'),
('GMP', '6.1.2'),
('XZ', '5.2.3'),
('zlib', '1.2.11'),
('ncurses', '6.0'),
# ('OpenSSL', '1.0.1q'), # OS dependency should be preferred if the os version is more recent then this version, it's
# nice to have an up to date openssl for security reasons
]
osdependencies = [('openssl-devel', 'libssl-dev')]
# order is important!
# package versions updated Feb 25th 2016
exts_list = [
('setuptools', '20.1.1', {
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
}),
('pip', '8.0.2', {
'source_urls': ['https://pypi.python.org/packages/source/p/pip/'],
}),
('nose', '1.3.7', {
'source_urls': ['https://pypi.python.org/packages/source/n/nose/'],
}),
]
#modluafooter = 'add_property("state","experimental")'
moduleclass = 'lang'