[Distutils] Problems using easy_install to download my module
P.J. Eby
pje at telecommunity.com
Wed Feb 18 16:34:17 CET 2009
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 at 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 at python.org
>http://mail.python.org/mailman/listinfo/distutils-sig
More information about the Distutils-SIG
mailing list