Use NotImplementedError as suggested by wking. build-v2
authorBrian Dolbec <dolsen@gentoo.org>
Tue, 11 Jun 2013 03:12:08 +0000 (20:12 -0700)
committerW. Trevor King <wking@tremily.us>
Tue, 11 Jun 2013 13:50:28 +0000 (09:50 -0400)
setup.py

index 734c0fe826267cd1595138038b39427910faba6e..45d204fdf2d95f78bd4f3695726cf6b24d621653 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -35,9 +35,7 @@ tag = '{0}-{1}'.format(package_name, __version__)
 
 
 if _os.path.sep != '/':
-       print("ERROR: This system does not appear to be a 'POSIX' system.")
-       print("Catalyst is meant to install and run on a 'GENTOO' system only.")
-       sys.exit(2)
+       raise NotImplementedError('Non-POSIX paths are not supported')
 
 def files(root, target):
        """Iterate through all the file paths under `root`