473,215 Members | 1,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,215 software developers and data experts.

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 1861
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: p cooper | last post by:
router root # perl -MCPAN -e 'install Net::SMTP' CPAN: Storable loaded ok LWP not available CPAN: Net::FTP loaded ok Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz...
1
by: Ville Walveranta | last post by:
I'm trying to get CPAN or, preferably CPANPLUS working on a dual-CPU FreeBSD 4.8 server (with plenty of free memory), and have ran into a problem that I don't appear to resolve. Either of the...
0
by: blupp | last post by:
Hi, I am trying to install the package, but get the following error: cpan> install Date::Manip Running install for module Date::Manip Running make for S/SB/SBECK/DateManip-5.42a.tar.gz LWP...
0
by: krigare | last post by:
CPAN 1.76 ncftp 3.1.7 Redhat 9 I am behind a firewall. I do have ncftp configured to handle the firewall settings. In fact I can manually (from the command line) do: #> ncftpget...
0
by: simon | last post by:
Hi I am trying to install MIME::Base64 and MIME::QuotedPrint using CPAN on Suse 9.1. Suse comes with Perl v5.8.3 already installed. The error message I receive is as follows: ...
7
by: chandru1782 | last post by:
Dear friends, I am trying to use CPAN for installing some perl modules. i am using a ubuntu system, which has internet connection through lan and authenticated proxy. when trying to install...
1
numberwhun
by: numberwhun | last post by:
Ok, I have an issue and I am not sure what is causing it. I am working on a Fedora Core 7 Linux machine (my laptop). I have not had any problems with installing modules via CPAN. All has...
1
by: spatro | last post by:
Hi, I am trying to install DBD::mysql using the CPAN and I am facing the following error: cpan> install DBD::mysql CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Warning:...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.