OLD | NEW |
1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
2 # Copyright 2013 Google Inc. All Rights Reserved. | 2 # Copyright 2013 Google Inc. All Rights Reserved. |
3 # | 3 # |
4 # Licensed under the Apache License, Version 2.0 (the "License"); | 4 # Licensed under the Apache License, Version 2.0 (the "License"); |
5 # you may not use this file except in compliance with the License. | 5 # you may not use this file except in compliance with the License. |
6 # You may obtain a copy of the License at | 6 # You may obtain a copy of the License at |
7 # | 7 # |
8 # http://www.apache.org/licenses/LICENSE-2.0 | 8 # http://www.apache.org/licenses/LICENSE-2.0 |
9 # | 9 # |
10 # Unless required by applicable law or agreed to in writing, software | 10 # Unless required by applicable law or agreed to in writing, software |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 Windows | 104 Windows |
105 ------- | 105 ------- |
106 | 106 |
107 An installer is available for the compiled version of crcmod from the Python | 107 An installer is available for the compiled version of crcmod from the Python |
108 Package Index (PyPi) at the following URL: | 108 Package Index (PyPi) at the following URL: |
109 | 109 |
110 https://pypi.python.org/pypi/crcmod/1.7 | 110 https://pypi.python.org/pypi/crcmod/1.7 |
111 | 111 |
112 MSI installers are available for the 32-bit versions of Python 2.6 and 2.7. | 112 MSI installers are available for the 32-bit versions of Python 2.6 and 2.7. |
| 113 Make sure to install to a 32-bit Python directory. If you're using 64-bit |
| 114 Python it won't work with 32-bit crcmod, and instead you'll need to install |
| 115 32-bit Python in order to use crcmod. |
113 | 116 |
| 117 Note: If you have installed crcmod and gsutil hasn't detected it, it may have |
| 118 been installed to the wrong directory. It should be located at |
| 119 <python_dir>\\files\\Lib\\site-packages\\crcmod\\ |
| 120 |
| 121 In some cases the installer will incorrectly install to |
| 122 <python_dir>\\Lib\\site-packages\\crcmod\\ |
| 123 |
| 124 Manually copying the crcmod directory to the correct location should resolve |
| 125 the issue. |
114 """) | 126 """) |
115 | 127 |
116 | 128 |
117 class CommandOptions(HelpProvider): | 129 class CommandOptions(HelpProvider): |
118 """Additional help about CRC32C and installing crcmod.""" | 130 """Additional help about CRC32C and installing crcmod.""" |
119 | 131 |
120 # Help specification. See help_provider.py for documentation. | 132 # Help specification. See help_provider.py for documentation. |
121 help_spec = HelpProvider.HelpSpec( | 133 help_spec = HelpProvider.HelpSpec( |
122 help_name='crc32c', | 134 help_name='crc32c', |
123 help_name_aliases=['crc32', 'crc', 'crcmod'], | 135 help_name_aliases=['crc32', 'crc', 'crcmod'], |
124 help_type='additional_help', | 136 help_type='additional_help', |
125 help_one_line_summary='CRC32C and Installing crcmod', | 137 help_one_line_summary='CRC32C and Installing crcmod', |
126 help_text=_DETAILED_HELP_TEXT, | 138 help_text=_DETAILED_HELP_TEXT, |
127 subcommand_help_text={}, | 139 subcommand_help_text={}, |
128 ) | 140 ) |
OLD | NEW |