from distutils.core import setup
import os, sys

path, script = os.path.split(sys.argv[0])
os.chdir(os.path.abspath(path))

setup(name='stripe',
      version='1.5.0',
      description='Stripe python bindings',
      author='Stripe',
      author_email='support@stripe.com',
      url='https://stripe.com/',
      packages=['stripe'],
      requires=['json', 'pycurl']
)

import os
import sys
from distutils.core import setup

sys.path.insert(0, os.path.dirname(__file__))
import stripe

path, script = os.path.split(sys.argv[0])
os.chdir(os.path.abspath(path))

setup(name='stripe',
      version=stripe.VERSION,
      description='Stripe python bindings',
      author='Stripe',
      author_email='support@stripe.com',
      url='https://stripe.com/',
      packages=['stripe'],
      requires=['json', 'pycurl']
)

Determine version from Stripe library