469,917 Members | 1,937 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

something like CPAN, PPMs?

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
--
http://tangentspace.net/cz
Jul 19 '05 #1
5 1727
Alex Gittens <sw******@gmail.com> writes:
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
--
http://tangentspace.net/cz


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


--
ha************@boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 294-4718
Jul 19 '05 #2
Alex Gittens wrote:
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.
--
Michael Hoffman
Jul 19 '05 #3
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

Alex Gittens wrote:
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

Jul 19 '05 #4
Maurice LING wrote:
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.

--
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<#me> a foaf:Person ; foaf:nick "deelan" ;
foaf:weblog <http://blog.deelan.com/> .
Jul 19 '05 #5
deelan wrote:
Maurice LING wrote:
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.


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
Jul 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by p cooper | last post: by
1 post views Thread by Ville Walveranta | last post: by
reply views Thread by blupp | last post: by
reply views Thread by krigare | last post: by
reply views Thread by simon | last post: by
numberwhun
1 post views Thread by numberwhun | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.