The series of molecular signals initiated by binding of a Wnt protein to a frizzled family receptor on the surface of a cell in the epidermis resulting in the formation of the mammary line. The mammary line is a ridge of epidermal cells that will form the mammary placodes.