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()
...@@ -25,12 +29,12 @@ setup(name='pystache', ...@@ -25,12 +29,12 @@ setup(name='pystache',
url='http://github.com/defunkt/pystache', url='http://github.com/defunkt/pystache',
packages=['pystache'], packages=['pystache'],
license='MIT', license='MIT',
classifiers = ( classifiers = (
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Programming Language :: Python", "Programming Language :: Python",
"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