Debian Codegraph @

hypothesis-python/examples/example_hypothesis_entrypoint/setup.py

raw
1 # This file is part of Hypothesis, which may be found at
2 # https://github.com/HypothesisWorks/hypothesis/
3 #
4 # Copyright the Hypothesis Authors.
5 # Individual contributors are listed in AUTHORS.rst and the git log.
6 #
7 # This Source Code Form is subject to the terms of the Mozilla Public License,
8 # v. 2.0. If a copy of the MPL was not distributed with this file, You can
9 # obtain one at https://mozilla.org/MPL/2.0/.
10
11 """Minimal setup.py to register an entrypoint."""
12
13 import setuptools
14
15 setuptools.setup(
16 name="example_hypothesis_entrypoint",
17 author="Example Author",
18 email="[email protected]",
19 license="MPL v2",
20 description="Minimal setup.py to register an entrypoint.",
21 packages=setuptools.find_packages(),
22 install_requires=["hypothesis"],
23 python_requires=">=3.7",
24 entry_points={
25 "hypothesis": ["_ = example_hypothesis_entrypoint:_hypothesis_setup_hook"]
26 },
27 )