mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
build fiddling
This commit is contained in:
+15
-1
@@ -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’t have one or don’t know what that means, don’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>⁂
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user