Skip to content

Commit fa30eda

Browse files
committed
add py3.x requirement for affiliated package standards
1 parent a82a6c5 commit fa30eda

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

affiliated/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ <h2>Becoming an Affiliated Package</h2>
186186
<li>The package developer(s) should make an effort to connect with the Astropy developer community, including developers from the core astropy package or any related affiliated packages.</li>
187187

188188
<li>While not a strict requirement, we also provide <a href="http://docs.astropy.org/en/stable/development/codeguide.html">coding guidelines</a> that will make your code easier to read by members of the community.</li>
189+
190+
<li>We strongly encourage affiliated packages be compatible with Python 3.x. Tips for how to acheive this are given in the <a href="http://docs.astropy.org/en/stable/development/codeguide.html#writing-portable-code-for-python-2-and-3"> revelant section of the coding guidelines</a>. The recommended route is to use <a href="http://pythonhosted.org/six/">six</a>, which can be imported as "<code>from astropy.extern import six</code>" to avoid introducing an explicit dependency on six.</li>
189191
</ul>
190192
</p>
191193

css/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ body{
5454
font-family: 'Open Sans', sans-serif;
5555
}
5656

57+
code {
58+
font-family: monospace;
59+
}
60+
5761
/* This file is in the public domain because it was created by NASA
5862
and ESA. The material was created for NASA by Space Telescope Science
5963
Institute under Contract NAS5-26555, or for ESA by the Hubble European

0 commit comments

Comments
 (0)