Newer
Older
# -*- coding: utf-8 -*-
#
# mslib.setup
# ~~~~~~~~~~~
#
# setup.cfg
#
# This file is part of mss.
#
# :copyright: Copyright 2016-2017 Reimar Bauer, Joern Ungermann
# :copyright: Copyright 2016-2017 by the mss team, see AUTHORS.
# :license: APACHE-2.0, see LICENSE for details.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com#pliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# CONFIGURATION FOR SETUP.PY:
[metadata]
name = pyramid
version = 0.1.0.dev0
author = Jan Caron
author-email = j.caron@fz-juelich.de
description = PYthon based Reconstruction Algorithm for MagnetIc Distributions
long-description = file: README.md
url = https://jugit.fz-juelich.de/j.caron/pyramid
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 Independen
[options]
zip_safe = False
include_package_data = True
packages = find:
python_requires = >=3.7
# TODO: Check (Comment out everything and test what's really needed)!
setup_requires =
setuptools
numpy>=1.6
pytest
pytest-runner
# TODO: Check!
tests_require =
coverage
pytest
pytest-cov
pytest-flake8
pytest-runner
# TODO: Check!
install_requires =
numpy>=1.6
tqdm
scipy
matplotlib
Pillow
h5py
hyperspy
cmocean
# jutil # TODO: How to handle this??? Ask Jörn!
[options.extras_require]
# TODO: necessary? Does it work with pip/conda?
3Dplot =
qt==4.8
mayavi==4.5
# TODO: Pillow and such?
io =
hyperspy
fftw =
pyfftw
# TODO: Notebooks and stuff
# demos =
# TODO: Add? How?
# snippets =
# TODO: make this optional? Or silent fallback to matplotlib? stylesheet?
colors =
cmocean
# TODO: Don't use too many!
# TODO: What about jupyter notebooks?
# TODO: Check all submodules if anything should be optional or is missing?
# TODO: in general, make CI test THESE requirements (maybe in addition to the environment.yml)
# TODO: more for mayavi (plotting in general) and hyperspy, etc (see below)...
# TODO: what about demos? see Hyperspy?
# CONFIGURATION FOR TESTING:
[aliases]
test=pytest
[coverage:run]
branch = True
tests/*
[tool:pytest] # TODO: Check if everything is taylored to pyramid!
#addopts = --cov --flake8
#ALL # TODO: PEP8 deactivated by this line (remove at a later point)!
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
E741 # do not use variables named ‘l’, ‘O’, or ‘I’
pyramid/__init__.py F401 # module imported but unused
#doc/conf.py ALL