setup.cfg 1.27 KB
Newer Older
Pierre Augier's avatar
Pierre Augier committed
1
2
[metadata]
name = fluidpythran
Pierre Augier's avatar
Pierre Augier committed
3
description = Easily speedup your Python code with Pythran
Pierre Augier's avatar
Pierre Augier committed
4
long_description = file: README.rst
Pierre Augier's avatar
Pierre Augier committed
5
6
7
8
keywords = pythran
license = CeCILL-B License
classifiers =
    Programming Language :: Python :: 3
Pierre Augier's avatar
Pierre Augier committed
9
10
11
    Programming Language :: Python :: 3.6

[options]
12
install_requires = astunparse
13
# install_requires = black  # avoid this dependency for now (see https://github.com/ambv/black/issues/552)
Pierre Augier's avatar
Pierre Augier committed
14

Pierre Augier's avatar
Pierre Augier committed
15
16
17
18
19
20
21
22
23
24
25
[options.extras_require]
dev =
    sphinx
    sphinx_rtd_theme
    numpydoc
    ipython
	jupyter
    fluiddyn

test =
    pytest
26
    # git+https://github.com/zonca/pytest-ipynb#egg=pytest-ipynb
Pierre Augier's avatar
Pierre Augier committed
27
28
29
    numpy
    pythran

Pierre Augier's avatar
Pierre Augier committed
30
31
32
33
34
35
36
37
[flake8]
ignore = E501,E225,E226,E303,E201,E202,E203,W503

[coverage:run]
source = ./fluidpythran
data_file = .coverage/coverage
omit = */test*.py
       */_try_*.py
Pierre Augier's avatar
Pierre Augier committed
38
        fluidpythran/__pythran__/for_test_init.py
Pierre Augier's avatar
Pierre Augier committed
39
40
41
42
43
44
45
46

[coverage:report]
show_missing = True
exclude_lines =
    raise ValueError
    raise NotImplementedError
    raise ImportError
    except ImportError:
47
48
49
50
    except ModuleNotFoundError:
    except IndexError:
    except AttributeError:
    except KeyError:
51
    except ValueError
Pierre Augier's avatar
Pierre Augier committed
52
53
54
55
56
57
58
59
60
61
    if test:
    if check:
    if __name__ == "__main__":
    if "sphinx" in sys.modules:

[coverage:html]
directory = .coverage

[coverage:xml]
output = .coverage/coverage.xml