something like CPAN, PPMs?

A

Alex Gittens

I'm new to Python from Perl, and loving it. Has there ever been any
discussion of creating a similar resource as CPAN for Python, or a
similar distribution method as PPMs? Seems like it would make a great
language even better.

Alex
 
H

Harry George

Alex Gittens said:
I'm new to Python from Perl, and loving it. Has there ever been any
discussion of creating a similar resource as CPAN for Python, or a
similar distribution method as PPMs? Seems like it would make a great
language even better.

Alex

CPAN:
1. A lot of the CPAN subject matter is in the base python installation.

2. Much of the remainder is associated with projects which are doing
something else and happen to provide python bindings.

3. That leaves python-specific libraries as
candidates for a CPAN. See:
http://www.python.org/pypi
(see also http://www.python.org/sigs/catalog-sig/)
http://www.vex.net/parnassus/ (the original classic)

PPM:
The typical python install is:
a) unzip and untar
b) run "python setup.py install"

So what you are looking for is setup.py, and its module, distutils
http://docs.python.org/lib/module-distutils.html
 
M

Michael Hoffman

Alex said:
I'm new to Python from Perl, and loving it. Has there ever been any
discussion of creating a similar resource as CPAN for Python,

PyPI.
 
M

Maurice LING

Hi Alex,

I am actually working on something like that as an academic project. At
this stage, at least for the purpose of my scope, it will not be as
extensive as CPAN but a set of mechanisms for the same effect for Python.

maurice
 
D

deelan

Maurice said:
Hi Alex,

I am actually working on something like that as an academic project. At
this stage, at least for the purpose of my scope, it will not be as
extensive as CPAN but a set of mechanisms for the same effect for Python.

don't foget to keep an eye on python's eggs:

<http://peak.telecommunity.com/DevCenter/PythonEggs>

and related blog posts:

<http://dirtsimple.org/2005/05/eggs-get-closer-to-hatching.html>
<http://dirtsimple.org/2005/05/dirt-simple-download-and-install-cpan.html>
<http://dirtsimple.org/2005/05/easyinstall-new-era-in-python-package.html>

HTH.
 
M

Maurice LING

deelan said:

Thanks,

I think PythonEggs will have increasing effect in the future as Python
is moving more towards enterprise development, as what we hope to see.
Although it is stated in their website that using PythonEggs does not
automatically confer platform-independence, it might still be a good way
for enterprises, especially on the reverse engineering issue.

My approach now is to work out a prototype system that is made as a 3rd
party installation process for my software. My software requires tools
like PLY, SciPy etc etc. My idea is that by doing "python setup.py
install" to install my stuffs, a function in setup.py calls a system (in
my software, call it centipyde) and installs the pre-requisites as
required. "Centipyde" can then be developed into a better management tool.

As I've posted in many mailing lists, I've intended this to be an
academic project (any other contradictory decisions made will be
announced). However, I do welcome opinions.

Cheers
Maurice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,240
Messages
2,571,211
Members
47,848
Latest member
Alfonso227

Latest Threads

Top