how to create a pip package

Floris Bruynooghe floris.bruynooghe at
Tue Nov 10 17:06:33 CET 2009

On Nov 10, 2:30 pm, Phlip <phlip2... at> wrote:
> On Nov 10, 1:54 am, Wolodja Wentland <wentl... at>
> wrote:
> >
> >
> ktx... now some utterly retarded questions to prevent false starts.
> the distutils page starts with "from distutils.core import setup".
> but a sample project on github, presumably a pippable project, starts
> with:
>     from setuptools import setup, find_packages
> (and it also has ez_setup())
> I don't foresee my project growing larger than one* file any time
> soon. 'pip freeze' prob'ly won't write a What is the
> absolute simplest to stick my project on the PYTHONPATH, and
> be done with it?

Do what the distutils page says, setuptools tries to extend distutils
with many fancy things but if you don't need those (and that's what it
sounds like) then sticking to distutils is better as you only require
the python stdlib.


More information about the Python-list mailing list