473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Question about PyPI and 'easy_install'

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
5 2053
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Daniel Yoo | last post by:
Does anyone know why PyPI's doesn't like my PKG-INFO file? Here's what I have: ###### mumak:~/work/aho/src/python/dist/ahocorasick-0.8 dyoo$ cat PKG-INFO Metadata-Version: 1.0 Name:...
3
by: Alia Khouri | last post by:
Due to a recent site overhaul by sourceforge certain files linked to from pypi won't install. For example, in trying to install all the dependencies for the subway web framework, I got this kind of...
6
by: Caleb Hattingh | last post by:
Hi everyone I suspect this has come up before, but google and group searches for "python package index query" or "pypi query" and the like haven't turned anything up. I want to monitor the...
0
by: TiNo | last post by:
Hi, I'm having problems installing easy_install. When I run python ez_setup.py I get: G:\python>python ez_setup.py 'import site' failed; use -v for traceback Downloading...
1
by: Charles Sanders | last post by:
I am not sure if this is the right forum to ask this. If it is not, could someone pleas point me to a more appropriate newsgroup. I am attempting to install dap.plugins.netcdf using easy_install...
2
by: Mike Driscoll | last post by:
Hi, I am experimenting on creating a GUI wrapper for easy_install and I would like to be able to allow the user the browse PyPI topically. However, I am having some trouble figuring out how to...
0
by: Salim Fadhley | last post by:
A project I'm working on requires a Python egg to be deployed to a remote location which (because of a security configuration outside my control) denies users web-access but allows users access to...
1
by: dmitrey | last post by:
hi all, 1. when I commit a new release to PYPI, I can use stored data (by my browser: Name, package summary, keywords etc), but in the last line (classification) I had to chose all those lines...
1
by: dmitrey | last post by:
Hi all, how to do easy_install <some packageto source code, not egg? (I don't mean "develop" option, it shouldn't call compiled egg-file). Thank you in advance, Dmitrey.
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.