@@ -31,28 +31,38 @@ Build instructions (all platforms)
3131 To enable freetype, you need to build the library somewhere and
3232 make sure the `freetype-config ` command is available on your PATH. The
3333 setup.py file will call `freetype-config --prefix ` to locate
34- all of the necessary libraries and headers.
34+ all of the necessary libraries and headers as part of installation .
3535
36- 3. Build.
36+ 3. Build and Install
3737
38- The library uses a standard setup.py file, and you can use all
39- standard setup.py commands. I recommend the following steps ::
38+ The library uses a standard setup.py file. Install the library
39+ using `` pip `` from the root of the aggdraw repository ::
4040
41- $ python setup.py build_ext -i
42- $ python selftest.py
41+ $ python -m pip3 install .
42+
43+ Alternatively, it is possible to install the library in an "editable"
44+ manner where the python environment will point to the local development
45+ aggdraw directory.
46+
47+ ::
4348
44- (if you're lazy, you can skip the above and just install the
45- library; setup.py will make sure the right stuff is built before
46- it's installed).
49+ $ python -m pip3 install -e .
4750
48- 4. Install.
51+ However, since aggdraw depends on compiling extension code, it must be
52+ re-installed to re-build the extension.
4953
50- If the selftest succeeds, you can install the library ::
54+ 4. Once aggdraw is installed run the tests ::
5155
52- $ python setup .py install
56+ $ python selftest .py
5357
54585. Enjoy!
5559
60+ Free-threading support
61+ ----------------------
62+
63+ See the documentation site for current information for free-threading
64+ support: https://aggdraw.readthedocs.io/en/stable/
65+
5666AGG2 License
5767------------
5868
0 commit comments