Newer
Older
# setup.cfg
# :copyright: Copyright 2020 Jan Caron
author = Jan Caron
author-email = j.caron@fz-juelich.de
description = Electron Microscopy Python Reconstruction
long-description = file: README.rst
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
packages = find:
python_requires = >=3.7
setup_requires =
setuptools
install_requires =
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!
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
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'