Lines Matching +full:test +full:- +full:wheel
7 # http://www.apache.org/licenses/LICENSE-2.0
24 # Re-export as public API
40 name_file = ctx.attr.wheel[PyWheelInfo].name_file
41 wheel = ctx.attr.wheel[PyWheelInfo].wheel
44 args.add("--wheel", wheel)
45 args.add("--name_file", name_file)
46 args.add("--output", out.path)
51 inputs = [wheel, name_file],
66 See https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-ar…
67 which recommends a dist/ folder containing the wheel file(s), source distributions, etc.
69 This also has the advantage that stamping information is included in the wheel's filename.
77 "wheel": attr.label(
95 """Builds a Python Wheel.
97 Wheels are Python distribution format defined in https://www.python.org/dev/peps/pep-0427/.
99 This macro packages a set of targets into a single wheel.
102 Currently only pure-python wheels are supported.
110 # Package data. We're building "example_minimal_library-0.0.1-py3-none-any.whl"
115 "//examples/wheel/lib:module_with_data",
116 "//examples/wheel/lib:simple_module",
125 packages = ["examples.wheel"],
131 # Package data. We're building "example_minimal_package-0.0.1-py3-none-any.whl"
139 To publish the wheel to PyPI, the twine package is required and it is installed
158 Now you can run a command like the following, which publishes to https://test.pypi.org/
161 % TWINE_USERNAME=__token__ TWINE_PASSWORD=pypi-*** \\
162 bazel run --stamp --embed_label=1.2.4 -- \\
163 //path/to:my_wheel.publish --repository testpypi
170 … publish_args: arguments passed to twine, e.g. ["--repository-url", "https://pypi.my.org/simple/"].
181 wheel = name,