Permalink
Browse files

setup.py improvements

  • Loading branch information...
1 parent 7ebc328 commit 066e5700bdc0ea80130d7a0d066173ee8e4871a5 @robbywalker robbywalker committed Jan 14, 2011
Showing with 18 additions and 11 deletions.
  1. +18 −11 setup.py
  2. 0 src/{ → stripe}/__init__.py
View
@@ -1,16 +1,23 @@
-from distutils.core import setup
-import os, sys
+#!/usr/bin/env python
+# Copyright 2010 Greplin, Inc. All Rights Reserved.
-path, script = os.path.split(sys.argv[0])
-os.chdir(os.path.abspath(path))
+"""Setup script for Tornado compatible API for Stripe."""
-setup(name='devpayments-tornado',
+
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
+
+
+setup(name='stripe-tornado',
version='1.4.3',
- description='/dev/payments tornado python bindings',
- author='Greplin',
- author_email='daniel@greplin.com',
- url='http://www.greplin.com/',
- packages=['devpayments'],
- package_dir = {'devpayments' : 'src'}
+ description='Stripe tornado python bindings',
+ license='Apache',
+ author='Greplin, Inc.',
+ author_email='opensource@greplin.com',
+ url='http://www.github.com/Greplin/stripe-tornado',
+ packages=['stripe'],
+ package_dir = {'' : 'src'}
)
File renamed without changes.

0 comments on commit 066e570

Please sign in to comment.