File: development.md

package info (click to toggle)
patool 4.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,400 kB
  • sloc: python: 5,517; makefile: 177; sh: 122; vhdl: 1
file content (37 lines) | stat: -rw-r--r-- 900 bytes parent folder | download
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
Development
============

Development for patool needs the following environment:

1. Debian Linux or a similar distribution like Ubuntu

2. GNU make

3. A user with sudo permissions.


To start developing, run the following commands:

1. Checkout the source code and change into base project directory

   $ git clone https://github.com/wummel/patool.git && cd patool

2. Initialize the source directory

   $ scripts/install_dev.sh

   $ make init

   This installs required packages, creates a virtual Python environment in the directory `.venv/`
   and installs required modules for development.

3. Run the tests

   $ make test

4. Change the code, and test the new code by running the tests again


The Github workflow runs tests on different architectures and Python versions.
Currently, tests are run on Windows, MacOS and Linux.
Tested Python versions are Python 3.11, 3.12, 3.13 and 3.14.