AstroChem / vis_sample

Other
13 stars 7 forks source link

package install #32

Open seanandrews opened 4 years ago

seanandrews commented 4 years ago

I've discovered that I have an old version of this code, which does not correspond to what is in the GitHub repo. When I 'pip install vis_sample', I get back this old code (not matching the repo). How am I supposed to install this code? (Or is the pypi setup out of date and could be easily fixed?)

ryanaloomis commented 4 years ago

Sorry for the confusion - pip install should currently install version 0.3.3 (compatible w/ Python 3 and CASA 6), while the github master branch is still 0.2.1 (compatible w/ Python 2.7).

The change was made on pypi to 0.3.3 in a bit of a rush so that we could have vis_sample working and compatible with other packages for MAPS, but I haven't had time to verify everything carefully and give ample notice to other users, so I didn't want to all of a sudden change the github master branch.

So if you'd like 0.2.1, this is the github master branch, or you could install with pip and specify the version number. If you'd like 0.3.3 and its new features (that are somewhat less rigorously tested), then you could pip install, or install from the https://github.com/AstroChem/vis_sample/tree/casa6 branch.

seanandrews commented 4 years ago

Ok, thanks. (But then see next issue... ;)