By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,939 Members | 1,546 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,939 IT Pros & Developers. It's quick & easy.

Question about PyPI and 'easy_install'

P: n/a
Hi,

I have a trouble around PyPI and easy_install.

I have developed OSS (Tenjin) and registered it to PyPI.
http://pypi.python.org/pypi/Tenjin/0.6.1

But I can't install it by 'easy_install' command.

$ easy_install Tenjin
Searching for Tenjin
Reading http://pypi.python.org/simple/Tenjin/
Reading http://www.kuwata-lab.com/tenjin/
No local packages or download links found for Tenjin
error: Could not find suitable distribution for
Requirement.parse('Tenjin')

This error reports that download link is not found,
but download url is described in the above web page.

Could you help me why the above error happen?
Is it required to set registered name (Tenjin) and
package name (pyTenjin) into same name?

--
makoto kuwata

Feb 25 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
makoto kuwata wrote:
Is it required to set registered name (Tenjin) and
package name (pyTenjin) into same name?
Yes.

How did you upload those files with a different name to that pypi package?
Richard

Feb 25 '08 #2

P: n/a
On 2008-02-25, Richard Jones <richardjo...@optushome.com.auwrote:
makoto kuwata wrote:
Is it required to set registered name (Tenjin) and
package name (pyTenjin) into same name?

Yes.
Thank you, Richard.
Your answer helps me very much.

How did you upload those files with a different name to that pypi package?
I have no magic. I uploaded file via uploader page of PyPI.

--
regards,
makoto kuwata

Feb 25 '08 #3

P: n/a
On Feb 24, 10:38 pm, makoto kuwata <k...@kuwata-lab.comwrote:
Hi,

I have a trouble around PyPI and easy_install.

I have developed OSS (Tenjin) and registered it to PyPI.http://pypi.python.org/pypi/Tenjin/0.6.1

But I can't install it by 'easy_install' command.
Hi!

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 = 'k**@kuwata-lab.com'

---END PATCH---
PS Thank you for excellent job.

--
Vsevolod Balashov
http://vsevolod.balashov.name
Feb 26 '08 #4

P: n/a
On 2008-02-26, Vsevolod Balashov <vsevolod.balas...@gmail.comwrote:
>
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 * *= '...@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

Feb 26 '08 #5

P: n/a
makoto kuwata wrote:
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.
You should be able to just change the name and not need to use setuptools in
the setup.py
Richard
Feb 28 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.