|
| 1 | +#!/usr/bin/env python |
| 2 | +# -*- coding: utf-8 -*- |
| 3 | + |
| 4 | +import os |
| 5 | +import sys |
| 6 | + |
| 7 | +from distutils.core import setup |
| 8 | + |
| 9 | +import clint |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | +def publish(): |
| 14 | + """Publish to PyPi""" |
| 15 | + os.system("python setup.py sdist upload") |
| 16 | + |
| 17 | +if sys.argv[-1] == "publish": |
| 18 | + publish() |
| 19 | + sys.exit() |
| 20 | + |
| 21 | +required = [] |
| 22 | + |
| 23 | +setup( |
| 24 | + name='github3', |
| 25 | + version='0.0.0', |
| 26 | + description='[placeholder] Python wrapper for the github v3 api!', |
| 27 | + long_description='\n\n', |
| 28 | + author='Kenneth Reitz', |
| 29 | + |
| 30 | + url='https://github.com/kennethreitz/python-github3', |
| 31 | + packages= [ |
| 32 | + 'clint', |
| 33 | + 'clint.textui', |
| 34 | + 'clint.packages', 'clint.packages.colorama' |
| 35 | + ], |
| 36 | + install_requires=required, |
| 37 | + license='ISC', |
| 38 | + classifiers=( |
| 39 | +# 'Development Status :: 5 - Production/Stable', |
| 40 | + 'Intended Audience :: Developers', |
| 41 | + 'Natural Language :: English', |
| 42 | + 'License :: OSI Approved :: ISC License (ISCL)', |
| 43 | + 'Programming Language :: Python', |
| 44 | + # 'Programming Language :: Python :: 2.5', |
| 45 | + 'Programming Language :: Python :: 2.6', |
| 46 | + 'Programming Language :: Python :: 2.7', |
| 47 | + # 'Programming Language :: Python :: 3.0', |
| 48 | + # 'Programming Language :: Python :: 3.1', |
| 49 | + ), |
| 50 | +) |
0 commit comments