Browse files

Add setupegg.py to allow setuptools functionality. Fixes #30

  • Loading branch information...
1 parent 063d82e commit a7801bcb8068e93908fe2b35a722aedc0317442a @tmc committed Jul 13, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 setupegg.py
View
12 setupegg.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+"""Wrapper to run setup.py using setuptools."""
+
+import os, sys
+
+# now, import setuptools and call the actual setup
+import setuptools
+try:
+ execfile('setup.py')
+except NameError:
+ exec( open('setup.py','rb').read() )
+

0 comments on commit a7801bc

Please sign in to comment.