Commit f9d233b4 by Chris Jerdonek

Merge pull request #29 (5) "setup.py cleanup"

From: https://github.com/kennethreitz/pystache/commit/43d504b5dbdb043cdfe9a87ffb4b3b239c130ab8
Into: issue_29

This commit includes a few tweaks to setup.py.  The indentation of the
arguments to setup() was left alone.
parents f2c116c2 43d504b5
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8
import os import os
import sys import sys
try: try:
from setuptools import setup from setuptools import setup
except ImportError: except ImportError:
from distutils.core import setup from distutils.core import setup
def publish(): def publish():
"""Publish to Pypi""" """Publish to Pypi"""
os.system("python setup.py sdist upload") os.system('python setup.py sdist upload')
if sys.argv[-1] == "publish":
if sys.argv[-1] == 'publish':
publish() publish()
sys.exit() sys.exit()
...@@ -32,5 +36,5 @@ setup(name='pystache', ...@@ -32,5 +36,5 @@ setup(name='pystache',
"Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.6",
) )
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment