1. Tarek Ziadé
  2. distribute
Issue #85 resolved

Docs: recommended developer usage

Florian Schulze
created an issue

The documentation should be changed to prevent bad habits from being adopted. At this point it should still be possible to choose between setuptools and distribute.

If you just want to create an egg, you should use this:

{{{ from setuptools import setup

setup(... ) }}}

If you want to use pkg_resources to access data files in the egg, you should use this:

{{{ from setuptools import setup

setup(... install_requires=['setuptools'] ) }}}

If you want to use a feature which is only available in distribute, then you should add a dependency on that one instead:

{{{ from setuptools import setup

setup(... install_requires=['distribute'] ) }}}

This way the user still has the choice and isn't forced to decide between setuptools and distribute just yet or may even be stuck due to unnecessary conflicts.

Comments (1)

  1. Log in to comment