Fix setup.py
- Setup needs future module, install future using pip if not available.
This commit is contained in:
		
							
								
								
									
										19
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								setup.py
									
									
									
									
									
								
							| @@ -1,10 +1,3 @@ | ||||
| from __future__ import unicode_literals | ||||
| from __future__ import print_function | ||||
| from __future__ import division | ||||
| from __future__ import absolute_import | ||||
| from future import standard_library | ||||
| standard_library.install_aliases() | ||||
| from builtins import object | ||||
| #!/usr/bin/env python | ||||
| # Licensed under the Apache License, Version 2.0 (the 'License'); | ||||
| # you may not use this file except in compliance with the License. | ||||
| @@ -20,11 +13,23 @@ from builtins import object | ||||
| # limitations under the License. | ||||
|  | ||||
| # THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT | ||||
| from __future__ import unicode_literals | ||||
| from __future__ import print_function | ||||
| from __future__ import division | ||||
| from __future__ import absolute_import | ||||
| import os | ||||
| import sys | ||||
| import fileinput | ||||
| import re | ||||
| import pprint | ||||
| from subprocess import check_call | ||||
| try: | ||||
|     from future import standard_library | ||||
| except ImportError: | ||||
|     check_call(["pip", "install", "future"]) | ||||
|     from future import standard_library | ||||
| standard_library.install_aliases() | ||||
| from builtins import object | ||||
| import distutils | ||||
| import configparser | ||||
| import setuptools | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Uggla
					Uggla