210 | | {{{#!div style="border: 1pt dotted; margin: 1em" |
211 | | **Setuptools Warning:** If the version of your setuptools is in the range 5.4 through 5.6, the environment variable `PKG_RESOURCES_CACHE_ZIP_MANIFESTS` must be set in order to avoid significant performance degradation. |
212 | | |
213 | | If running `tracd`, the environment variable can be set system-wide or for just the user that runs the `tracd` process. There are several ways to accomplish this in addition to what is discussed here, and depending on the distribution of your OS. |
214 | | |
215 | | To be effective system-wide a shell script with the `export` statement may be added to `/etc/profile.d`. To be effective for a user session the `export` statement may be added to `~/.profile`. |
216 | | {{{#!sh |
217 | | export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 |
218 | | }}} |
219 | | |
220 | | Alternatively, the variable can be set in the shell before executing `tracd`: |
221 | | {{{#!sh |
222 | | $ PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 tracd --port 8000 /path/to/myproject |
223 | | }}} |
224 | | |
225 | | If running the Apache web server, !Ubuntu/Debian users should add the `export` statement to `/etc/apache2/envvars`. !RedHat/CentOS/Fedora should can add the `export` statement to `/etc/sysconfig/httpd`. |
226 | | }}} |
227 | | |