Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request #599 from pllim/bye-bye-bye
Browse files Browse the repository at this point in the history
MNT: Officially retire cubeviz
  • Loading branch information
eteq committed Jul 20, 2021
2 parents c23e481 + a7b376c commit 8fb61ca
Show file tree
Hide file tree
Showing 113 changed files with 59 additions and 13,344 deletions.
Empty file removed .gitmodules
Empty file.
97 changes: 0 additions & 97 deletions .travis.yml

This file was deleted.

2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
0.4 (in development)
====================

cubeviz is no longer supported, please use jdaviz. If you must use legacy
cubeviz, please try v0.3 in Python 3.6.

0.3 (2019-03-29)
================
Expand Down
2 changes: 1 addition & 1 deletion licenses/LICENSE.rst → LICENSE.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) year, JDADF Developers
Copyright (c) 2018-2021, JDADF Developers
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
9 changes: 3 additions & 6 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
include README.rst
include README.md
include CHANGES.rst
include LICENSE.rst

include setup.cfg
include cubeviz/tests/coveragerc
include pyproject.toml

recursive-include cubeviz *.pyx *.c *.pxd
recursive-include docs *
recursive-include licenses *
recursive-include cextern *
recursive-include scripts *

prune build
prune docs/_build
Expand Down
37 changes: 4 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,17 @@
# CubeViz

![](http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat)
[![Coverage Status](https://codecov.io/gh/spacetelescope/cubeviz/branch/master/graph/badge.svg)](https://codecov.io/gh/spacetelescope/cubeviz)
[![DOI](https://zenodo.org/badge/36305330.svg)](https://zenodo.org/badge/latestdoi/36305330)

For documentation see http://cubeviz.readthedocs.io/en/latest/
For documentation see https://cubeviz.readthedocs.io/en/latest/

Current Status
--------------
## Current Status

Please note that this version of CubeViz is **no longer being actively supported
or maintained**. The functionality of CubeViz is now available and being actively
developed as part of [Jdaviz](https://github.com/spacetelescope/jdaviz).

## Release 0.3
If you must use legacy CubeViz, please try v0.3 in Python 3.6.

We are pleased to announce the release of CubeViz, a visualization and analysis tool for data cubes from integral field units (IFUs). This is an early release (v0.3) and we would appreciate your feedback. It is built on top of the "glue" visualization tool.

To install:
* Install [Minconda3](https://conda.io/miniconda.html) if it is not on your system (**)
* To install, type: `$ conda create -n cubeviz030 python=3.7`, activate the environment `$ conda activate cubeviz030` and pip install cubeviz `$ pip install cubeviz`.

To run:
* Activate the environment: `$ conda activate cubeviz030`
* Run cubeviz: `$ cubeviz`
* Once done, deactivate the environment: `source deactivate`

More installation instructions will be on the RTD page (currently incorrectly displaying the wrong docs and appears to be an RTD bug).

Read the Docs: http://cubeviz.readthedocs.io/en/latest/

More info on glue: http://glueviz.org

If you run into any issues or have suggestions for new features, we encourage you to create issues on GitHub.

This release requires Python >= 3.6.

** Note: There have been some issues with Miniconda3 with conda version less than 4.5. If you see any problems with installation or running cubeviz and your conda version is less than 4.5 it is best to update to 4.5. See [upgrade instructions](https://conda.io/miniconda.html) for more information.

![](/docs/images/CubeViz_splitviewer.png)


# License
## License

This project is Copyright (c) JDADF Developers and licensed under the terms of the BSD 3-Clause license. See the licenses folder for more information.
37 changes: 6 additions & 31 deletions cubeviz/__init__.py
Original file line number Diff line number Diff line change
@@ -1,38 +1,13 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

"""
This is an Astropy affiliated package.
"""

__minimum_python_version__ = "3.6"

# Affiliated packages may add whatever they like to this file, but
# should keep this content at the top.
# ----------------------------------------------------------------------------
from ._internal_init import *
# ----------------------------------------------------------------------------

from pkg_resources import get_distribution, DistributionNotFound

try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
from cubeviz.version import version as __version__
except Exception:
# package is not installed
__version__ = "unknown"

__all__ = ['__version__']

# This *must* occur before any imports from glue. It prevents the "python must
# be installed as a framework" error that occurs on OSX. Since we now
# explicitly depend on PyQt5, we use it as the mpl backend.
import matplotlib as mpl
mpl.use('Qt5Agg')

import astropy.units as units
from .flux_equivalences import CustomFluxEquivalences
# We override the units.equivalencies.spectral_density function with
# CustomFluxEquivalences before the program starts. We expect all libraries
# to access CustomFluxEquivalences when calling for units.equivalencies.spectral_density
units.equivalencies.spectral_density = CustomFluxEquivalences(units.equivalencies.spectral_density)
units.spectral_density = units.equivalencies.spectral_density

from . import keyboard_shortcuts
print('cubeviz is no longer supported, please use jdaviz. '
'If you must use legacy cubeviz, please try v0.3 '
'in Python 3.6.')
122 changes: 0 additions & 122 deletions cubeviz/_internal_init.py

This file was deleted.

0 comments on commit 8fb61ca

Please sign in to comment.