Giter Club home page Giter Club logo

Comments (13)

ajdawson avatar ajdawson commented on July 28, 2024

Good question. I've provided Pyspharm on binstar so that I can use conda in the Travis CI tests without having to build it every time. I have made conda packages for windspharm before but I didn't post them. I anticipate this is something that will get done in the near future. What platform are you looking for? I only have access 64-bit Linux and ancient OS X 10.6 at the moment.

from windspharm.

DamienIrving avatar DamienIrving commented on July 28, 2024

Primarily I'm after 64-bit Linux (for my desktop and also the departmental server), but it would also be useful to have OS X 10.9 available for my laptop. On binstar there is a default for all pypi packages, which suggests (see here):
pip install -i https://pypi.binstar.org/pypi/simple windspharm

I'm assuming that using conda is a better solution than this?

from windspharm.

ajdawson avatar ajdawson commented on July 28, 2024

I don't know much about that method. I would like to provide releases as native conda packages anyway though. I use conda a lot now and I feel I should do my bit to help out others!

Building windspharm is actually pretty trivial since it is pure python, so if I create a conda recipe it should be easy for you or another person to build an OS X 10.9 package which I host on my binstar (just to keep it all in one place).

from windspharm.

ajdawson avatar ajdawson commented on July 28, 2024

Do you want to test these binstar packages: https://binstar.org/ajdawson/windspharm? I've made builds of windspharm v1.3.1 for Python 2.7, 3.3 and 3.4 all for 64-bit Linux.

from windspharm.

DamienIrving avatar DamienIrving commented on July 28, 2024

That works on my Linux-64 machine - thanks!

from windspharm.

ajdawson avatar ajdawson commented on July 28, 2024

Great. I had a go at building packages for OS X but I couldn't get pyspharm to build successfully in the conda build environment. Creating a conda package for windspharm would be simple but without having its core dependency it would be practically useless!

from windspharm.

DamienIrving avatar DamienIrving commented on July 28, 2024

Shame about OS X. There is nothing available on binstar for cdat-lite, so I'm assuming that also doesn't build successfully - this might be a common problem for non-Linux operating systems...

from windspharm.

ajdawson avatar ajdawson commented on July 28, 2024

The frustrating thing is they both build fine in the normal python setup.py install manner so you can simply install them into your anaconda environment. I don't know much about the OS X build system but it seems conda is stumbling on relocation of the binaries. There is probably a neat way round this but I don't know what it is. You can install the packages yourself without much fuss though, so don't let this hold you back.

from windspharm.

darothen avatar darothen commented on July 28, 2024

Hi @DamienIrving and @ajdawson,

I've built an OS X package for both pyspharm and windspharm, for Python 3.4 - it seems to work on both machines I have access to. Windspharm was easy; I just converted @ajdawson's existing package and it worked fine. There was a gltich in pyspharm in the linking stage of the build at the end of f2py's compilation; running from pip or source was just fine, but conda build passed the wrong architecture and flags to the linker. So I manually overrode them in the build script and it seems to work.

You can find them on my binstar channel. Was a painless process; I have a ton of backlogged work on my parcel model, but building a conda package for it and its dependencies (Sundials CVODE solver) is high on my priority list after seeing how easy this was.

from windspharm.

ajdawson avatar ajdawson commented on July 28, 2024

That is great @darothen! I'd like to get hold of your pyspharm recipe for OS X so I can try and support packages for this in the future (a future where I own a Mac...), is that is OK? I have a repository of conda recipes that you could make a PR to: https://github.com/ajdawson/conda-recipes, or you can just post it somewhere or even email me, whatever suits you best.

from windspharm.

darothen avatar darothen commented on July 28, 2024

Ah, if I had found your repository of recipes I would've just done that! I should have time later this evening to fork your repo, hack in my changes, and submit a PR.

Also, I'm very tempted to integrate a handler for xray DataArrays/Datasets into windspharm. I've abandoned iris in the short term because I wanted to move on to Python 3. Right now, I do have a working wrapper that allows me to pass xray objects to VectorWind but it could use polishing, test cases, documentation, etc.

from windspharm.

ajdawson avatar ajdawson commented on July 28, 2024

I've been working on xray interfaces myself actually. It is definitely on the todo list.

from windspharm.

ajdawson avatar ajdawson commented on July 28, 2024

@DamienIrving, @darothen - I've finally got hold of a working Mac and built some OS X conda packages for windspharm/pyspharm. I'm going to close this issue for now, but please comment here if you use them and find problems. I don't use OS X for work so any feedback on these is welcome.

from windspharm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.