Makefile Variables¶
The following are all the makefile variables used
Variable Name |
Use |
Defaults |
---|---|---|
|
The python version to use for any targets that use python commands. If you are using virtual environments, this will auto-detect it, and only should be set if you have a specific need to change the executable used for the make commands |
|
|
The |
|
|
The |
|
|
The directory to output the docs artifacts in. This will output in |
|
|
The directory in which distribution artifacts ( |
|
|
The configurations for the source distribution target |
|
|
Additional options for |
|
|
The configurations for the wheel binary distribution target |
|
|
Additional options for |
|
|
The distribution targets for the |
|
|
Additional options for the |
Examples¶
Changing the distribution directory¶
# Using options
$ make package DIST_DIR="_dist"
# Using environment variables
$ DIST_DIR="_dist" make package
Only build wheel packages¶
# Using environment variables
$ SDIST="" make package
# Using options
$ make package SDIST=""
Build html, man, latexpdf, and epub docs targets¶
# Using environment variables
$ DOC_TARGETS="html man latexpdf epub" make docs