# -*- coding: utf-8 -*- # setup.cfg # :copyright: Copyright 2020 Jan Caron # CONFIGURATION FOR SETUP.PY: [metadata] name = empyre version = 0.1.0 author = Jan Caron author-email = j.caron@fz-juelich.de description = Electron Microscopy Python Reconstruction long-description = file: README.rst url = https://iffgit.fz-juelich.de/empyre/empyre license = GPLv3 classifiers = Development Status :: 3 - Alpha Intended Audience :: Developers Intended Audience :: Science/Research License :: OSI Approved :: GNU General Public License v3 (GPLv3) Programming Language :: Python :: 3.7 Topic :: Scientific/Engineering Operating System :: OS Independent keywords = Electron Microscopy Inverse Problem Solving Model-based Reconstrution [options] zip_safe = False include_package_data = True package_dir = =src packages = find: python_requires = >=3.7 setup_requires = setuptools install_requires = numpy >= 1.17 matplotlib >= 3 scikit-image tqdm scipy Pillow [options.packages.find] where = src [options.extras_require] io = hyperspy tvtk fftw = pyfftw colors = cmocean all = pyfftw cmocean tests = pyroma coverage pytest pytest-cov pytest-flake8 pytest-runner # TODO: pip install .[io] is not working because hyperspy depends on trait which has no wheels on PyPI at the moment... # TODO: See https://github.com/hyperspy/hyperspy/issues/2315 and https://github.com/enthought/traits/issues/357 # TODO: Add hyperspy back as soon (if?) this is resolved... Until then: install hyperspy with conda! # CONFIGURATION FOR TESTING: [aliases] test = pytest [coverage:run] branch = True source = src/empyre omit = tests/* [flake8] max-line-length = 120 ignore = E402 # module import not at top of file E124 # closing bracket does not match visual indentation E125 # continuation line with same indent as next logical line E226 # missing whitespace around arithmetic operator W503 # line break before binary operator W504 # line break after binary operator E741 # do not use variables named ‘l’, ‘O’, or ‘I’ per-file-ignores = */__init__.py: F401, F403, F405, F821 # F401: module imported but unused # F403: 'from module import *' used; unable to detect undefined names # F405: Name may be undefined, or defined from star imports: module # F821: undefined name 'name'