-
Notifications
You must be signed in to change notification settings - Fork 705
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
Local (--user) installation through distutils does not place easyconfigs in the standard path #31
Comments
This issue should be reported in the easybuild-framework repo. The fact that easybuild-easyconfigs get installed differently by Can you open the issue there, and close this one by mentioning it was moved there (with mention of the issue number in easybuild-framework)? |
Well, I see no reason why this should be different from the install done for the easyblocks. So it it ends up being different, something is wrong imho with the setup for easybuild-easyconfigs. The other issue, that you should be able to deal with other locations has been openen on the easybuild-framework repo, see easybuilders/easybuild-framework#356 |
Are you saying that easybuild-easyblock is being installed as an egg, i.e. to |
No, easybuild-easyblocks ends up in the local site-pckages dir, easybuild-easyconfig does not, which strikes me as odd and suspicious. There should be no reason why this happensm if easybuild-easyconfig gets installed as a regular python package. Locally, that is. |
For easybuild-easyconfigs, the parameter See http://packages.python.org/distribute/setuptools.html#setting-the-zip-safe-flag for documentation on
It appears that We will need to keep the So, we should probably also use |
But it should never install in some other directory, zipped or not. |
And under distutils, the easyblocks repo is installed to the right path, i.e., /site-packages. So it does not have anything to do with zipping or unzipping, imho. |
My guess is that with Can you check that? I.e., clone easybuild-easyconfigs, adjust the |
I don't think we can fix what distutils is doing wrong, |
Sure, but if the rest cannot pick up the easyconfigs, then you should not state that it works with distutils. |
Well, we can fix this by giving a warning when we can't find it in the expected place, and then go on and checking the prefix directory itself. But this is different to trying to fix the installation process. |
We can fix this easily in the framework, by also trying the option of looking for the path I discussed this with Andy on the train, we indeed shouldn't try to fix distutils, because it does what it thinks it should be doing, i.e. installing data files directly in the prefix (setuptools does that in an (unzipped) egg, and it's hard to make it do something else). So, we should just go with that, and just support both install paths, as will be done in easybuilders/easybuild-framework#356 . So, unless someone objects, I'm going to close this (non-)issue, it doesn't require any changes in |
adding FFTW for gompi and gompic toolchain for 2016.03, 2016.09
prepare release notes for eb341
Checksum changes from upstream
add patch for R 3.6.2 with intel/2019b to fix compilation on CentOS 8
Typically, installed files end up in
However, when installing easybuild-easyconfigs using python 2.7, with distutils, they end up being copied to
And thus live in
There, they are not picked up by the framework, see easybuild-framework for the issue.
How to reproduce:
On the UGent HPC cluster login nodes:
The text was updated successfully, but these errors were encountered: