That's really the crux of it: How much do you want to get for the bike and what do you intend to do with the components if you keep them? If the components are nearing the end of their life span and/or I really had no use for them on another bike, I'd rather maximize my profit and sell a complete bike for more money than I'd likely get for just the frame.
Live with intention. Walk to the edge. Listen hard. Practice wellness. Play with abandon. Laugh. Choose with no regret. Continue to learn. Appreciate your friends. Do what you love. Live as if this is all there is.
--Mary Anne Radmacher