File: quickstart.rst

package info (click to toggle)
pyinstaller 6.13.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 11,520 kB
  • sloc: python: 41,347; ansic: 11,334; makefile: 176; sh: 136; xml: 19
file content (66 lines) | stat: -rw-r--r-- 2,221 bytes parent folder | download | duplicates (3)
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
===========
Quickstart
===========

* Our git repository is at https://github.com/pyinstaller/pyinstaller::

    git clone https://github.com/pyinstaller/pyinstaller

  - Development is done on the `develop` branch. Pull-request shall be filed
    against this branch.

  - Releases will reside on the `master` branch.

* Install required testing tools::

    pip install -r tests/requirements-tools.txt

* Commit as often as you’d like, but squash or otherwise
  rewrite your commits into logical patches before asking
  for code review. ``git rebase -i`` is your friend.
  Read the :ref:`»» Detailed Commit Guideline <Guidelines for Commits>`
  for more information.

  Reformatting code without functional changes will generally not be accepted
  (for rationale see :issue:`2727`).

* Write meaningful commit messages.

  - The first line shall be a short sentence
    that can stand alone as a short description of the change,
    written in the present tense, and
    prefixed with the :ref:`subsystem-name <commit message standard prefixes>`.

  - The body of the commit message should explain or justify the change.
    Read the :ref:`»» Detailed Commit Message Rules <commit messages>`
    for more information.

* Provide tests that cover your changes and try to run the tests locally
  first.

* Submit pull-requests against the ``develop`` branch.
  Mind adding a :ref:`changelog entry <changelog entries>`
  so our users can learn about your change!

* For new files mind adding the copyright header, see
  |PyInstaller/init.py|_
  (also mind updating to the current year).

  .. |PyInstaller/init.py| replace:: :file:`PyInstaller/__init__.py`
  .. _PyInstaller/init.py: https://github.com/pyinstaller/pyinstaller/blob/develop/PyInstaller/__init__.py

* In response to feedback, squash the new "fix up" commits
  into the respective commit that is being fixed
  with an interactive rebase (``git rebase -i``). 
  :ref:`Push the new, rewritten branch <updating pull-request>`
  with a ``git push --force``.
  (Scary! But github doesn’t play nicely with a safer method.)


.. include:: ../_common_definitions.txt

.. Emacs config:
 Local Variables:
 mode: rst
 ispell-local-dictionary: "american"
 End: