NeuralEnsemble / neuralensemble-docker

Docker images for neuroscience
MIT License
13 stars 7 forks source link

Add EDEN to installed simulators on OSB docker #12

Closed pgleeson closed 5 months ago

pgleeson commented 3 years ago

FYI @spanag have a look at my branches here for the latest with updated versions: https://github.com/NeuralEnsemble/neuralensemble-docker/network

spanag commented 3 years ago

I just implemented a binary wheel and uploaded it on PyPI ( https://pypi.org/project/eden-simulator/ ), which should allow installation with one line for most users. Should EDEN be installed here through pip, or from source (for a more customised build)?

pgleeson commented 3 years ago

Thanks @spanag. I tried pip installing it inside an ubuntu docker container and it worked fine. A few things:

spanag commented 3 years ago

It is compiled code, wheels have to be rebuilt for each OS/arch target. I don't have Mac experience, but the system calls (basically dlopen) seem compatible. With some GNU tooling, it just might work as it is.

The pip package is called eden-simulator and you need to import eden-simulator not eden_tools

That's right, I considered having eden_tools be a wrapper around locally built EDEN, vs. eden_simulator that's bundled with its own copy. Because giving the same name might be even worse headache to users...

spanag commented 1 year ago

At long last, the python package issue is resolved (with "hollow wheels" for local builds) and the dependency on pynml is removed, so Eden can be installed straight from pip.

Above commits also changes git clone git://github.com/NeuralEnsemble/neuroConstruct.git to use https instead, I'm not sure if it's the same but docker build didn't like the former.