#!/usr/bin/env python

import os
import sys
from setuptools import setup, Extension

if not hasattr(sys, "hexversion") or sys.hexversion < 0x02070000:
    raise Error("Python 2.7 or newer is required")

this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md')) as f:
    long_description = f.read()

setup(name='python_dtp',
      version='0.9.3',
      description='Python implementation of distributed transaction processing with MySQL, MySQLdb',
      author='yueshuaijie',
      author_email='ysj@love.com',
      url='https://github.com/yueshuaijie/python_dtp',
      packages=['python_dtp'],
      long_description=long_description,
      long_description_content_type='text/markdown',
      #install_requires=['MySQL-python', 'mysql-connector', 'psycopg2'],
 )
