import os
from distutils.command.install import INSTALL_SCHEMES
from setuptools import setup, find_packages

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

for scheme in INSTALL_SCHEMES.values():
    scheme['data'] = scheme['purelib']

setup(
    name = "content-pack-maker",
    version = "0.0.4",
    author = "Learning Equality",
    author_email = "<EMAIL>",
    description = ("makelangpacks creates content packs usable for KA Lite/Kolibri."),
    license = "BSD",
    keywords = "contentpacks education internationalization",
    url = "https://github.com/fle-internal/content-pack-maker",
    # packages=['an_example_pypi_project', 'tests'],
    packages=find_packages(exclude=['tests']),
    package_data={
        "contentpacks": ["resources/*.json"],
    },
    # long_description=read('README'),
    classifiers=[
        "Development Status :: 2 - Pre-Alpha",
        "Topic :: Utilities",
        "License :: OSI Approved :: BSD License",
    ],
)
