473,842 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.par se('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 2074
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...@o ptushome.com.au wrote:
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.000000 000 +0400
+++ setup.py 2008-02-26 14:08:44.660000 000 +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.comwr ote:
>
I`m think this patch is helpful for you

---BEGIN PATCH---

--- setup.py.orig * * * 2007-10-23 03:54:18.000000 000 +0400
+++ setup.py * *2008-02-26 14:08:44.660000 000 +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
1477
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: ahocorasick Version: 0.8 Summary: Aho-Corasick automaton implementation Home-page: http://hkn.eecs.berkeley.edu/~dyoo/python/ahocorasick/
3
1450
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 error: <snip> .. .. .. Searching for CherryPy>=2.1.0-rc1 Reading http://www.python.org/pypi/CherryPy/
6
1375
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 versions of the list of packages I like having around, and I expect that the python package index might be a good place to do this. Typically, such packages would include, say, Pyrex and PyParsing, for example.
0
3444
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 http://cheeseshop.python.org/packages/2.5/s/setuptools/setuptools-0. 6c3-py2.5.egg Processing setuptools-0.6c3-py2.5.egg
1
1718
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 on HP-UX 11. As a user, I do not have access to root so have followed the easy_install recommendation to set up a "virtual" python, as described at http://peak.telecommunity.com/DevCenter/EasyInstall#creating-a-virtual-python
2
2966
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 get the information in a topical manner. I can get the list of classifiers easily using urllib2 like so: def getPyPiClassifiers():
0
1127
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 networked file-systems. It has been proposed that rather than creating a web- repository for python eggs we store these on a local file-server. Has anybody had any luck using the --find_options argument to easy_install with a local folder (e.g....
1
1306
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 from the very beginning, moreover, if I click at one of them without pressing "CTRL" all my choices drops & I have to type it from the very beginning (I use Mozilla Firefox 3.0 but I don't think it's the matter). 2. Another issue: I have...
1
1973
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
9872
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9715
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10945
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10672
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9453
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7038
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5696
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3145
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.