| 241 | {{{#!div style="border: 1pt dotted; margin: 1em" |
| 242 | **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. |
| 243 | |
| 244 | 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. |
| 245 | |
| 246 | 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`. |
| 247 | {{{#!sh |
| 248 | export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 |
| 249 | }}} |
| 250 | |
| 251 | Alternatively, the variable can be set in the shell before executing `tracd`: |
| 252 | {{{#!sh |
| 253 | $ PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 tracd --port 8000 /path/to/myproject |
| 254 | }}} |
| 255 | |
| 256 | 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`. |
| 257 | }}} |
| 258 | |
251 | | }}} |
252 | | |
253 | | {{{#!div style="border: 1pt dotted; margin: 1em" |
254 | | **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. 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. |
255 | | |
256 | | To be effective system-wide a shell script with the `export` statement may be added to `/etc/profile.d`. !Ubuntu/Debian users can add the `export` statement to `/etc/apache2/envvars`. !RedHat/CentOS/Fedora users can add the `export` statement to `/etc/sysconfig/httpd`. To be effective for a user session the `export` statement may be added to `~/.profile`. |
257 | | {{{#!sh |
258 | | export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 |
259 | | }}} |
260 | | |
261 | | Alternatively, the variable can be set in the shell before executing `tracd`: |
262 | | {{{#!sh |
263 | | $ PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 tracd --port 8000 /path/to/myproject |
264 | | }}} |