from setuptools import setup, find_packages, Extension


modules = [
  Extension("pyflipdot.brose.cbrose",
            ["src/brose.c"],
            include_dirs=["src"])
  ]

setup(name="pyflipdot",
      version="1.0",
      author="teddydestodes",
      packages=find_packages(exclude=['docs', 'tests*']),
      package_data={'pyflipdot': ['web/static/*/*',
                                  'web/templates/*.html',
                                  'display/lawo/fontdata/*.font']
                    },
      ext_modules=modules,
      entry_points={
          'console_scripts': [
              'pyflipdot=pyflipdot.__main__:main',
          ],
          'pyflipdot.ext': [
              'dummy = pyflipdot.display:Extension',
              'brose = pyflipdot.brose:Extension',
              'lawo = pyflipdot.lawo:Extension',
          ]
      }
      )
