Skip to content
Snippets Groups Projects
setup.py.in 1.67 KiB
Newer Older
#!/usr/bin/env python
René Fritze's avatar
René Fritze committed
# This file is part of the dune-xt project:
#   https://github.com/dune-community/dune-xt
# Copyright 2009-2020 dune-xt developers and contributors. All rights reserved.
# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#      or  GPL-2.0+ (http://opensource.org/licenses/gpl-license)
#          with "runtime exception" (http://www.dune-project.org/license.html)
#   Felix Schindler (2017 - 2018)
#   René Fritze     (2016 - 2019)
from setuptools import setup, find_packages
requires=['binpacking==1.3', 'cython', 'jinja2', 'docopt', 'pylicense3>=0.4.1',
                        'ipython', 'pytest', 'pytest-cov', 'cmake_format==0.4.1',
                        'codecov', 'yapf==0.25', 'loguru', 'numpy', 'scipy',
                        'k3d==2.6.6', 'vtk', 'ipywidgets', 'lxml', 'xmljson']
extras_requires=[]
if '${HAVE_MPI}' == 'TRUE':
    extras_requires.append('mpi4py')
René Fritze's avatar
René Fritze committed
setup(name='dune.xt',
      version='2.4',
      namespace_packages=['dune'],
      setup_requires=['wheel'],
      description='Python for Dune-Xt',
      author='The dune-xt devs',
      author_email='dune-xt-dev@listserv.uni-muenster.de',
René Fritze's avatar
René Fritze committed
      url='https://github.com/dune-community/dune-xt',
      packages = find_packages(),
      zip_safe = 0,
      package_data = {'': ['*.so']},
      install_requires=requires,
      extras_requires={'parallel': extras_requires},
      scripts=['./scripts/generate_compare_functions.py',
               './scripts/distribute_testing.py',
               './scripts/dxt_code_generation.py',
               './wrapper/dune_xt_execute.py'])