-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
79 lines (72 loc) · 2.53 KB
/
setup.cfg
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
79
# Helper file to handle all configs
# setuptools configuration.
# see https://setuptools.pypa.io/en/latest/userguide/declarative_config.html
[metadata]
# Self-descriptive entries which should always be present
name = cbchelpers
author = Florian Joerg
author_email = [email protected]
description = Various functions and methods to facilitate my work
long_description = file: README.md
long_description_content_type = "text/markdown"
version = attr: cbchelpers.__version__
license = MIT
python_requires = ">=3.7"
# See https://pypi.org/classifiers/
classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
# Update the urls and uncomment, once the hosting is set up.
#project_urls =
# Source = https://github.com/<username>/cbchelpers/
# Documentation = https://cbchelpers.readthedocs.io/
# Other possible metadata.
# Ref https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
#keywords = one, two
#platforms = ["Linux",
# "Mac OS-X",
# "Unix",
# "Windows"]
[options]
# As of version 0.971, mypy does not support type checking of installed zipped
# packages (because it does not actually import the Python packages).
# We declare the package not-zip-safe so that our type hints are also available
# when checking client code that uses our (installed) package.
# Ref:
# https://mypy.readthedocs.io/en/stable/installed_packages.html?highlight=zip#using-installed-packages-with-mypy-pep-561
zip_safe = False
install_requires =
importlib-resources; python_version<"3.10"
tests_require =
pytest>=6.1.2
pytest-runner
# Which Python importable modules should be included when your package is installed
# Handled automatically by setuptools. Use 'exclude' to prevent some specific
# subpackage(s) from being added, if needed
packages = find:
# Alternatively, see ; https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#using-a-src-layout
#package_dir =
# =src
[options.packages.find]
where = .
# Optionally, include package data to ship with your package
# Customize MANIFEST.in if the general case does not suit your needs
[options.package_data]
cbchelpers = py.typed
[coverage:run]
# .coveragerc to control coverage.py and pytest-cov
omit =
# Omit the tests
*/tests/*
# Omit generated versioneer
cbchelpers/_version.py
[yapf]
# YAPF, in .style.yapf files this shows up as "[style]" header
COLUMN_LIMIT = 119
INDENT_WIDTH = 4
USE_TABS = False
[flake8]
# Flake8, PyFlakes, etc
max-line-length = 119
[aliases]
test = pytest