-
Notifications
You must be signed in to change notification settings - Fork 126
/
README.txt
52 lines (33 loc) · 1.4 KB
/
README.txt
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
===========================================
PyInstaller-hooks-contrib changelog entries
===========================================
When contributing to PyInstaller-hooks-contrib, you'll need to add a changelog for most additions.
Entry types
-----------
There are 5 types of changelog entry:
* "new"
* "update"
* "remove"
* "process"
* "tests"
Use for each type
+++++++++++++++++
* Please use the "new", "update" and "remove" types for new, updated or removed hooks respectively.
* The "process" type is for anything that doesn't fall into the other categories, but needs a changelog entry.
* The "tests" type is for edits to *just* the tests and nothing else. If you're adding/updating a new hook,
and including tests, don't add two changelog entries! Only add this if it's a majorish *standalone*
change to the tests.
Example
+++++++
You've added a hook for the module `foobar`, and it's in PR "9480".
You add the following file into the "news" directory, called "9480.new.rst".
Add a hook for ``foobar``, which has a hidden import.
Done! The changelog entry has been added, and your PR is ready for review.
Test Suite
-----------
To run the test suite, install dependencies in root:
* pip install -r requirements-test.txt
* pip3 install -e .
Then run the test suite in root:
* If using Windows, run: `python -m PyInstaller.utils.run_tests`
* If using Linux, run: `python3 -m PyInstaller.utils.run_tests`