Skip to content
Snippets Groups Projects
Commit f20e20df authored by René Fritze's avatar René Fritze Committed by Tobias Leibner
Browse files

[py] rewire extras setup

Extras had been unusable previously due to a typo
parent 1f558641
No related branches found
No related tags found
1 merge request!10Draft: consolidate refactoring work
......@@ -17,6 +17,13 @@ from setuptools import setup, find_packages
from setuptools.dist import Distribution
from setuptools.command.install import install
extras_require = {
'parallel': ('bokeh', 'pymumps', 'metis'),
'visualisation': ('dune-xt[visualisation]~=${dune-xt_VERSION_MAJOR}.${dune-xt_VERSION_MINOR}',)
}
extras_require['all'] = [p for plist in extras_require.values() for p in plist]
class BinaryDistribution(Distribution):
"""Distribution which always forces a binary package with platform name"""
def is_pure(self):
......@@ -45,6 +52,6 @@ setup(name='dune-gdt',
'install': InstallPlatlib,
},
distclass=BinaryDistribution,
install_requires=['jinja2', 'where', 'codecov', 'dune-xt~=${dune-xt_VERSION_MAJOR}.${dune-xt_VERSION_MINOR}'],
extras_requires={'parallel': ['bokeh', 'pymumps', 'metis']},
install_requires=['dune-xt~=${dune-xt_VERSION_MAJOR}.${dune-xt_VERSION_MINOR}'],
extras_require=extras_require,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment