Files
gistapi.py/setup.py
T
Kenneth Reitz 0471cca05a getting there
2010-05-16 09:43:02 -04:00

34 lines
808 B
Python

#!/usr/bin/env python
import os
import sys
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()
setup(name='gist',
version='0.2.0',
description='Python wrapper for Gist API',
long_description=open('README.mkd').read() + '\n\n' + open('HISTORY.mkd').read(),
author='Kenneth Reitz',
author_email='ping@kennethreitz.com',
url='http://kennethreitz.com/gist.py',
packages=['gist'],
license='MIT',
classifiers = (
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
)
)