patrickfuller / imolecule

An embeddable webGL molecule viewer and file format converter.
http://patrickfuller.github.io/imolecule/
MIT License
86 stars 18 forks source link

Conda/Travis skeleton. #18

Closed ctk3b closed 9 years ago

ctk3b commented 9 years ago

This is a stripped down version of what we're using right now to build conda packages on Travis. It builds locally for me but will need an encrypted binstar token for Travis and probably some other debugging.

I've also turned off the setuptools dependency resolution. What's the preferred way to keep this on but disable it during conda builds?

patrickfuller commented 9 years ago

The conda build script looks good to me. I haven't tried conda + travis, so I'm going to play around with it when I get some free time. I'll let you know how that turns out.

Regarding setuptools, is there a reason to turn it off?

ctk3b commented 9 years ago

Conda build does not allow setuptools to resolve dependencies within that process, the idea being that everything should be conda installable, I think. I'm not sure what the best way is to support a setup.py file that can be used with conda build and pip...

patrickfuller commented 9 years ago

conda/conda#508 suggests the non-obvious python setup.py install --single-version-externally-managed --record=record.txt. Might be worth a try.

ctk3b commented 9 years ago

Ok this builds for me locally.

patrickfuller commented 9 years ago

I just took some time to play with the scripts, and this is very useful. Thanks for the pull request.