Permalink
Browse files

setup.py publication.

  • Loading branch information...
1 parent 77368e9 commit de7d6b5b5d9e7bd735d53286c2d21f6cb334f0a0 @kennethreitz committed Sep 5, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 setup.py
View
@@ -6,13 +6,14 @@
from distutils.core import setup
+def publish():
+ """Publish to PyPi"""
+ os.system("python setup.py sdist upload")
+
if sys.argv[-1] == 'publish':
publish()
sys.exit()
-def publish():
- """Publish to PyPi"""
- os.system("python setup.py sdist upload")
setup(
name='showme',
@@ -46,4 +47,3 @@ def publish():
)
)
-

0 comments on commit de7d6b5

Please sign in to comment.