You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
7.7 KiB
111 lines
7.7 KiB
<html>
|
|
<head>
|
|
<title>Pixywerk2 Code Test Post</title>
|
|
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
|
|
<header><img src="../images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>
|
|
Pixywerk
|
|
</h1></header>
|
|
|
|
|
|
<article class="post">
|
|
<div class="featured">
|
|
<h1>Code Test Post</h1>
|
|
<img src="../images/2019-05-19.png" class="featured">
|
|
</div>
|
|
<div class="byline">
|
|
<p>Author: Cas Rusnov<br>
|
|
Published: 2019-05-20T06:31:37.352443+00:00
|
|
|
|
</p>
|
|
</div>
|
|
<div class="article">
|
|
|
|
<p>This is a code test post! Let's format some code!!</p>
|
|
|
|
|
|
<div class="code">
|
|
Some python code:
|
|
<div class="highlight"><pre><span></span><span class="sd">"""Package configuration."""</span>
|
|
<span class="kn">from</span> <span class="nn">setuptools</span> <span class="kn">import</span> <span class="n">find_packages</span><span class="p">,</span> <span class="n">setup</span>
|
|
|
|
<span class="n">LONG_DESCRIPTION</span> <span class="o">=</span> <span class="s2">"""Pixywerk 2 is a filesystem based static site generator."""</span>
|
|
|
|
<span class="n">INSTALL_REQUIRES</span> <span class="o">=</span> <span class="p">[</span><span class="s2">"yaml-1.3"</span><span class="p">,</span> <span class="s2">"markdown"</span><span class="p">,</span> <span class="s2">"jstyleson"</span><span class="p">,</span> <span class="s2">"jinja2"</span><span class="p">,</span> <span class="s2">"pygments"</span><span class="p">]</span>
|
|
|
|
<span class="c1"># Extra dependencies</span>
|
|
<span class="n">EXTRAS_REQUIRE</span> <span class="o">=</span> <span class="p">{</span>
|
|
<span class="c1"># Test dependencies</span>
|
|
<span class="s2">"tests"</span><span class="p">:</span> <span class="p">[</span>
|
|
<span class="s2">"black"</span><span class="p">,</span>
|
|
<span class="s2">"bandit>=1.1.0"</span><span class="p">,</span>
|
|
<span class="s2">"flake8>=3.2.1"</span><span class="p">,</span>
|
|
<span class="s2">"mypy>=0.470"</span><span class="p">,</span>
|
|
<span class="s2">"prospector[with_everything]>=0.12.4"</span><span class="p">,</span>
|
|
<span class="s2">"pytest-cov>=1.8.0"</span><span class="p">,</span>
|
|
<span class="s2">"pytest-xdist>=1.15.0"</span><span class="p">,</span>
|
|
<span class="s2">"pytest>=3.0.3"</span><span class="p">,</span>
|
|
<span class="s2">"sphinx_rtd_theme>=0.1.6"</span><span class="p">,</span>
|
|
<span class="s2">"sphinx-argparse>=0.1.15"</span><span class="p">,</span>
|
|
<span class="s2">"Sphinx>=1.4.9"</span><span class="p">,</span>
|
|
<span class="p">]</span>
|
|
<span class="p">}</span>
|
|
|
|
<span class="n">SETUP_REQUIRES</span> <span class="o">=</span> <span class="p">[</span><span class="s2">"pytest-runner>=2.7.1"</span><span class="p">,</span> <span class="s2">"setuptools_scm>=1.15.0"</span><span class="p">]</span>
|
|
<span class="n">setup</span><span class="p">(</span>
|
|
<span class="n">author</span><span class="o">=</span><span class="s2">"Cassowary Rusnov"</span><span class="p">,</span>
|
|
<span class="n">author_email</span><span class="o">=</span><span class="s2">"rusnovn@gmail.com"</span><span class="p">,</span>
|
|
<span class="n">classifiers</span><span class="o">=</span><span class="p">[</span>
|
|
<span class="s2">"Development Status :: 1 - Pre-alpha"</span><span class="p">,</span>
|
|
<span class="s2">"Environment :: Console"</span><span class="p">,</span>
|
|
<span class="s2">"License :: OSI Approved :: MIT"</span><span class="p">,</span>
|
|
<span class="s2">"Operating System :: POSIX :: Linux"</span><span class="p">,</span>
|
|
<span class="s2">"Programming Language :: Python :: 3.6"</span><span class="p">,</span>
|
|
<span class="s2">"Programming Language :: Python :: 3.7"</span><span class="p">,</span>
|
|
<span class="s2">"Programming Language :: Python :: 3 :: Only"</span><span class="p">,</span>
|
|
<span class="s2">"Topic :: Software Development :: Libraries :: Python Modules"</span><span class="p">,</span>
|
|
<span class="p">],</span>
|
|
<span class="n">description</span><span class="o">=</span><span class="s2">"A filesystem-based website generator / CMS"</span><span class="p">,</span>
|
|
<span class="c1"># entry_points={</span>
|
|
<span class="c1"># 'console_scripts': [</span>
|
|
<span class="c1"># 'cookbook = spicerack.cookbook:main',</span>
|
|
<span class="c1"># ],</span>
|
|
<span class="c1"># },</span>
|
|
<span class="n">include_package_data</span><span class="o">=</span><span class="bp">True</span><span class="p">,</span>
|
|
<span class="n">extras_require</span><span class="o">=</span><span class="n">EXTRAS_REQUIRE</span><span class="p">,</span>
|
|
<span class="n">install_requires</span><span class="o">=</span><span class="n">INSTALL_REQUIRES</span><span class="p">,</span>
|
|
<span class="n">keywords</span><span class="o">=</span><span class="p">[</span><span class="s2">"cms"</span><span class="p">,</span> <span class="s2">"website"</span><span class="p">,</span> <span class="s2">"compiler"</span><span class="p">],</span>
|
|
<span class="n">license</span><span class="o">=</span><span class="s2">"MIT"</span><span class="p">,</span>
|
|
<span class="n">long_description</span><span class="o">=</span><span class="n">LONG_DESCRIPTION</span><span class="p">,</span>
|
|
<span class="n">name</span><span class="o">=</span><span class="s2">"pixywerk2"</span><span class="p">,</span>
|
|
<span class="n">packages</span><span class="o">=</span><span class="n">find_packages</span><span class="p">(</span><span class="n">exclude</span><span class="o">=</span><span class="p">[</span><span class="s2">"*.tests"</span><span class="p">,</span> <span class="s2">"*.tests.*"</span><span class="p">]),</span>
|
|
<span class="n">platforms</span><span class="o">=</span><span class="p">[</span><span class="s2">"GNU/Linux"</span><span class="p">],</span>
|
|
<span class="n">setup_requires</span><span class="o">=</span><span class="n">SETUP_REQUIRES</span><span class="p">,</span>
|
|
<span class="n">use_scm_version</span><span class="o">=</span><span class="bp">True</span><span class="p">,</span>
|
|
<span class="n">url</span><span class="o">=</span><span class="s2">"https://git.antpanethon.com/cas/pixywerk2"</span><span class="p">,</span>
|
|
<span class="n">zip_safe</span><span class="o">=</span><span class="bp">False</span><span class="p">,</span>
|
|
<span class="p">)</span>
|
|
</pre></div>
|
|
|
|
</div>
|
|
</div>
|
|
</article>
|
|
|
|
|
|
<nav><ul>
|
|
<li>Documentation</li>
|
|
<li>Blog</li>
|
|
<li><a href="https://git.antpantheon.com/cas/pixywerk2">Gitea<img src="../images/link-box-variant.svg"></a></li>
|
|
<li><a href="https://www.github.com/chaomodus/pixywerk2">Github<img src="../images/link-box-variant.svg"></a></li>
|
|
</ul></nav>
|
|
|
|
|
|
<footer>Copyright © 2019 by Cas Rusnov <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
|
|
</footer>
|
|
|
|
</div>
|
|
</body>
|
|
</html> |