Tarek Ziade | 1231a4e | 2011-05-19 13:07:25 +0200 | [diff] [blame^] | 1 | [globals] |
| 2 | # These are the useful categories that are sometimes referenced at runtime, |
| 3 | # using packaging.resources.get_file: |
| 4 | # Configuration files |
| 5 | config = {confdir}/{distribution.name} |
| 6 | # Non-writable data that is independent of architecture (images, many xml/text files) |
| 7 | appdata = {datadir}/{distribution.name} |
| 8 | # Non-writable data that is architecture-dependent (some binary data formats) |
| 9 | appdata.arch = {libdir}/{distribution.name} |
| 10 | # Data, written by the package, that must be preserved (databases) |
| 11 | appdata.persistent = {statedir}/lib/{distribution.name} |
| 12 | # Data, written by the package, that can be safely discarded (cache) |
| 13 | appdata.disposable = {statedir}/cache/{distribution.name} |
| 14 | # Help or documentation files referenced at runtime |
| 15 | help = {datadir}/{distribution.name} |
| 16 | icon = {datadir}/pixmaps |
| 17 | scripts = {base}/bin |
| 18 | |
| 19 | # Non-runtime files. These are valid categories for marking files for |
| 20 | # install, but they should not be referenced by the app at runtime: |
| 21 | # Help or documentation files not referenced by the package at runtime |
| 22 | doc = {datadir}/doc/{distribution.name} |
| 23 | # GNU info documentation files |
| 24 | info = {datadir}/info |
| 25 | # man pages |
| 26 | man = {datadir}/man |
| 27 | |
| 28 | [posix_prefix] |
| 29 | # Configuration directories. Some of these come straight out of the |
| 30 | # configure script. They are for implementing the other variables, not to |
| 31 | # be used directly in [resource_locations]. |
| 32 | confdir = /etc |
| 33 | datadir = /usr/share |
| 34 | libdir = /usr/lib ; or /usr/lib64 on a multilib system |
| 35 | statedir = /var |
| 36 | # User resource directory |
| 37 | local = ~/.local/{distribution.name} |
| 38 | |
| 39 | stdlib = {base}/lib/python{py_version_short} |
| 40 | platstdlib = {platbase}/lib/python{py_version_short} |
| 41 | purelib = {base}/lib/python{py_version_short}/site-packages |
| 42 | platlib = {platbase}/lib/python{py_version_short}/site-packages |
| 43 | include = {base}/include/python{py_version_short}{abiflags} |
| 44 | platinclude = {platbase}/include/python{py_version_short}{abiflags} |
| 45 | data = {base} |
| 46 | |
| 47 | [posix_home] |
| 48 | stdlib = {base}/lib/python |
| 49 | platstdlib = {base}/lib/python |
| 50 | purelib = {base}/lib/python |
| 51 | platlib = {base}/lib/python |
| 52 | include = {base}/include/python |
| 53 | platinclude = {base}/include/python |
| 54 | scripts = {base}/bin |
| 55 | data = {base} |
| 56 | |
| 57 | [nt] |
| 58 | stdlib = {base}/Lib |
| 59 | platstdlib = {base}/Lib |
| 60 | purelib = {base}/Lib/site-packages |
| 61 | platlib = {base}/Lib/site-packages |
| 62 | include = {base}/Include |
| 63 | platinclude = {base}/Include |
| 64 | scripts = {base}/Scripts |
| 65 | data = {base} |
| 66 | |
| 67 | [os2] |
| 68 | stdlib = {base}/Lib |
| 69 | platstdlib = {base}/Lib |
| 70 | purelib = {base}/Lib/site-packages |
| 71 | platlib = {base}/Lib/site-packages |
| 72 | include = {base}/Include |
| 73 | platinclude = {base}/Include |
| 74 | scripts = {base}/Scripts |
| 75 | data = {base} |
| 76 | |
| 77 | [os2_home] |
| 78 | stdlib = {userbase}/lib/python{py_version_short} |
| 79 | platstdlib = {userbase}/lib/python{py_version_short} |
| 80 | purelib = {userbase}/lib/python{py_version_short}/site-packages |
| 81 | platlib = {userbase}/lib/python{py_version_short}/site-packages |
| 82 | include = {userbase}/include/python{py_version_short} |
| 83 | scripts = {userbase}/bin |
| 84 | data = {userbase} |
| 85 | |
| 86 | [nt_user] |
| 87 | stdlib = {userbase}/Python{py_version_nodot} |
| 88 | platstdlib = {userbase}/Python{py_version_nodot} |
| 89 | purelib = {userbase}/Python{py_version_nodot}/site-packages |
| 90 | platlib = {userbase}/Python{py_version_nodot}/site-packages |
| 91 | include = {userbase}/Python{py_version_nodot}/Include |
| 92 | scripts = {userbase}/Scripts |
| 93 | data = {userbase} |
| 94 | |
| 95 | [posix_user] |
| 96 | stdlib = {userbase}/lib/python{py_version_short} |
| 97 | platstdlib = {userbase}/lib/python{py_version_short} |
| 98 | purelib = {userbase}/lib/python{py_version_short}/site-packages |
| 99 | platlib = {userbase}/lib/python{py_version_short}/site-packages |
| 100 | include = {userbase}/include/python{py_version_short} |
| 101 | scripts = {userbase}/bin |
| 102 | data = {userbase} |
| 103 | |
| 104 | [osx_framework_user] |
| 105 | stdlib = {userbase}/lib/python |
| 106 | platstdlib = {userbase}/lib/python |
| 107 | purelib = {userbase}/lib/python/site-packages |
| 108 | platlib = {userbase}/lib/python/site-packages |
| 109 | include = {userbase}/include |
| 110 | scripts = {userbase}/bin |
| 111 | data = {userbase} |