The film premiered at Sundance on Friday to great fanfare, igniting a series of bids from distributors like CBS Films and The Weinstein Company.

Relativity won out with a substantial financial commitment and plans for a wide theatrical release this year. It will support the movie with prints and advertising, with the commitment around $25 million, an individual told TheWrap.

That would make it the biggest deal from the festival so far. WME, Gordon-Levitt's current agency, and CAA, his former agency, brokered the deal.

"I always intended this to be a movie for a mass popular audience," Gordon-Levitt said in a statement. "Everyone told me it was a long shot. Now Relativity is making it happen."

The film follows Gordon-Levitt — who also wrote and stars in the film — as a lady's man with a porn addiction. Dissatisfied with his life, he sets out on a Don Juan-esque quest to find love and a more satisfying sex life.