473,545 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1885
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.telecommun ity.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.telecommun ity.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
12589
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 Couldn't fetch 01mailrc.txt.gz from ftp.perl.org Trying with "/usr/bin/lynx -source" to get ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
1
2480
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 utilities experiences a core dump during it's operation: Output from CPAN: --- cpan shell -- CPAN exploration and modules installation (v1.61)...
0
6420
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 not available Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/authors/id/S/SB/SBECK/DateManip-5.42a.tar.gz
0
2549
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 ftp.sedl.org/pub/mirrors/CPAN/MIRRORED.BY (The above command works fine)
0
3550
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: MOOSE:/usr/local/cpanSGH # perl -MCPAN -e "install 'MIME::Base64'" CPAN: Storable loaded ok Going to read /usr/local/cpanSGH/Metadata Database was generated on...
7
40947
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 cpan.pm , it gives the following error, can any one help, You have no /root/.cpan/sources/MIRRORED.BY I'm trying to fetch one CPAN: LWP::UserAgent...
1
2390
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 installed fine since I initially configured the interface. Welll, I got home today, tried to install the BUndle::CPAN module, and here is what was kicked...
1
4323
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: Found only 0 objects in /root/.cpan/Metadata CPAN: LWP::UserAgent loaded ok
0
7409
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7664
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7921
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7771
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5982
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5343
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1900
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
720
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.