how to create a pip package
floris.bruynooghe at gmail.com
Tue Nov 10 17:06:33 CET 2009
On Nov 10, 2:30 pm, Phlip <phlip2... at gmail.com> wrote:
> On Nov 10, 1:54 am, Wolodja Wentland <wentl... at cl.uni-heidelberg.de>
> 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
> 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 setup.py. What is the
> absolute simplest setup.py 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