build fiddling

This commit is contained in:
Mark Pilgrim
2009-07-31 00:45:25 -04:00
parent bad6a780a7
commit e6cd736dd2
2 changed files with 18 additions and 1 deletions
+15 -1
View File
@@ -470,19 +470,33 @@ removing 'build\bdist.win32\wininst' (and everything under it)</samp>
<h2 id=pypi>Adding Your Package to The Python Package Index</h2>
<p>FIXME
<h3 id=register-user>Registering Yourself</h3>
<pre>
http://pypi.python.org/pypi?:action=register_form
</pre>
<p>Enter your desired username and password, provide a valid email address, and click the <code>Register</code> button. (If you have a <abbr>PGP</abbr> or <abbr>GPG</abbr> key, you can also provide that. If you don&#8217;t have one or don&#8217;t know what that means, don&#8217;t worry about it.) Check your email; within a few minutes, you should receive a message from PyPI with a validation link. Click the link to complete the registration process.
<h3 id=register-package>Registering Your Package</h3>
<p>FIXME
<h3 id=upload>Uploading New Versions</h3>
<p>FIXME
<pre>
@jessenoller sez:
* distutils, how to make a setup.py (and include data files, tests, docs, etc for a project)
* how to upload it to pypi properly (label it for python 3 for the love of pete)
* how to build build bdist/RPMs/DEBs.
* If you can - and I've forgotten how much distutils supports of this, cover dependency management.
* Oh, I almost forgot - cover the Per-User Site packages stuff, PEP 370
* <mark>Oh, I almost forgot - cover the Per-User Site packages stuff, PEP 370</mark>
</pre>
<p class=a>&#x2042;
+3
View File
@@ -2,6 +2,7 @@
die () {
echo "$1" >/dev/stderr
Snarl_CMD snShowMessage 10 "Dive Into Python 3" "$1." "C:\Users\pilgrim\site-lisp\todochiku-icons\alert.png"
exit 1
}
@@ -86,3 +87,5 @@ rsync -essh -a build/i/* build/i/.htaccess diveintomark.org:~/web/wearehugh.com/
echo -n "." && \
rsync -essh -a build/examples build/*.txt build/*.html build/.htaccess diveintomark.org:~/web/diveintopython3.org/ && \
echo "." || die "Failed to publish to remote server"
Snarl_CMD snShowMessage 10 "Dive Into Python 3" "Published." "C:\Users\pilgrim\site-lisp\todochiku-icons\clean.png"