From 2131d8e2676a03a1077a5ef90747accb299f51fa Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 19 Jun 2011 12:53:34 -0400 Subject: [PATCH] basic setup.py --- setup.py | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 setup.py diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..d78da61 --- /dev/null +++ b/setup.py @@ -0,0 +1,40 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +import os +import sys + + +from distutils.core import setup + + +if sys.argv[-1] == 'publish': + os.system("python setup.py sdist upload") + sys.exit() + + +setup( + name='httpbin', + version='110619', + install_requires=open('reqs.txt').readlines(), + description='HTTP Request and Response Service.', + long_description=open('README.md').read(), + author='Kenneth Reitz', + author_email='me@kennethreitz.com', + url='https://httpbin.org', + packages=['httpbin'], + license='MIT', + classifiers=( + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'Natural Language :: English', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python', + # 'Programming Language :: Python :: 2.5', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + # 'Programming Language :: Python :: 3.0', + # 'Programming Language :: Python :: 3.1', + # 'Programming Language :: Python :: 3.2', + ), +)