hipspy / hips

Python library to handle HiPS
https://hips.readthedocs.io
13 stars 16 forks source link

conda hips package missing? #113

Closed tboch closed 6 years ago

tboch commented 6 years ago

@cdeil when trying to install the package from conda-forge as specified on readthedocs , I got a PackageNotFoundError

Am I missing something? I tried on a MacOS architecture.

cdeil commented 6 years ago

It looks like we never created https://github.com/conda-forge/hips-feedstock , the docs install instructions were written assuming it would be set up like we have for all other Astropy affiliated packages.

I think the best would be to do a v0.2 release (because we now support Windows, since we use astropy-healpix instead of healpy) and then make a conda-forge package.

cdeil commented 6 years ago

I've released hips v0.2:

cdeil commented 6 years ago

Update:

cdeil commented 6 years ago

@tboch - conda install -c conda-forge hips should now work: https://anaconda.org/conda-forge/hips/files

It works for me:

$ conda install hips
Fetching package metadata ...............
Solving package specifications: .

Package plan for installation in environment /Users/deil/software/anaconda3/anaconda3:

The following NEW packages will be INSTALLED:

    astropy-healpix: 0.2-py36_0 conda-forge
    hips:            0.2-py36_0 conda-forge

Proceed ([y]/n)? y

astropy-healpi 100% |#####################################################################################################| Time: 0:00:00 452.76 kB/s
hips-0.2-py36_ 100% |#####################################################################################################| Time: 0:00:00 468.69 kB/s
$ python -c 'import hips; hips.test()'
================================================================ test session starts ================================================================
platform darwin -- Python 3.6.2, pytest-3.2.1, py-1.4.34, pluggy-0.4.0

Running tests with hips version 0.2.
Running tests in software/anaconda3/anaconda3/lib/python3.6/site-packages/hips.

Date: 2017-10-29T23:32:32

Platform: Darwin-17.0.0-x86_64-i386-64bit

Executable: /Users/deil/software/anaconda3/anaconda3/bin/python

Full Python Version: 
3.6.2 |Anaconda custom (x86_64)| (default, Sep 21 2017, 18:29:43) 
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]

encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
byteorder: little
float info: dig: 15, mant_dig: 15

numpy: 1.13.1
Pillow: 4.2.1
scikit-image: 0.13.0
Astropy: 2.0.2
astropy-healpix: 0.2
aiohttp: not available
reproject: 0.3.1
matplotlib: 2.1.0
Using Astropy options: remote_data: none.

rootdir: /Users/deil, inifile:
collected 86 items                                                                                                                                   

../../software/anaconda3/anaconda3/lib/python3.6/site-packages/hips/draw/tests/test_paint.py ssssssss..
../../software/anaconda3/anaconda3/lib/python3.6/site-packages/hips/draw/tests/test_ui.py ssss
../../software/anaconda3/anaconda3/lib/python3.6/site-packages/hips/tiles/tests/test_allsky.py ssssssssssssss
../../software/anaconda3/anaconda3/lib/python3.6/site-packages/hips/tiles/tests/test_fetch.py ss
../../software/anaconda3/anaconda3/lib/python3.6/site-packages/hips/tiles/tests/test_io.py ..
../../software/anaconda3/anaconda3/lib/python3.6/site-packages/hips/tiles/tests/test_survey.py ss........ss..ss
../../software/anaconda3/anaconda3/lib/python3.6/site-packages/hips/tiles/tests/test_tile.py ............sssssssssssssss
../../software/anaconda3/anaconda3/lib/python3.6/site-packages/hips/utils/tests/test_healpix.py ........
../../software/anaconda3/anaconda3/lib/python3.6/site-packages/hips/utils/tests/test_wcs.py ..s

======================================================= 36 passed, 50 skipped in 2.74 seconds =======================================================

I'm closing this issue now. Please re-open if there's still an issue or something to do.

Here's what's new in hips v0.2: http://hips.readthedocs.io/en/v0.2/changelog.html#id2

I'm not sure if we should send another announcement to astropy-dev? Maybe yes?

cdeil commented 6 years ago

Forgot to close this issue last year.