Differences between revisions 12 and 13
Revision 12 as of 2010-04-09 08:42:59
Size: 2242
Editor: 123
Comment:
Revision 13 as of 2010-04-09 10:04:12
Size: 2227
Editor: 101
Comment: Fix some typos
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * Describe the resources files and the python files using a [resources] section in setup.cfg : http://bugs.python.org/issue8253
 * write a configure command: http://bugs.python.org/issue8254
 * write a tutorial: http://bugs.python.org/issue8255
 * promote and evangelize Distutils2  This will consist of helping python project to switch/adopt Distutils2.
 We will define a list of targets at the beginning and the student will be in charge of helping them switching to
 Distutils2 if they want.
 
* add a post/pre commit hook for install and uninstall commands: http://bugs.python.org/issue8312
 * make sure distutils2 works under Py3
 * move the code from distribute to distutils2 (upload_doc, use_2to3)
 * Describe the resources files and the Python files using a [resources] section in setup.cfg: http://bugs.python.org/issue8253
 * Write a configure command: http://bugs.python.org/issue8254
 * Write a tutorial: http://bugs.python.org/issue8255
 * Promote and evangelize Distutils2–This will consist of helping python project to switch to/adopt Distutils2.
 We will define a list of targets at the beginning and the student will be in charge of helping them switching to Distutils2 if they want.
 * Add a post/pre commit hook for install and uninstall commands: http://bugs.python.org/issue8312
 * Make sure distutils2 works under Py3
 * Move the code from distribute to distutils2 (upload_doc, use_2to3)
Line 19: Line 18:
 * add a test command: http://bugs.python.org/issue8324  * Add a test command: http://bugs.python.org/issue8324
Line 25: Line 24:
 * provide a XML-RPC client that knows how to list all releases of a given project at PyPI (no need to implement the whole
 
XML-RPC spec, but think about this as something we can reuse later during the GSOC, to implement the whole XML-RPC spec)
 * provide a XML-RPC client that knows how to list all releases of a given project at PyPI (no need to implement the whole XML-RPC spec, but think about this as something we can reuse later during the GSOC, to implement the whole XML-RPC spec)
Line 28: Line 26:
 * provide a script called "install_distribution.py" that will be used to download the distribution and install it,
 
using "python setup.py install"
 * provide a script called "install_distribution.py" that will be used to download the distribution and install it, using "python setup.py install"
Line 35: Line 32:
  Founded versions of Foo:   Found versions of Foo:
Line 38: Line 35:
  Which version do you want to install (hit enter for None) ? :   Which version do you want to install (hit enter for None)?
Line 41: Line 38:
 or :  or:

This page describes a possible Summer of Code project for Distutils2

Contact: Tarek Ziadé <tarek@ziade.org>

GSOC Tasks

Coding task -- Deadline: April 17th

Write a small Python application that will do the following:

  • provide a XML-RPC client that knows how to list all releases of a given project at PyPI (no need to implement the whole XML-RPC spec, but think about this as something we can reuse later during the GSOC, to implement the whole XML-RPC spec)
  • provide a script called "install_distribution.py" that will be used to download the distribution and install it, using "python setup.py install"

The CLI can be used like this:

  $ install_distribution.py Foo
  Found versions of Foo:
        1.1
        1.2
  Which version do you want to install (hit enter for None)?
  • or:

  $ install_distribution.py Foo 1.1 

The code should be unit-tested, and documented. The goal is not to make you write something you don't know how to write, but to see how you write/organize code to help me select the student. So, I am available online for any question help.

SummerOfCode/Distutils2 (last edited 2010-08-03 23:41:51 by 5)

Unable to edit the page? See the FrontPage for instructions.