473,394 Members | 1,841 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,394 software developers and data experts.

plugins using cvs/distutils?

Hi. I have an open-source application development environment that I
would like to enable an automated package download system for (like
downloadable plugins), using sourceforge as its repository. My
software will have a menu-based popup window, that will list the
packages (Applications) available through the project distribution
page. If a user selects a package from this window, it should be
automatically retrieved and installed by the development environment.
My software already has a system for automatically recognizing and
deploying new packages, so I'm only asking for help with distribution
logistics, I think.

I'm thinking that I will use the built-in ftplib to list and retrieve
the files (but I'm not sure yet where to look), and then the distutils
should probably be used in a standardized manner to actually install
the packages, right? I've established a CVS, but I'm not aware of any
built-in-python tools for managing the CVS, and I would rather not add
any new user-has-to-download-dependencies for this. Is there an easier
or alternative advisable approach? I have a linux box, should I be
using it to build all of the platform versions? Any advice would be
much appreciated, this is my first distribution project
(sourceforge.net/projects/spade).

Thanks a bunch,

Deacon
Jul 8 '08 #1
2 924
Deacon wrote:
Hi. I have an open-source application development environment that I
would like to enable an automated package download system for (like
downloadable plugins), using sourceforge as its repository. My
software will have a menu-based popup window, that will list the
packages (Applications) available through the project distribution
page. If a user selects a package from this window, it should be
automatically retrieved and installed by the development environment.
My software already has a system for automatically recognizing and
deploying new packages, so I'm only asking for help with distribution
logistics, I think.

I'm thinking that I will use the built-in ftplib to list and retrieve
the files (but I'm not sure yet where to look), and then the distutils
should probably be used in a standardized manner to actually install
the packages, right? I've established a CVS, but I'm not aware of any
built-in-python tools for managing the CVS, and I would rather not add
any new user-has-to-download-dependencies for this. Is there an easier
or alternative advisable approach? I have a linux box, should I be
using it to build all of the platform versions? Any advice would be
much appreciated, this is my first distribution project
(sourceforge.net/projects/spade).

Thanks a bunch,

Deacon
You might consider distributing as eggs and use setuptools/easyinstall to do
this for you.

-Larry

http://peak.telecommunity.com/DevCenter/setuptools

Jul 9 '08 #2
Deacon <de************@gmail.com>:
Hi. I have an open-source application development environment that I
would like to enable an automated package download system for (like
downloadable plugins), using sourceforge as its repository. My
software will have a menu-based popup window, that will list the
packages (Applications) available through the project distribution
page. If a user selects a package from this window, it should be
automatically retrieved and installed by the development environment.
My software already has a system for automatically recognizing and
deploying new packages, so I'm only asking for help with distribution
logistics, I think.

I'm thinking that I will use the built-in ftplib to list and retrieve
the files (but I'm not sure yet where to look), and then the distutils
should probably be used in a standardized manner to actually install
the packages, right? I've established a CVS, but I'm not aware of any
built-in-python tools for managing the CVS, and I would rather not add
any new user-has-to-download-dependencies for this. Is there an easier
or alternative advisable approach? I have a linux box, should I be
using it to build all of the platform versions? Any advice would be
much appreciated, this is my first distribution project
(sourceforge.net/projects/spade).
I'd use setuptools entrypoints. This takes the task of plugin discovery
from you, as this is done by setuptools, and allows you to utilize
pypi/easy_install for plugin distribution.

--
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
Jul 10 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: marco | last post by:
Hi, first of all ; sorry for my poor english ; i'm french ... and i hope you can understand below I use python (and wxpython) on a win32 platform, to build a simple "home theater pc". I want...
1
by: Mathieu Malaterre | last post by:
Hello, I thought this would be easy but I guess I didn't get the distutil feeling. I am trying to write a setup for install my package but I don't understand how to do that. organisation: ...
15
by: Colin J. Williams | last post by:
The distutils download page has: -------------------------------------------------------- Current stable release The current stable release is Distutils 1.0.2; you can download it as: *...
7
by: Frans Englich | last post by:
This is silly. How do I access data files I've installed with distutils? In a portable, generic way, I want to find out what is the following path on most systems: ...
4
by: stu_pb | last post by:
I am designing a plugin system for a window application using .NET(C# specifically). One of the requirements of the plugin system is to be able to dynamically load/unload plugins. My initial...
0
by: william | last post by:
I've got 2 differents sources of code, one for the main code (let's call it Main), and the other one for plugins (let's call it Plugins). The setup.py for Main is trivial and install all files in...
0
by: Greg Conely via .NET 247 | last post by:
I am creating a application that will be using plugins. I am doing this so that when I want to let this application work with another type of dbase system, I only have to write\install one plugin,...
1
by: jmalone | last post by:
I have a python script that I need to freeze on AIX 5.1 (customer has AIX and does not want to install Python). The python script is pretty simple (the only things it imports are sys and socket)....
7
by: vedrandekovic | last post by:
Hello again, Is there any patch for python "distutils", for this ImportError: cannot import name log Regards, Vedran
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.