Permalink
Browse files

Only execute setup.py if not imported

  • Loading branch information...
1 parent 8ec0c99 commit 6ed5037d71eb9991f34f875862be5435813e727e @jaraco committed Nov 21, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 setup.py
View
@@ -38,4 +38,5 @@
)
-distutils.core.setup(**kw)
+if __name__ == '__main__':
+ distutils.core.setup(**kw)

0 comments on commit 6ed5037

Please sign in to comment.