-
Notifications
You must be signed in to change notification settings - Fork 97
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
anaconda installation support? #277
Comments
Sorry, I just noticed that there is this: https://anaconda.org/ericdill/pyfai I'm guessing that's the same as your code. If so, apologies for the noise... |
On Wed, 01 Jun 2016 18:43:45 -0700
No problem, It is great anaconda users provide their own build system as we don't use anaconda at ESRF. We are preparing a new release for the coming days ... can you tell me Jérôme Kieffer |
Hi Jerome, Darren To create conda packages for similar things then Darren Dale's conda https://github.com/ddale/hedm-conda-recipes/tree/master/fabio It seems Darren also did packages for pymca, but I don't know where the https://anaconda.org/praxes/pymca I guess that one for pyFAI would just need tweaks in the yaml file. Docs http://conda.pydata.org/docs/build_tutorials.html There is an anaconda install for python27 in /data/id11/jon/anaconda All the best, Jon On 02/06/2016 17:02, Jerome Kieffer wrote:
There is only the linux-64 build in that repo, from the link it says "To
|
Hi Jon, Jerome, You can find the pymca conda recipe in the main repository at https://github.com/vasole/pymca. I think I found Eric Dill’s conda recipe for pyFAI at https://github.com/ericdill/conda-prescriptions/tree/master/recipes/pyFAI/dev. I suggest making a conda.recipe directory next to your setup.py file, and copying the meta.yaml, build.sh and bld.bat files into conda.recipe. To build a conda package, make sure you have conda-build installed (“conda install conda-build”) and then from your main directory do “conda build conda.recipe”. That checks out the version of your repo you specify in meta.yaml, it creates a temporary build environment and installs any packages listed in meta.yaml as build prerequisites, uses that environment to build the package by executing the build.sh or bld.bat file depending on your platform. For pyFAI, it is probably just running $PYTHON setup.py install (conda creates a $PYTHON environment variable so you pick up the python executable from the build environment). In my opinion, Anaconda and the Conda package manager are the best things to happen to Python since Python. Darren From: Jonathan WRIGHT Hi Jerome, Darren To create conda packages for similar things then Darren Dale's conda recipe for fabio is here: https://github.com/ddale/hedm-conda-recipes/tree/master/fabio It seems Darren also did packages for pymca, but I don't know where the build scripts are: https://anaconda.org/praxes/pymca I guess that one for pyFAI would just need tweaks in the yaml file. Docs are here: http://conda.pydata.org/docs/build_tutorials.html There is an anaconda install for python27 in /data/id11/jon/anaconda which has pyFAI in it - I think I installed it with the usual "python setup.py install" and so I didn't look into the dependencies questions. If there is a expert who can help (Darren?) then I guess it could be fast to make a package for pyFAI... otherwise figuring it all out could take a while. All the best, Jon On 02/06/2016 17:02, Jerome Kieffer wrote:
No problem, It is great anaconda users provide their own build system as we don't use anaconda at ESRF. We are preparing a new release for the coming days ... can you tell me There is only the linux-64 build in that repo, from the link it says "To install this package with conda run: Jérôme Kieffer — |
Hi,
Have you considered making pyFAI available through anaconda? Is it something that I should consider doing, if I can find the time? Thanks for any thoughts...
chris
The text was updated successfully, but these errors were encountered: