Skip to content
Snippets Groups Projects
setup.py.in 1.51 KiB
Newer Older
#!/usr/bin/env python
# This file is part of the dune-xt-common project:
#   https://github.com/dune-community/dune-xt-common
René Fritze's avatar
René Fritze committed
# Copyright 2009-2018 dune-xt-common 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)
# Authors:
#   Felix Schindler (2017)
René Fritze's avatar
René Fritze committed
#   Rene Milk       (2016 - 2018)
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']
if '${HAVE_MPI}' == 'TRUE':
    requires.append('mpi4py')

setup(name='dune.xt.common',
      version='2.4',
      namespace_packages=['dune'],
      description='Python for Dune-Xt',
      author='The dune-xt devs',
      author_email='dune-xt-dev@listserv.uni-muenster.de',
      url='https://github.com/dune-community/dune-xt-common',
      packages = find_packages(),
      zip_safe = 0,
      package_data = {'': ['*.so']},
      install_requires=requires,
      scripts=['./scripts/generate_compare_functions.py',
               './scripts/distribute_testing.py',
               './scripts/dxt_code_generation.py',
               './wrapper/dune_xt_execute.py'])