Question about PyPI and 'easy_install'

makoto kuwata kwa at kuwata-lab.com
Wed Feb 27 00:26:18 CET 2008


On 2008-02-26, Vsevolod Balashov <vsevolod.balas... at gmail.com> wrote:
>
> I`m think this patch is helpful for you
>
> ---BEGIN PATCH---
>
> --- setup.py.orig       2007-10-23 03:54:18.000000000 +0400
> +++ setup.py    2008-02-26 14:08:44.660000000 +0300
> @@ -6,12 +6,10 @@
>
>  import sys, re
> -if len(sys.argv) > 1 and sys.argv[1] == 'egg_info':
> -    from ez_setup import use_setuptools
> -    use_setuptools()
> -from distutils.core import setup
> +from ez_setup import use_setuptools
> +from setuptools import setup
>
> -name     = 'pyTenjin'
> +name     = 'Tenjin'
>  version  = '0.6.1'
>  author   = 'makoto kuwata'
>  email    = '... at kuwata-lab.com'
>
> ---END PATCH---

Thank you, Vsevolod.
Your patch shows that both project name (Tenjin) and package name
(pyTenjin)
should be the same name.
And, I'm afraid that your patch seems to require user to install
setuptools.
I want Tenjin to be install not only with easy_install but also
without
setuptools.

--
regards,
makoto kuwata




More information about the Python-list mailing list