@@ -0,0 +1,1586 @@
+%0D%0Aimport os%0D%0Aimport json%0D%0Afrom os import sep as os_sep%0D%0Afrom setuptools import setup, find_packages%0D%0A%0D%0A%0D%0A# canonical python package is structured as%0D%0A# package_dir_name/%0D%0A#   -- setup.py%0D%0A#   -- package_dir_name/%0D%0A# get top package_dir_name and know it will contain the same%0D%0A__pack_dir = os.path.split(os.path.dirname(os.path.abspath(__file__)))%5B1%5D%0D%0Awith open('%7B0%7D%7B1%7Dpkg_info.json'.format(__pack_dir, os_sep), 'r') as f:%0D%0A    PKG_INFO = json.loads(f.read())%0D%0A%0D%0A%0D%0A# 2.7 patch for importing package_data unicode_literal bug in setuptools%0D%0A# fill in package data up here and it will be forced to str below%0D%0A__pgk_data = %7B%0D%0A    PKG_INFO%5B'name'%5D: %5B%0D%0A        'pkg_info.json',%0D%0A        'cfg/*.ini'%0D%0A    %5D%0D%0A%7D%0D%0A%0D%0A%0D%0Asetup(%0D%0A    name=PKG_INFO%5B'name'%5D,%0D%0A%0D%0A    version=PKG_INFO%5B'version'%5D,%0D%0A%0D%0A    description=PKG_INFO%5B'description'%5D,%0D%0A    long_description=open('README.rst').read(),%0D%0A%0D%0A    packages=find_packages(),%0D%0A%0D%0A    include_package_data=True,%0D%0A    package_data=%7B%0D%0A        str(k): %5B str(vi) for vi in v %5D%0D%0A        for k, v in __pgk_data.items()%0D%0A    %7D,%0D%0A%0D%0A    scripts=%5B%0D%0A%0D%0A    %5D,%0D%0A%0D%0A    platforms='any',%0D%0A%0D%0A    zip_safe=False,%0D%0A%0D%0A    classifiers=%5B%0D%0A        'Programming Language :: Python :: 2.7',%0D%0A        'Programming Language :: Python :: 3',%0D%0A        'Programming Language :: Python :: 3.3',%0D%0A        'Programming Language :: Python :: 3.4',%0D%0A        'Operating System :: OS Independent'%0D%0A    %5D,%0D%0A%0D%0A    test_suite='tests',%0D%0A%0D%0A    # Dependent packages (distributions)%0D%0A    # configparser is ConfigParser in old 2.x versions, so just lump it in%0D%0A    install_requires=%5B 'configparser' %5D%0D%0A)%0D%0A

make installable