-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.cfg
119 lines (110 loc) · 3.98 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# .. Copyright © 2020 PyInstaller Development Team
#
# This file is part of PyInstaller Hook Sample.
#
# PyInstaller Hook Sample is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# PyInstaller Hook Sample is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with PyInstaller Hook Sample. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# ***************************************************
# |docname| - Configuration accompanying ``setup.py``
# ***************************************************
#
#
# In addition to the usual packaging configuration, this file contains
# the entry points needed to enable PyInstaller to find hooks and
# tests provided by this package.
#
# Entry Points for PyInstaller
# ---------------------------------
[options.entry_points]
pyinstaller40 =
# .. _hook_registration:
#
# **Hook registration**: This entry point refers to a function
# that will be invoked with no parameters. It must return a
# sequence of strings, each element of which provides an
# additional absolute path to search for hooks. This is equivalent
# to passing the ``additional-hooks-dir`` `command-line option
# <https://pyinstaller.readthedocs.io/en/stable/usage.html#what-to-bundle-where-to-search>`_
# to PyInstaller for each string in the sequence.
#
# In this project, the function is ``get_hook_dirs``.
hook-dirs = pyi_hooksample.__pyinstaller:get_hook_dirs
# .. _tests_registration:
#
# **Test registration**: This entry point refers to a function
# that will be invoked with no parameters. It must return a
# sequence of strings, each element of which provides an
# additional absolute path to a directory tree or to a Python
# source file. These paths are then passed to `pytest
# <https://docs.pytest.org>`_ for test discovery. This allows both
# testing by this package and by PyInstaller, as discussed in
# `index`.
#
# In this project, the function is ``get_PyInstaller_tests``.
tests = pyi_hooksample.__pyinstaller:get_PyInstaller_tests
#
# Usual Packaging Configuration
# --------------------------------
[sdist]
formats=gztar
[bdist_wheel]
universal=1
[metadata]
name = pyinstaller-hooksample
version = attr: pyi_hooksample.__version__
description = sample project showing how to provide PyInstaller hooks for your package and test them
;long-description = file: README.txt
url = https://github.com/pyinstaller/hooksample
download-url = https://pypi.org/project/pyinstaller-hooksample
author = Hartmut Goebel
author-email = [email protected]
license = GPL-3.0-or-later
keywords = sample pyinstaller development
classifiers =
Development Status :: 1 - Alpha
Intended Audience :: Developers
Topic :: Software Development :: Build Tools
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
[options]
zip_safe = false
include_package_data = True
package_dir=
=src
packages = find:
install_requires =
[options.packages.find]
where=src
[options.package_data]
* = *.txt
[options.extras_require]
test =
pytest
pyinstaller[hook_testing] @ https://github.com/pyinstaller/pyinstaller/archive/develop.zip
docs =
CodeChat
sphinx
sphinx_rtd_theme
[zest.releaser]
history-file = CHANGES
push-changes = no
tag-format = v{version}
tag-message = pyinstaller-hooksample {version}
tag-signing = yes
create-wheel = yes