Fix setup.py
Make the properties fail with an AssertionError if used incorrectly

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>