long_description = """
pyShipping provides connections to interface with shipping companies and to transport shipping related
information.
"""

from setuptools import setup, find_packages
from distutils.extension import Extension
import codecs
try:
    from Cython.Distutils import build_ext
except ImportError:
    from distutils.command import build_ext

setup(name='pyShipping',
      maintainer='Maximillian Dornseif',
      maintainer_email='md@hudora.de',
      url="https://github.com/hudora/pyShipping/",
      version='1.6',
      description='pyShipping - Shipping related Toolkit',
      long_description=codecs.open('README.rst', "r", "utf-8").read(),
      classifiers=['License :: OSI Approved :: BSD License',
                   'Intended Audience :: Developers',
                   'Programming Language :: Python'],
      # download_url
      zip_safe=False,
      install_requires=['cython'],
      packages=find_packages(),
      package_data={'': ['README.rst'], 'pyshipping': ['carriers/dpd/georoutetables/*']},
      include_package_data=True,
      ext_modules=[ 
          Extension("pyshipping.binpack_3dbpp", ["pyshipping/binpack_3dbpp.pyx", 'pyshipping/3dbpp.c']),
      ],
      cmdclass = {'build_ext': build_ext}
)

