Edinburgh is rich with historical sites...although I guess it depends on what sort of sites you are interested in looking at? Castles, locations from 'Trainspotting' or something different?
Be advised: Both Edinburgh and Glasgow are/can be as rough as fuck, although seeing as you won't be going out drinking in the evenings, you should hopefully avoid the worst of it.