github.phpd.cn/thought-machine/please@v12.2.0+incompatible/third_party/python/BUILD (about) 1 subinclude('//build_defs:multiversion_wheel') 2 package( 3 default_visibility = ['PUBLIC'], 4 python_wheel_repo = 'https://get.please.build/third_party/python/py3', 5 ) 6 7 REPOS = [ 8 'https://get.please.build/third_party/python/py27', 9 'https://get.please.build/third_party/python/py34', 10 'https://get.please.build/third_party/python/py35', 11 'https://get.please.build/third_party/python/py36', 12 ] 13 14 python_wheel( 15 name = 'xmlrunner', 16 package_name = 'unittest_xml_reporting', 17 version = '1.11.0', 18 hashes = ['sha1: 62e71134eb068413e40fe4d973451c0e4931db5a'], 19 deps = [':six'], 20 ) 21 22 python_wheel( 23 name = 'six', 24 version = '1.11.0', 25 outs = ['six.py'], 26 hashes = ['sha1: a96bbdb19bd254689e8687cef85593bc6b3d9703'], 27 ) 28 29 python_wheel( 30 name = 'requests', 31 version = '2.5.0', 32 hashes = [ 33 'sha1: e43b552c4a6063d32b8c9bf742fb3e9ce579c4d8', 34 ], 35 test_only = True, 36 ) 37 38 python_wheel( 39 name = 'dateutil', 40 package_name = 'python_dateutil', 41 version = '2.4.0', 42 hashes = [ 43 'sha1: 62b97c332a2c118b8957d324d7ad3cbcc1f4f9eb', 44 ], 45 test_only = True, # Not used by plz itself. 46 deps = [':six'], 47 ) 48 49 python_wheel( 50 name = 'protobuf', 51 version = '3.4.0', 52 outs = ['google'], 53 deps = [':six'], 54 ) 55 56 python_wheel( 57 name = 'pycparser', 58 version = '2.18', 59 ) 60 61 python_multiversion_wheel( 62 name = 'coverage', 63 version = '4.3.4', 64 repos = REPOS, 65 ) 66 67 python_wheel( 68 name = 'attrs', 69 version = '17.3.0', 70 outs = ['attr'], 71 hashes = ['sha1: 8c10e615550922e4cd9a52fe7166339c8d4615fd'], 72 ) 73 74 python_wheel( 75 name = 'pluggy', 76 version = '0.6.0', 77 hashes = ['sha1: 8413e603d74392f027e8a2e87a589a4f055f2e18'], 78 ) 79 80 python_wheel( 81 name = 'py', 82 version = '1.5.2', 83 hashes = ['sha1: f63c59196e88ce403e528630a76fb3f755157625'], 84 ) 85 86 python_wheel( 87 name = 'funcsigs', 88 version = '1.0.2', 89 hashes = ['sha1: de18f4fe57b15873bae7b98ee464a4b7bd6b273a'], 90 ) 91 92 python_wheel( 93 name = 'pkg_resources', 94 package_name = 'setuptools', 95 version = '33.1.1', 96 hashes = ['sha1: 05f20a29a5dff7dd5b908afcf37c2b1bea8d3db6'], 97 ) 98 99 python_wheel( 100 name = 'pytest', 101 version = '3.3.0', 102 outs = [ 103 '_pytest', 104 'pytest.py', 105 ], 106 hashes = ['sha1: 27dbe6214cab8205259396111ed9465267de26da'], 107 deps = [ 108 ':attrs', 109 ':funcsigs', 110 ':pkg_resources', 111 ':pluggy', 112 ':py', 113 ':six', 114 ], 115 ) 116 117 pip_library( 118 name = 'numpy', 119 version = '1.14.0', 120 test_only = True, 121 zip_safe = False, 122 ) 123 124 pip_library( 125 name = "tensorflow", 126 version = "1.4.0", 127 test_only = True, 128 deps = [ 129 ":numpy", 130 ":protobuf", 131 ], 132 )