-
Notifications
You must be signed in to change notification settings - Fork 704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implemented setup.py for install easybuild-easyconfigs #3
Conversation
Tested both with |
Can you also update the README.md to reflect this installation method? |
Turns out this doesn't work as expected with setuptools v0.6c5 and Python 2.4, which is what we have installed on our gengar cluster. It's installed a zipped egg with that setup, and thus the easyconfigs are not easy to use. You can install an unzipped egg with |
I just looked into fixing the setup.py script such that the easyconfigs are also installed in $PREFIX/share when easy_i stall is used. After over two hours of fiddling about and figuring out the easy_install source code, my conclusion is that there is no decent way to get around the fact that setuptools want to install everything inside an egg, even data files that are basically just text files. Thus, I feel we just have to live with the fact that the easyconfigs will be installed in a somewhat fishy (imho) directory deep inside the install dir that was specified. Thoughts, @JensTimmerman, @stdweird? |
…n /share, doesn't work when easy_install is used; add zip_safe = False to force unzipped egg being installed
since easy_install installs inside a containerised environment, you can't put anything out of that container (i tried hard for VSC-tools). apologies for raising more issues @boegel @JensTimmerman |
I disagree that this is a similar issue for easyblocks. If people want to see the code, they can browse the repository on GitHub. We could resolve this by making EasyBuild look in this path for relative easyconfig paths that can not be resolved in the regular way, thus making |
to make handling the easyconfig more user-friendly, eb should indeed look relative to the install path if it can't resolve the easyconfig file argument as a file (abolute path is not the issue, but reltive to current working directory). |
look into generate_wiki script for code that lists all easyconf files |
@JensTimmerman: It's already there, see easybuilders/easybuild-framework@64a5252 . This may be hoisted into a function that the wiki generation script can use as well, let's look into that later. I really want to move forward now, get this easy_install show on the road so we can test the whole toolchain business. |
Fixing this also results in a much nicer quick demo for the impatient. It boils down to a single short line now:
Nice! |
…long_description of setup.py
@JensTimmerman, please review and test via e.g. |
works here. |
implemented setup.py for install easybuild-easyconfigs
fix MDP file naming + style fixes
fix wikibeamer easyconfig, install it as a Python package
Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>
style fixes in modloadmsg for texinfo
small style fix in netCDF 4.3.0 patches spec
sync with develop & resolve conflicts
fix syntax & style issues in horton easyconfig file
sync with develop & resolve conflict
break up long lines in SuperLu easyconfigs
…3.5.1 add sanity_check_paths to configurable-http-proxy easyconfigs + minor style fixes (tabs, long lines)
fix minor style issues (indent/order/long lines)
fix version in PETSc 3.7.3 easyconfigs + add --LIBS configure option
use 'Conda' easyblock + empty version for dummy toolchain + some minor enhancements
use available Mono easyblock, add build deps in Mono easyconfigs
remove unneeded CMake easyconfig
adding Automake 1.15 with GCC-5.4.0 and intel-2017.01
filter out Boost version used as dependency for software that depends on a particular version of Boost
style fixes, add missing libgeotiff dep + switch to Python 3.6.6
…R2018b add whitelist for Python packages that don't support installation with pip
consistently add missing libjpeg-turbo dependency in LibTIFF 4.0.9 and 4.0.10 easyconfigs
also use https URLs in comments in Geant4 easyconfigs
add -Java-1.8 versionsuffix for Bazel 0.29.1 with GCCcore/9.3.0
Update and rename TensorFlow-2.2.2-foss-2020b.eb to TensorFlow-2.2.3-foss-2020b.eb
…02107 update SciPy-bundle wiht foss/2021.07 toolchain to latest pythran/pandas
…atch Two more patches for PyTorch-2.1.2-foss-2023a-CUDA-12.1.1.eb
use external EMSF instead of bundled binaries
No description provided.