summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 9ce8b48f3ce2b74c106fb44408336266338093f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
[metadata]
name = Pint
author = Hernan E. Grecco
author_email = hernan.grecco@gmail.com
license = BSD
description = Physical quantities module
long_description = file: README.rst
keywords = physical, quantities, unit, conversion, science
url = https://github.com/hgrecco/pint
classifiers =
    Development Status :: 4 - Beta
    Intended Audience :: Developers
    Intended Audience :: Science/Research
    License :: OSI Approved :: BSD License
    Operating System :: MacOS :: MacOS X
    Operating System :: Microsoft :: Windows
    Operating System :: POSIX
    Programming Language :: Python
    Topic :: Scientific/Engineering
    Topic :: Software Development :: Libraries
    Programming Language :: Python :: 3.8
    Programming Language :: Python :: 3.9
    Programming Language :: Python :: 3.10
    Programming Language :: Python :: 3.11

[options]
packages = pint
zip_safe = True
include_package_data = True
python_requires = >=3.8
setup_requires = setuptools; setuptools_scm
scripts = pint/pint-convert

[options.extras_require]
numpy = numpy >= 1.19.5
uncertainties = uncertainties >= 3.1.6
babel = babel <= 2.8
pandas = pint-pandas >= 0.3
xarray = xarray
dask = dask
test =
    pytest
    pytest-mpl
    pytest-cov
    pytest-subtests

[options.package_data]
pint = default_en.txt; constants_en.txt; py.typed

[build-system]
requires = ["setuptools", "setuptools_scm", "wheel"]

[flake8]
ignore=
    # whitespace before ':' - doesn't work well with black
    E203
    E402
    # line too long - let black worry about that
    E501
    # do not assign a lambda expression, use a def
    E731
    # line break before binary operator
    W503
exclude=
    build

[isort]
default_section=THIRDPARTY
known_first_party=pint
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88

[zest.releaser]
python-file-with-version = version.py
create-wheel = yes