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
# coding: utf-8
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def publish():
"""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()
sys.exit()
......@@ -25,12 +29,12 @@ setup(name='pystache',
url='http://github.com/defunkt/pystache',
packages=['pystache'],
license='MIT',
classifiers = (
classifiers = (
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.5",
"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