File: BUILDING.md

package info (click to toggle)
pyparsing 3.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 12,200 kB
  • sloc: python: 30,867; ansic: 422; sh: 112; makefile: 24
file content (38 lines) | stat: -rw-r--r-- 784 bytes parent folder | download | duplicates (10)
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
# BUILDING

pyparsing uses the [flit](https://flit.readthedocs.io/) build system
that is compliant with [PEP 517](https://www.python.org/dev/peps/pep-0517/).
Therefore, any PEP 517-compliant tools can be used to build it.


## Building using flit

To build the distribution files using flit, type:

```
$ flit build
```

The generated sdist and wheel will be placed in `dist/` directory.


## Building using build

[build](https://github.com/pypa/build) is a generic builder for PEP 517
projects.  To build the distribution files using build, type:

```
$ pyproject-build
```

The generated sdist and wheel will be placed in `dist/` directory.


## Testing

pyparsing uses [tox](https://tox.wiki/en/latest/) to run tests.
In order to run the complete test suite, type:

```
$ tox
```