blob: 97911f94e9c2044fddb8ffe22f3e2ac6a5913bda [file] [log] [blame]
<!--
Documentation generated by Skydoc
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>python Rules</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700" type="text/css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.1.1/material.green-light_blue.min.css">
<script defer src="https://code.getmdl.io/1.1.1/material.min.js"></script>
<link rel="stylesheet" href="./main.css">
</head>
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer
mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<span class="mdl-layout-title">python Rules</span>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">Bazel</span>
<nav class="drawer-nav">
<ul class="drawer-nav">
<li><a href="./index.html">Overview</a></li>
<li>
<a href="./python/pip.html">Import pip requirements into Bazel.</a>
<ul>
</ul>
</li>
<li><a href="./index.html">Overview</a></li>
<li>
<a href="./python/python.html">python Rules</a>
<ul>
</ul>
</li>
<li><a href="./index.html">Overview</a></li>
<li>
<a href="./python/whl.html">Import .whl files into Bazel.</a>
<ul>
</ul>
</li>
</ul>
</nav>
</div>
<main class="mdl-layout__content">
<div class="page-content">
<h1>python Rules</h1>
<nav class="toc">
<h2>Macros</h2>
<ul>
<li><a href="#py_library">py_library</a></li>
<li><a href="#py_binary">py_binary</a></li>
<li><a href="#py_test">py_test</a></li>
</ul>
</nav>
<hr>
<h2 id="py_library">py_library</h2>
<pre>py_library()</pre>
<p>See the Bazel core py_library documentation.</p>
<p><a href="https://docs.bazel.build/versions/master/be/python.html#py_library">available here</a>.</p>
<hr>
<h2 id="py_binary">py_binary</h2>
<pre>py_binary()</pre>
<p>See the Bazel core py_binary documentation.</p>
<p><a href="https://docs.bazel.build/versions/master/be/python.html#py_binary">available here</a>.</p>
<hr>
<h2 id="py_test">py_test</h2>
<pre>py_test()</pre>
<p>See the Bazel core py_test documentation.</p>
<p><a href="https://docs.bazel.build/versions/master/be/python.html#py_test">available here</a>.</p>
</div>
<footer class="mdl-mini-footer">
<div class="mdl-mini-footer__left-section">
<div class="mdl-logo">Bazel</div>
<ul class="mdl-mini-footer__link-list">
<li><a href="http://bazel.io">Home</a></li>
<li><a href="https://github.com/bazelbuild">GitHub</a></li>
</ul>
</div>
</footer>
</main>
</div>
</body>
</html>