Debian Codegraph @

python/PACKAGING.txt

raw
1 This document describes how to build a native Python source package.
2 This can be used to install the Python bindings via pip.
3
4 First configure the project using 'cmake' then build it. You do not
5 need to install the project. See the INSTALL.md file at the project's
6 top directory for details on building.
7
8 Once you have built the project, there should be a 'dist' directory in
9 the Python bindings directory in the build directory.
10
11 For example, assuming the build directory is named 'build':
12
13 $ cd build/python/dist
14
15 You can now run the setup.py script from within the dist directory to
16 build your source distribution package.
17
18 To build a Python source distribution:
19
20 $ python ./setup.py sdist
21
22 To build and install:
23
24 $ python ./setup.py build install
25
26