Skip to content
Permalink
Browse files

give qgis future (followup 15b3600)

  • Loading branch information
jef-n committed Mar 25, 2016
1 parent 0d21e64 commit 2b55d89d2abb2ec95e7adcd56b5150b1c6013c1b
Showing with 43,952 additions and 6 deletions.
  1. +7 −0 debian/rules
  2. +1 −0 ms-windows/osgeo4w/package-nightly.cmd
  3. +1 −0 ms-windows/osgeo4w/package.cmd
  4. +8 −6 python/ext-libs/CMakeLists.txt
  5. +10 −0 python/ext-libs/future/_dummy_thread/__init__.py
  6. +10 −0 python/ext-libs/future/_markupbase/__init__.py
  7. +10 −0 python/ext-libs/future/_thread/__init__.py
  8. +12 −0 python/ext-libs/future/builtins/__init__.py
  9. +13 −0 python/ext-libs/future/configparser/__init__.py
  10. +9 −0 python/ext-libs/future/copyreg/__init__.py
  11. +83 −0 python/ext-libs/future/future-0.15.2.dist-info/DESCRIPTION.rst
  12. +1 −0 python/ext-libs/future/future-0.15.2.dist-info/INSTALLER
  13. +104 −0 python/ext-libs/future/future-0.15.2.dist-info/METADATA
  14. +482 −0 python/ext-libs/future/future-0.15.2.dist-info/RECORD
  15. +5 −0 python/ext-libs/future/future-0.15.2.dist-info/WHEEL
  16. +4 −0 python/ext-libs/future/future-0.15.2.dist-info/entry_points.txt
  17. +1 −0 python/ext-libs/future/future-0.15.2.dist-info/metadata.json
  18. +18 −0 python/ext-libs/future/future-0.15.2.dist-info/top_level.txt
  19. +94 −0 python/ext-libs/future/future/__init__.py
  20. +25 −0 python/ext-libs/future/future/backports/__init__.py
  21. +422 −0 python/ext-libs/future/future/backports/_markupbase.py
  22. +2,152 −0 python/ext-libs/future/future/backports/datetime.py
  23. +78 −0 python/ext-libs/future/future/backports/email/__init__.py
  24. +232 −0 python/ext-libs/future/future/backports/email/_encoded_words.py
  25. +2,965 −0 python/ext-libs/future/future/backports/email/_header_value_parser.py
  26. +546 −0 python/ext-libs/future/future/backports/email/_parseaddr.py
  27. +365 −0 python/ext-libs/future/future/backports/email/_policybase.py
  28. +120 −0 python/ext-libs/future/future/backports/email/base64mime.py
  29. +409 −0 python/ext-libs/future/future/backports/email/charset.py
  30. +90 −0 python/ext-libs/future/future/backports/email/encoders.py
  31. +111 −0 python/ext-libs/future/future/backports/email/errors.py
  32. +525 −0 python/ext-libs/future/future/backports/email/feedparser.py
  33. +498 −0 python/ext-libs/future/future/backports/email/generator.py
  34. +581 −0 python/ext-libs/future/future/backports/email/header.py
  35. +592 −0 python/ext-libs/future/future/backports/email/headerregistry.py
  36. +74 −0 python/ext-libs/future/future/backports/email/iterators.py
  37. +882 −0 python/ext-libs/future/future/backports/email/message.py
  38. 0 python/ext-libs/future/future/backports/email/mime/__init__.py
  39. +39 −0 python/ext-libs/future/future/backports/email/mime/application.py
  40. +74 −0 python/ext-libs/future/future/backports/email/mime/audio.py
  41. +25 −0 python/ext-libs/future/future/backports/email/mime/base.py
  42. +48 −0 python/ext-libs/future/future/backports/email/mime/image.py
  43. +36 −0 python/ext-libs/future/future/backports/email/mime/message.py
  44. +49 −0 python/ext-libs/future/future/backports/email/mime/multipart.py
  45. +24 −0 python/ext-libs/future/future/backports/email/mime/nonmultipart.py
  46. +44 −0 python/ext-libs/future/future/backports/email/mime/text.py
  47. +135 −0 python/ext-libs/future/future/backports/email/parser.py
  48. +193 −0 python/ext-libs/future/future/backports/email/policy.py
  49. +326 −0 python/ext-libs/future/future/backports/email/quoprimime.py
  50. +400 −0 python/ext-libs/future/future/backports/email/utils.py
  51. +28 −0 python/ext-libs/future/future/backports/html/__init__.py
  52. +2,515 −0 python/ext-libs/future/future/backports/html/entities.py
  53. +537 −0 python/ext-libs/future/future/backports/html/parser.py
  54. 0 python/ext-libs/future/future/backports/http/__init__.py
  55. +1,332 −0 python/ext-libs/future/future/backports/http/client.py
  56. +2,109 −0 python/ext-libs/future/future/backports/http/cookiejar.py
  57. +597 −0 python/ext-libs/future/future/backports/http/cookies.py
  58. +1,226 −0 python/ext-libs/future/future/backports/http/server.py
  59. +910 −0 python/ext-libs/future/future/backports/misc.py
  60. +454 −0 python/ext-libs/future/future/backports/socket.py
  61. +747 −0 python/ext-libs/future/future/backports/socketserver.py
  62. +9 −0 python/ext-libs/future/future/backports/test/__init__.py
  63. +36 −0 python/ext-libs/future/future/backports/test/badcert.pem
  64. +40 −0 python/ext-libs/future/future/backports/test/badkey.pem
  65. +9 −0 python/ext-libs/future/future/backports/test/dh512.pem
  66. +41 −0 python/ext-libs/future/future/backports/test/https_svn_python_org_root.pem
  67. +33 −0 python/ext-libs/future/future/backports/test/keycert.passwd.pem
  68. +31 −0 python/ext-libs/future/future/backports/test/keycert.pem
  69. +31 −0 python/ext-libs/future/future/backports/test/keycert2.pem
  70. +31 −0 python/ext-libs/future/future/backports/test/nokia.pem
  71. +90 −0 python/ext-libs/future/future/backports/test/nullbytecert.pem
  72. 0 python/ext-libs/future/future/backports/test/nullcert.pem
  73. +272 −0 python/ext-libs/future/future/backports/test/pystone.py
  74. +128 −0 python/ext-libs/future/future/backports/test/sha256.pem
  75. +15 −0 python/ext-libs/future/future/backports/test/ssl_cert.pem
  76. +18 −0 python/ext-libs/future/future/backports/test/ssl_key.passwd.pem
  77. +16 −0 python/ext-libs/future/future/backports/test/ssl_key.pem
  78. +207 −0 python/ext-libs/future/future/backports/test/ssl_servers.py
  79. +2,048 −0 python/ext-libs/future/future/backports/test/support.py
  80. +38 −0 python/ext-libs/future/future/backports/total_ordering.py
  81. 0 python/ext-libs/future/future/backports/urllib/__init__.py
  82. +75 −0 python/ext-libs/future/future/backports/urllib/error.py
  83. +991 −0 python/ext-libs/future/future/backports/urllib/parse.py
  84. +2,641 −0 python/ext-libs/future/future/backports/urllib/request.py
  85. +103 −0 python/ext-libs/future/future/backports/urllib/response.py
  86. +211 −0 python/ext-libs/future/future/backports/urllib/robotparser.py
  87. +1 −0 python/ext-libs/future/future/backports/xmlrpc/__init__.py
  88. +1,496 −0 python/ext-libs/future/future/backports/xmlrpc/client.py
  89. +999 −0 python/ext-libs/future/future/backports/xmlrpc/server.py
  90. +51 −0 python/ext-libs/future/future/builtins/__init__.py
  91. +66 −0 python/ext-libs/future/future/builtins/disabled.py
  92. +53 −0 python/ext-libs/future/future/builtins/iterators.py
  93. +124 −0 python/ext-libs/future/future/builtins/misc.py
  94. +71 −0 python/ext-libs/future/future/builtins/newnext.py
  95. +99 −0 python/ext-libs/future/future/builtins/newround.py
  96. +115 −0 python/ext-libs/future/future/builtins/newsuper.py
  97. +8 −0 python/ext-libs/future/future/moves/__init__.py
  98. +8 −0 python/ext-libs/future/future/moves/_dummy_thread.py
  99. +8 −0 python/ext-libs/future/future/moves/_markupbase.py
  100. +8 −0 python/ext-libs/future/future/moves/_thread.py
  101. +10 −0 python/ext-libs/future/future/moves/builtins.py
  102. +18 −0 python/ext-libs/future/future/moves/collections.py
  103. +8 −0 python/ext-libs/future/future/moves/configparser.py
  104. +8 −0 python/ext-libs/future/future/moves/copyreg.py
  105. +20 −0 python/ext-libs/future/future/moves/dbm/__init__.py
  106. +9 −0 python/ext-libs/future/future/moves/dbm/dumb.py
  107. +9 −0 python/ext-libs/future/future/moves/dbm/gnu.py
  108. +9 −0 python/ext-libs/future/future/moves/dbm/ndbm.py
  109. +31 −0 python/ext-libs/future/future/moves/html/__init__.py
  110. +8 −0 python/ext-libs/future/future/moves/html/entities.py
  111. +8 −0 python/ext-libs/future/future/moves/html/parser.py
  112. +4 −0 python/ext-libs/future/future/moves/http/__init__.py
  113. +8 −0 python/ext-libs/future/future/moves/http/client.py
  114. +8 −0 python/ext-libs/future/future/moves/http/cookiejar.py
  115. +9 −0 python/ext-libs/future/future/moves/http/cookies.py
  116. +20 −0 python/ext-libs/future/future/moves/http/server.py
  117. +8 −0 python/ext-libs/future/future/moves/itertools.py
  118. +11 −0 python/ext-libs/future/future/moves/pickle.py
  119. +8 −0 python/ext-libs/future/future/moves/queue.py
  120. +8 −0 python/ext-libs/future/future/moves/reprlib.py
  121. +8 −0 python/ext-libs/future/future/moves/socketserver.py
  122. +11 −0 python/ext-libs/future/future/moves/subprocess.py
  123. +8 −0 python/ext-libs/future/future/moves/sys.py
  124. +5 −0 python/ext-libs/future/future/moves/test/__init__.py
  125. +11 −0 python/ext-libs/future/future/moves/test/support.py
  126. +8 −0 python/ext-libs/future/future/moves/tkinter/__init__.py
  127. +13 −0 python/ext-libs/future/future/moves/tkinter/colorchooser.py
  128. +13 −0 python/ext-libs/future/future/moves/tkinter/commondialog.py
  129. +13 −0 python/ext-libs/future/future/moves/tkinter/constants.py
  130. +13 −0 python/ext-libs/future/future/moves/tkinter/dialog.py
  131. +13 −0 python/ext-libs/future/future/moves/tkinter/dnd.py
  132. +13 −0 python/ext-libs/future/future/moves/tkinter/filedialog.py
  133. +13 −0 python/ext-libs/future/future/moves/tkinter/font.py
  134. +13 −0 python/ext-libs/future/future/moves/tkinter/messagebox.py
  135. +13 −0 python/ext-libs/future/future/moves/tkinter/scrolledtext.py
  136. +13 −0 python/ext-libs/future/future/moves/tkinter/simpledialog.py
  137. +13 −0 python/ext-libs/future/future/moves/tkinter/tix.py
  138. +13 −0 python/ext-libs/future/future/moves/tkinter/ttk.py
  139. +6 −0 python/ext-libs/future/future/moves/urllib/__init__.py
  140. +16 −0 python/ext-libs/future/future/moves/urllib/error.py
  141. +28 −0 python/ext-libs/future/future/moves/urllib/parse.py
  142. +93 −0 python/ext-libs/future/future/moves/urllib/request.py
  143. +13 −0 python/ext-libs/future/future/moves/urllib/response.py
  144. +8 −0 python/ext-libs/future/future/moves/urllib/robotparser.py
  145. +8 −0 python/ext-libs/future/future/moves/winreg.py
  146. 0 python/ext-libs/future/future/moves/xmlrpc/__init__.py
  147. +7 −0 python/ext-libs/future/future/moves/xmlrpc/client.py
  148. +7 −0 python/ext-libs/future/future/moves/xmlrpc/server.py
  149. +811 −0 python/ext-libs/future/future/standard_library/__init__.py
  150. 0 python/ext-libs/future/future/tests/__init__.py
  151. +533 −0 python/ext-libs/future/future/tests/base.py
  152. +258 −0 python/ext-libs/future/future/types/__init__.py
  153. +416 −0 python/ext-libs/future/future/types/newbytes.py
  154. +111 −0 python/ext-libs/future/future/types/newdict.py
  155. +379 −0 python/ext-libs/future/future/types/newint.py
  156. +95 −0 python/ext-libs/future/future/types/newlist.py
  157. +27 −0 python/ext-libs/future/future/types/newmemoryview.py
  158. +132 −0 python/ext-libs/future/future/types/newobject.py
  159. +33 −0 python/ext-libs/future/future/types/newopen.py
  160. +159 −0 python/ext-libs/future/future/types/newrange.py
  161. +412 −0 python/ext-libs/future/future/types/newstr.py
  162. +741 −0 python/ext-libs/future/future/utils/__init__.py
  163. +200 −0 python/ext-libs/future/future/utils/surrogateescape.py
  164. +9 −0 python/ext-libs/future/html/__init__.py
  165. +7 −0 python/ext-libs/future/html/entities.py
  166. +8 −0 python/ext-libs/future/html/parser.py
  167. +9 −0 python/ext-libs/future/http/__init__.py
  168. +91 −0 python/ext-libs/future/http/client.py
  169. +6 −0 python/ext-libs/future/http/cookiejar.py
  170. +7 −0 python/ext-libs/future/http/cookies.py
  171. +18 −0 python/ext-libs/future/http/server.py
  172. +1 −0 python/ext-libs/future/libfuturize/__init__.py
  173. +476 −0 python/ext-libs/future/libfuturize/fixer_util.py
  174. +97 −0 python/ext-libs/future/libfuturize/fixes/__init__.py
  175. +103 −0 python/ext-libs/future/libfuturize/fixes/fix_UserDict.py
  176. +92 −0 python/ext-libs/future/libfuturize/fixes/fix_absolute_import.py
  177. +27 −0 python/ext-libs/future/libfuturize/fixes/fix_add__future__imports_except_unicode_literals.py
  178. +18 −0 python/ext-libs/future/libfuturize/fixes/fix_basestring.py
  179. +24 −0 python/ext-libs/future/libfuturize/fixes/fix_bytes.py
  180. +34 −0 python/ext-libs/future/libfuturize/fixes/fix_cmp.py
  181. +13 −0 python/ext-libs/future/libfuturize/fixes/fix_division.py
  182. +72 −0 python/ext-libs/future/libfuturize/fixes/fix_division_safe.py
  183. +38 −0 python/ext-libs/future/libfuturize/fixes/fix_execfile.py
  184. +60 −0 python/ext-libs/future/libfuturize/fixes/fix_future_builtins.py
  185. +26 −0 python/ext-libs/future/libfuturize/fixes/fix_future_standard_library.py
  186. +30 −0 python/ext-libs/future/libfuturize/fixes/fix_future_standard_library_urllib.py
  187. +262 −0 python/ext-libs/future/libfuturize/fixes/fix_metaclass.py
  188. +104 −0 python/ext-libs/future/libfuturize/fixes/fix_next_call.py
  189. +17 −0 python/ext-libs/future/libfuturize/fixes/fix_object.py
  190. +78 −0 python/ext-libs/future/libfuturize/fixes/fix_oldstr_wrap.py
  191. +37 −0 python/ext-libs/future/libfuturize/fixes/fix_order___future__imports.py
  192. +94 −0 python/ext-libs/future/libfuturize/fixes/fix_print.py
  193. +23 −0 python/ext-libs/future/libfuturize/fixes/fix_print_with_import.py
  194. +73 −0 python/ext-libs/future/libfuturize/fixes/fix_raise.py
  195. +27 −0 python/ext-libs/future/libfuturize/fixes/fix_remove_old__future__imports.py
  196. +25 −0 python/ext-libs/future/libfuturize/fixes/fix_unicode_keep_u.py
  197. +19 −0 python/ext-libs/future/libfuturize/fixes/fix_unicode_literals_import.py
  198. +20 −0 python/ext-libs/future/libfuturize/fixes/fix_xrange_with_import.py
  199. +302 −0 python/ext-libs/future/libfuturize/main.py
  200. +1 −0 python/ext-libs/future/libpasteurize/__init__.py
  201. +55 −0 python/ext-libs/future/libpasteurize/fixes/__init__.py
  202. +57 −0 python/ext-libs/future/libpasteurize/fixes/feature_base.py
  203. +25 −0 python/ext-libs/future/libpasteurize/fixes/fix_add_all__future__imports.py
  204. +38 −0 python/ext-libs/future/libpasteurize/fixes/fix_add_all_future_builtins.py
  205. +23 −0 python/ext-libs/future/libpasteurize/fixes/fix_add_future_standard_library_import.py
  206. +48 −0 python/ext-libs/future/libpasteurize/fixes/fix_annotations.py
  207. +28 −0 python/ext-libs/future/libpasteurize/fixes/fix_division.py
  208. +86 −0 python/ext-libs/future/libpasteurize/fixes/fix_features.py
  209. +16 −0 python/ext-libs/future/libpasteurize/fixes/fix_fullargspec.py
  210. +47 −0 python/ext-libs/future/libpasteurize/fixes/fix_future_builtins.py
  211. +26 −0 python/ext-libs/future/libpasteurize/fixes/fix_getcwd.py
  212. +113 −0 python/ext-libs/future/libpasteurize/fixes/fix_imports.py
  213. +175 −0 python/ext-libs/future/libpasteurize/fixes/fix_imports2.py
  214. +148 −0 python/ext-libs/future/libpasteurize/fixes/fix_kwargs.py
  215. +21 −0 python/ext-libs/future/libpasteurize/fixes/fix_memoryview.py
  216. +78 −0 python/ext-libs/future/libpasteurize/fixes/fix_metaclass.py
  217. +33 −0 python/ext-libs/future/libpasteurize/fixes/fix_newstyle.py
  218. +43 −0 python/ext-libs/future/libpasteurize/fixes/fix_next.py
  219. +17 −0 python/ext-libs/future/libpasteurize/fixes/fix_printfunction.py
  220. +25 −0 python/ext-libs/future/libpasteurize/fixes/fix_raise.py
  221. +35 −0 python/ext-libs/future/libpasteurize/fixes/fix_raise_.py
  222. +23 −0 python/ext-libs/future/libpasteurize/fixes/fix_throw.py
  223. +120 −0 python/ext-libs/future/libpasteurize/fixes/fix_unpacking.py
  224. +149 −0 python/ext-libs/future/libpasteurize/main.py
  225. +93 −0 python/ext-libs/future/past/__init__.py
  226. +72 −0 python/ext-libs/future/past/builtins/__init__.py
  227. +90 −0 python/ext-libs/future/past/builtins/misc.py
  228. +273 −0 python/ext-libs/future/past/builtins/noniterators.py
  229. 0 python/ext-libs/future/past/tests/__init__.py
  230. +498 −0 python/ext-libs/future/past/translation/__init__.py
  231. +30 −0 python/ext-libs/future/past/types/__init__.py
  232. +40 −0 python/ext-libs/future/past/types/basestring.py
  233. +97 −0 python/ext-libs/future/past/types/olddict.py
  234. +132 −0 python/ext-libs/future/past/types/oldstr.py
  235. +97 −0 python/ext-libs/future/past/utils/__init__.py
  236. +10 −0 python/ext-libs/future/queue/__init__.py
  237. +9 −0 python/ext-libs/future/reprlib/__init__.py
  238. +9 −0 python/ext-libs/future/socketserver/__init__.py
  239. +9 −0 python/ext-libs/future/tkinter/__init__.py
  240. +13 −0 python/ext-libs/future/tkinter/colorchooser.py
  241. +13 −0 python/ext-libs/future/tkinter/commondialog.py
  242. +13 −0 python/ext-libs/future/tkinter/constants.py
  243. +13 −0 python/ext-libs/future/tkinter/dialog.py
  244. +13 −0 python/ext-libs/future/tkinter/dnd.py
  245. +13 −0 python/ext-libs/future/tkinter/filedialog.py
  246. +13 −0 python/ext-libs/future/tkinter/font.py
  247. +13 −0 python/ext-libs/future/tkinter/messagebox.py
  248. +13 −0 python/ext-libs/future/tkinter/scrolledtext.py
  249. +13 −0 python/ext-libs/future/tkinter/simpledialog.py
  250. +13 −0 python/ext-libs/future/tkinter/tix.py
  251. +13 −0 python/ext-libs/future/tkinter/ttk.py
  252. +10 −0 python/ext-libs/future/winreg/__init__.py
  253. +9 −0 python/ext-libs/future/xmlrpc/__init__.py
  254. +5 −0 python/ext-libs/future/xmlrpc/client.py
  255. +5 −0 python/ext-libs/future/xmlrpc/server.py
@@ -97,6 +97,13 @@ else
CMAKE_OPTS += -DWITH_INTERNAL_NOSE2=FALSE -DWITH_INTERNAL_SIX=FALSE
endif

ifneq (,$(findstring $(DISTRIBUTION),"stretch unstable wily xenial"))
CMAKE_OPTS += -DWITH_INTERNAL_FUTURE=TRUE
else
CMAKE_OPTS += -DWITH_INTERNAL_FUTURE=FALSE
endif


ifneq (,$(findstring $(DISTRIBUTION),"wheezy precise"))
CMAKE_OPTS += -DWITH_PYSPATIALITE=TRUE
endif
@@ -193,6 +193,7 @@ cmake %CMAKE_OPT% ^
-D WITH_INTERNAL_NOSE2=FALSE ^
-D WITH_INTERNAL_MOCK=FALSE ^
-D WITH_INTERNAL_HTTPLIB2=FALSE ^
-D WITH_INTERNAL_FUTURE=FALSE ^
%SRCDIR%
if errorlevel 1 (echo cmake failed & goto error)

@@ -187,6 +187,7 @@ cmake %CMAKE_OPT% ^
-D WITH_INTERNAL_DATEUTIL=FALSE ^
-D WITH_INTERNAL_PYTZ=FALSE ^
-D WITH_INTERNAL_SIX=FALSE ^
-D WITH_INTERNAL_FUTURE=FALSE ^
%SRCDIR%
if errorlevel 1 (echo cmake failed & goto error)

@@ -8,35 +8,37 @@ IF (WITH_PYSPATIALITE)
ADD_SUBDIRECTORY(pyspatialite)
ENDIF (WITH_PYSPATIALITE)

MACRO(EXT_PYLIB lib)
MACRO(EXT_PYLIB lib dir)
STRING(TOUPPER ${lib} ulib)
SET (WITH_INTERNAL_${ulib} TRUE CACHE BOOL "Determines whether python ${lib} should be included")
IF(WITH_INTERNAL_${ulib})
INSTALL(DIRECTORY ${lib} DESTINATION "${QGIS_PYTHON_DIR}")
INSTALL(DIRECTORY ${lib} DESTINATION "${QGIS_PYTHON_DIR}/${dir}")

ADD_CUSTOM_TARGET(py${lib})

FILE(GLOB_RECURSE files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${lib}/*)
ADD_CUSTOM_COMMAND(TARGET py${lib}
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory ${lib} "${PYTHON_OUTPUT_DIRECTORY}/${lib}"
COMMAND ${CMAKE_COMMAND} -E copy_directory ${lib} "${PYTHON_OUTPUT_DIRECTORY}/${lib}/${dir}"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS ${files}
)
PY_COMPILE(py${lib} "${PYTHON_OUTPUT_DIRECTORY}/${lib}")
PY_COMPILE(py${lib} "${PYTHON_OUTPUT_DIRECTORY}/${lib}/${dir}")

ADD_DEPENDENCIES(staged-plugins py${lib})
ADD_CUSTOM_COMMAND(TARGET clean-staged-plugins
COMMAND ${CMAKE_COMMAND} -E remove_directory "${PYTHON_OUTPUT_DIRECTORY}/${lib}"
COMMAND ${CMAKE_COMMAND} -E remove_directory "${PYTHON_OUTPUT_DIRECTORY}/${lib}/${dir}"
)

ENDIF(WITH_INTERNAL_${ulib})
ENDMACRO(EXT_PYLIB lib)

FOREACH(pkg httplib2 jinja2 markupsafe owslib pygments dateutil pytz yaml nose2)
EXT_PYLIB(${pkg})
EXT_PYLIB(${pkg} .)
ENDFOREACH(pkg)

EXT_PYLIB(future ..)

SET (WITH_INTERNAL_SIX TRUE CACHE BOOL "Determines whether python six should be included")
IF(WITH_INTERNAL_SIX)
INSTALL(FILES six.py DESTINATION "${QGIS_PYTHON_DIR}")
@@ -0,0 +1,10 @@
from __future__ import absolute_import
import sys
__future_module__ = True

if sys.version_info[0] < 3:
from dummy_thread import *
else:
raise ImportError('This package should not be accessible on Python 3. '
'Either you are trying to run from the python-future src folder '
'or your installation of python-future is corrupted.')
@@ -0,0 +1,10 @@
from __future__ import absolute_import
import sys
__future_module__ = True

if sys.version_info[0] < 3:
from markupbase import *
else:
raise ImportError('This package should not be accessible on Python 3. '
'Either you are trying to run from the python-future src folder '
'or your installation of python-future is corrupted.')
@@ -0,0 +1,10 @@
from __future__ import absolute_import
import sys
__future_module__ = True

if sys.version_info[0] < 3:
from thread import *
else:
raise ImportError('This package should not be accessible on Python 3. '
'Either you are trying to run from the python-future src folder '
'or your installation of python-future is corrupted.')
@@ -0,0 +1,12 @@
from __future__ import absolute_import
import sys
__future_module__ = True

if sys.version_info[0] < 3:
from __builtin__ import *
# Overwrite any old definitions with the equivalent future.builtins ones:
from future.builtins import *
else:
raise ImportError('This package should not be accessible on Python 3. '
'Either you are trying to run from the python-future src folder '
'or your installation of python-future is corrupted.')
@@ -0,0 +1,13 @@
from __future__ import absolute_import
import sys

if sys.version_info[0] < 3:
from ConfigParser import *
try:
from ConfigParser import (_Chainmap, Error, InterpolationMissingOptionError)
except ImportError:
pass
else:
raise ImportError('This package should not be accessible on Python 3. '
'Either you are trying to run from the python-future src folder '
'or your installation of python-future is corrupted.')
@@ -0,0 +1,9 @@
from __future__ import absolute_import
import sys

if sys.version_info[0] < 3:
from copy_reg import *
else:
raise ImportError('This package should not be accessible on Python 3. '
'Either you are trying to run from the python-future src folder '
'or your installation of python-future is corrupted.')
@@ -0,0 +1,83 @@
future: Easy, safe support for Python 2/3 compatibility
=======================================================

``future`` is the missing compatibility layer between Python 2 and Python
3. It allows you to use a single, clean Python 3.x-compatible codebase to
support both Python 2 and Python 3 with minimal overhead.

It is designed to be used as follows::

from __future__ import (absolute_import, division,
print_function, unicode_literals)
from builtins import (
bytes, dict, int, list, object, range, str,
ascii, chr, hex, input, next, oct, open,
pow, round, super,
filter, map, zip)

followed by predominantly standard, idiomatic Python 3 code that then runs
similarly on Python 2.6/2.7 and Python 3.3+.

The imports have no effect on Python 3. On Python 2, they shadow the
corresponding builtins, which normally have different semantics on Python 3
versus 2, to provide their Python 3 semantics.


Standard library reorganization
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

``future`` supports the standard library reorganization (PEP 3108) through the
following Py3 interfaces:

>>> # Top-level packages with Py3 names provided on Py2:
>>> import configparser
>>> import html.parser
>>> import queue
>>> import tkinter.dialog
>>> import xmlrpc.client
>>> # etc.
>>> # Aliases provided for extensions to existing Py2 module names:
>>> from future.standard_library import install_aliases
>>> install_aliases()
>>> from collections import Counter, OrderedDict # backported to Py2.6
>>> from collections import UserDict, UserList, UserString
>>> import urllib.request
>>> from itertools import filterfalse, zip_longest
>>> from subprocess import getoutput, getstatusoutput

Automatic conversion
--------------------

An included script called `futurize
<http://python-future.org/automatic_conversion.html>`_ aids in converting
code (from either Python 2 or Python 3) to code compatible with both
platforms. It is similar to ``python-modernize`` but goes further in
providing Python 3 compatibility through the use of the backported types
and builtin functions in ``future``.


Documentation
-------------

See: http://python-future.org


Credits
-------

:Author: Ed Schofield
:Sponsor: Python Charmers Pty Ltd, Australia, and Python Charmers Pte
Ltd, Singapore. http://pythoncharmers.com
:Others: See docs/credits.rst or http://python-future.org/credits.html


Licensing
---------
Copyright 2013-2015 Python Charmers Pty Ltd, Australia.
The software is distributed under an MIT licence. See LICENSE.txt.



@@ -0,0 +1 @@
pip
@@ -0,0 +1,104 @@
Metadata-Version: 2.0
Name: future
Version: 0.15.2
Summary: Clean single-source support for Python 3 and 2
Home-page: https://python-future.org
Author: Ed Schofield
Author-email: ed@pythoncharmers.com
License: MIT
Keywords: future past python3 migration futurize backport six 2to3 modernize pasteurize 3to2
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: License :: OSI Approved
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers

future: Easy, safe support for Python 2/3 compatibility
=======================================================

``future`` is the missing compatibility layer between Python 2 and Python
3. It allows you to use a single, clean Python 3.x-compatible codebase to
support both Python 2 and Python 3 with minimal overhead.

It is designed to be used as follows::

from __future__ import (absolute_import, division,
print_function, unicode_literals)
from builtins import (
bytes, dict, int, list, object, range, str,
ascii, chr, hex, input, next, oct, open,
pow, round, super,
filter, map, zip)

followed by predominantly standard, idiomatic Python 3 code that then runs
similarly on Python 2.6/2.7 and Python 3.3+.

The imports have no effect on Python 3. On Python 2, they shadow the
corresponding builtins, which normally have different semantics on Python 3
versus 2, to provide their Python 3 semantics.


Standard library reorganization
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

``future`` supports the standard library reorganization (PEP 3108) through the
following Py3 interfaces:

>>> # Top-level packages with Py3 names provided on Py2:
>>> import configparser
>>> import html.parser
>>> import queue
>>> import tkinter.dialog
>>> import xmlrpc.client
>>> # etc.

>>> # Aliases provided for extensions to existing Py2 module names:
>>> from future.standard_library import install_aliases
>>> install_aliases()

>>> from collections import Counter, OrderedDict # backported to Py2.6
>>> from collections import UserDict, UserList, UserString
>>> import urllib.request
>>> from itertools import filterfalse, zip_longest
>>> from subprocess import getoutput, getstatusoutput


Automatic conversion
--------------------

An included script called `futurize
<http://python-future.org/automatic_conversion.html>`_ aids in converting
code (from either Python 2 or Python 3) to code compatible with both
platforms. It is similar to ``python-modernize`` but goes further in
providing Python 3 compatibility through the use of the backported types
and builtin functions in ``future``.


Documentation
-------------

See: http://python-future.org


Credits
-------

:Author: Ed Schofield
:Sponsor: Python Charmers Pty Ltd, Australia, and Python Charmers Pte
Ltd, Singapore. http://pythoncharmers.com
:Others: See docs/credits.rst or http://python-future.org/credits.html


Licensing
---------
Copyright 2013-2015 Python Charmers Pty Ltd, Australia.
The software is distributed under an MIT licence. See LICENSE.txt.



0 comments on commit 2b55d89

Please sign in to comment.
You can’t perform that action at this time.