Problems using easy_install to download my module
![](https://secure.gravatar.com/avatar/31c2e5ce8054f02a2f77d588286af078.jpg?s=120&d=mm&r=g)
Hi, I've just registered 'copad' module with CheeseShop and tried to use easy_install to test but unsuccessful... witht he following error... ML-iB:/sw/lib/python2.5/site-packages mauriceling$ sudo easy_install copads Searching for copads Reading http://pypi.python.org/simple/copads/ Reading http://www.sourceforge.net/projects/copads No local packages or download links found for copads error: Could not find suitable distribution for Requirement.parse('copads') Here is my setup.py from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup(name='copads', version='0.1', description='Collection of Python Algorithms and Data Structures', long_description='Collection of Python Algorithms and Data Structures', author='Maurice HT Ling', author_email='mauriceling@acm.org', url='http://www.sourceforge.net/projects/copads', license = 'GNU General Public License version 2', platform = 'OS independent', package_dir = {'copads' : 'src', 'copads.test' : 'test'}, packages = ['copads', 'copads.test'], classifiers=['Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU General Public License (GPL)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Topic :: Scientific/Engineering :: Mathematics', 'Topic :: Software Development :: Libraries :: Python Modules' ], ) Any suggestions? Thanks ML -- Maurice LING, BSc(Hons)(Biochem), BSc(Comp), FIFA, MACM Lecturer, Chemical and Life Sciences, Singapore Polytechnic Co-Editor-in-Chief, The Python Papers Anthology Firebird Foundation Committee Member Secretary, University of Melbourne Alumni Association (Singapore) mobile: +6596669233, +6568707927 resume: http://maurice.vodien.com/maurice_resume.pdf www: http://maurice.vodien.com
![](https://secure.gravatar.com/avatar/eaa875d37f5e9ca7d663f1372efa1317.jpg?s=120&d=mm&r=g)
Seems to work fine for me. Perhaps you hadn't uploaded the source at that point? If you want to use SourceForge's download system, you need to include a link to the files-listing page as your downloads URL, as easy_install doesn't follow arbitrary links, it just picks up *direct* download links on the pages specified as the URL and download URL of your package in setup.py. At 10:06 PM 2/18/2009 +0800, Maurice Ling wrote:
Hi,
I've just registered 'copad' module with CheeseShop and tried to use easy_install to test but unsuccessful... witht he following error...
ML-iB:/sw/lib/python2.5/site-packages mauriceling$ sudo easy_install copads Searching for copads Reading http://pypi.python.org/simple/copads/ Reading http://www.sourceforge.net/projects/copads No local packages or download links found for copads error: Could not find suitable distribution for Requirement.parse('copads')
Here is my setup.py
from ez_setup import use_setuptools use_setuptools()
from setuptools import setup, find_packages
setup(name='copads', version='0.1', description='Collection of Python Algorithms and Data Structures', long_description='Collection of Python Algorithms and Data Structures', author='Maurice HT Ling', author_email='mauriceling@acm.org', url='http://www.sourceforge.net/projects/copads', license = 'GNU General Public License version 2', platform = 'OS independent', package_dir = {'copads' : 'src', 'copads.test' : 'test'}, packages = ['copads', 'copads.test'], classifiers=['Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU General Public License (GPL)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Topic :: Scientific/Engineering :: Mathematics', 'Topic :: Software Development :: Libraries :: Python Modules' ], )
Any suggestions?
Thanks ML
-- Maurice LING, BSc(Hons)(Biochem), BSc(Comp), FIFA, MACM Lecturer, Chemical and Life Sciences, Singapore Polytechnic Co-Editor-in-Chief, The Python Papers Anthology Firebird Foundation Committee Member Secretary, University of Melbourne Alumni Association (Singapore) mobile: +6596669233, +6568707927 resume: http://maurice.vodien.com/maurice_resume.pdf www: http://maurice.vodien.com
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
![](https://secure.gravatar.com/avatar/9381c7f1185e9c17527fccef45bdc09c.jpg?s=120&d=mm&r=g)
On Wed, Feb 18, 2009 at 10:34:17AM -0500, P.J. Eby wrote:
Seems to work fine for me. Perhaps you hadn't uploaded the source at that point?
If you want to use SourceForge's download system,
/me cringes from the memory IMHO using 'python setup.py sdist register upload' for releasing & uploading Python packages is most convenient both for the author, and for the users. Marius Gedminas -- The moral of the story is that with a contrived example, you can prove anything. Oops. No, that's not what I meant to say. -- Joel Spolski
participants (3)
-
Marius Gedminas
-
Maurice Ling
-
P.J. Eby