Skip to content
Snippets Groups Projects
setup.py 2.11 KiB
Newer Older
#!/usr/bin/env python
# -*- coding: utf-8 -*-


def main():
Andreas Klöckner's avatar
Andreas Klöckner committed
    from setuptools import setup, find_packages

    version_dict = {}
    init_filename = "meshmode/version.py"
    exec(compile(open(init_filename, "r").read(), init_filename, "exec"),
            version_dict)

    setup(name="meshmode",
          version=version_dict["VERSION_TEXT"],
          description="High-order polynomial discretizations of and on meshes",
          long_description=open("README.rst", "rt").read(),
          author="Andreas Kloeckner",
          author_email="inform@tiker.net",
          license="MIT",
Andreas Klöckner's avatar
Andreas Klöckner committed
          url="https://documen.tician.de/meshmode",
          classifiers=[
              "Development Status :: 3 - Alpha",
              "Intended Audience :: Developers",
              "Intended Audience :: Other Audience",
              "Intended Audience :: Science/Research",
              "License :: OSI Approved :: MIT License",
              "Natural Language :: English",
              "Programming Language :: Python",
              "Programming Language :: Python :: 3",
              "Programming Language :: Python :: 3.6",
              "Programming Language :: Python :: 3.7",
              "Programming Language :: Python :: 3.8",
              "Topic :: Scientific/Engineering",
              "Topic :: Scientific/Engineering :: Information Analysis",
              "Topic :: Scientific/Engineering :: Mathematics",
              "Topic :: Scientific/Engineering :: Visualization",
              "Topic :: Software Development :: Libraries",
              "Topic :: Utilities",
Andreas Klöckner's avatar
Andreas Klöckner committed
          packages=find_packages(),
Andreas Klöckner's avatar
Andreas Klöckner committed
          python_requires="~=3.6",
          install_requires=[
              "numpy",
              "modepy>=2020.2",
              "pytools>=2020.4.1",
              "pytest>=2.3",

              # 2019.1 is required for the Firedrake CIs, which use an very specific
              # version of Loopy.
              "loopy>=2019.1",

              "dataclasses; python_version<='3.6'",
if __name__ == "__main__":