Investors & landlords

My wife had her property since 1970,  In 2010 she moved in with me and she rented her house to her niece. In Oct 2018 the niece moved out and my wife and I started to refurbish the house for sale.  We did not rent it in 2019 but spent our time preparing it for sale.  In Oct 2019 it sold.  How is this entered in Turbo tax when I am told to take it out of rental property status?  We did deduct expenses incurred in 2018 in the 2018 tax returns when we did receive rent income.