setup.cfg 1.65 KB
Newer Older
Pierre Augier's avatar
Pierre Augier committed
1
[metadata]
2
name = transonic
3
description = Make your Python code fly at transonic speeds!
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
    Programming Language :: Python :: 3.6
10
    Programming Language :: Python :: 3.7
Pierre Augier's avatar
Pierre Augier committed
11
12

[options]
13
python_requires = >= 3.6
Pierre Augier's avatar
Pierre Augier committed
14
15
install_requires =
    astunparse
16
17
    gast==0.2.2
    beniget==0.1.0
Pierre Augier's avatar
Pierre Augier committed
18
    # black  # avoid this dependency for now (see https://github.com/ambv/black/issues/552)
19
setup_requires = setuptools
Pierre Augier's avatar
Pierre Augier committed
20

Pierre Augier's avatar
Pierre Augier committed
21
[options.extras_require]
Pierre Augier's avatar
Pierre Augier committed
22
23
24
mpi =
    mpi4py

Pierre Augier's avatar
Pierre Augier committed
25
26
test =
    pytest
Ashwin Vishnu's avatar
Ashwin Vishnu committed
27
    pytest-cov
28
    pytest-xdist
29
    # git+https://github.com/zonca/pytest-ipynb#egg=pytest-ipynb
Pierre Augier's avatar
Pierre Augier committed
30
31
    numpy
    pythran
Ashwin Vishnu's avatar
Ashwin Vishnu committed
32
    cython
Ashwin Vishnu's avatar
Ashwin Vishnu committed
33
    black
Pierre Augier's avatar
Pierre Augier committed
34
    %(mpi)s
Pierre Augier's avatar
Pierre Augier committed
35

Pierre Augier's avatar
Pierre Augier committed
36
37
38
39
40
doc =
    sphinx
    sphinx_rtd_theme
    numpydoc
    ipython
Pierre Augier's avatar
Pierre Augier committed
41
    jupyter
Pierre Augier's avatar
Pierre Augier committed
42
    fluiddyn
Pierre Augier's avatar
Pierre Augier committed
43
    recommonmark
Pierre Augier's avatar
Pierre Augier committed
44
45
46
47
48

dev =
    %(doc)s
    %(test)s

Pierre Augier's avatar
Pierre Augier committed
49
50
51
52
[flake8]
ignore = E501,E225,E226,E303,E201,E202,E203,W503

[coverage:run]
53
source = ./transonic
Pierre Augier's avatar
Pierre Augier committed
54
data_file = .coverage/coverage
55
56
57
omit =  */test*.py
        */for_test*.py
        */_try_*.py
58
        transonic/__pythran__/for_test_init.py
59
        transonic/__cython__/for_test_init.py
Pierre Augier's avatar
Pierre Augier committed
60
        transonic/__numba__/for_test_init.py
Pierre Augier's avatar
Pierre Augier committed
61
62
63
64
65
66

[coverage:report]
show_missing = True
exclude_lines =
    raise ValueError
    raise NotImplementedError
Pierre Augier's avatar
Pierre Augier committed
67
    raise RunTimeError
Pierre Augier's avatar
Pierre Augier committed
68
69
    raise ImportError
    except ImportError:
70
71
72
73
    except ModuleNotFoundError:
    except IndexError:
    except AttributeError:
    except KeyError:
74
    except ValueError
Pierre Augier's avatar
Pierre Augier committed
75
76
77
78
79
80
81
82
83
    if test:
    if check:
    if __name__ == "__main__":
    if "sphinx" in sys.modules:

[coverage:html]
directory = .coverage

[coverage:xml]
Ashwin Vishnu's avatar
Ashwin Vishnu committed
84
output = .coverage/coverage.xml