Crack banjo on caliper, does fluid come out in a steady/drip stream? If so let it run a bit watch your reservoir, retighten. now try pumping the lever. once you get the piston moving get it to clamp the rotor even a little.
Now,
bike on side stand, bars full left, make sure reservoir is full, walk away, come back in the morning. Don't touch bike, try the lever.squeeze hard, release, a few times, that usually does it.
Why this works; the side stand, bars left, will create an always upward path from the caliper to the MC reservoir with no dips. check to be sure this is true in your install. If necessary remove, tape in place, reroute, so there are no "low spots" Given time, the small bubbles of air in the system will work their way up and out through the MC ports and reservoir. Those hard squeezes will send any last bit of air in the MC out.
Hint; it is easier to bleed and make less mess by doing this before you mount the caliper. This also lets you slowly retract the piston with a c-clamp, sending any air in the system up to the master cylinder. Use the c-clamp SLOWLY, it is easy to send a stream of brake fluid across the garage if you retract the piston too quickly, it's good to place the cap loosely on the reservoir! You can do this a few times, pump the piston out with the lever, retract it with the c-clamp. after retracting the piston allow some time for tiny air bubbles to exit the fluid in the reservoir before levering it out again.
Time is your friend, much of the air in a disturbed system is TINY bubbles, brake fluid is fairly thick, it takes time for gravity to work, sending air upward.