|
58 | 58 | 'six',
|
59 | 59 | ],
|
60 | 60 | extras_require={
|
| 61 | +# A empty extra that only has a conditional marker will be |
| 62 | +# unconditonally installed when the condition matches. |
61 | 63 | ":python_version == '2.6'": ["ordereddict"],
|
| 64 | + |
| 65 | +# A conditional extra will only install these items when the extra is |
| 66 | +# requested and the condition matches. |
62 | 67 | "lxml:python_implementation == 'CPython'": ["lxml"],
|
| 68 | + |
| 69 | +# Standard extras, will be installed when the extra is requested. |
63 | 70 | "genshi": ["genshi"],
|
64 | 71 | "datrie": ["datrie"],
|
65 | 72 | "charade": ["charade"],
|
| 73 | + |
| 74 | +# The all extra combines a standard extra which will be used anytime |
| 75 | +# the all extra is requested, and it extends it with a conditional |
| 76 | +# extra that will be installed whenever the condition matches and the |
| 77 | +# all extra is requested. |
66 | 78 | "all": ["genshi","datrie","charade"],
|
67 | 79 | "all:python_implementation == 'CPython'": ["lxml"],
|
68 | 80 | },
|
|