Python Packaging Survey

Hello, Thanks to all the people that helped building the survey, and a special thanks to Massimo Di Pierro who created the application that runs the Survey and helped me set it up. Please, take it ! http://tinyurl.com/package-survey Regards Tarek -- Tarek Ziadé | Association AfPy | www.afpy.org Blog FR | http://programmation-python.org Blog EN | http://tarekziade.wordpress.com/

Tarek Ziadé wrote:
Hello,
Thanks to all the people that helped building the survey, and a special thanks to Massimo Di Pierro who created the application that runs the Survey and helped me set it up.
Please, take it !
http://tinyurl.com/package-survey
Regards Tarek
Tarek, I took the survey but I forgot to add this: Need to add 'bdist_deb' patches into Distutils. Also, can 'bdist_deb' be added as an extension to existing Distutils installations? That would be great. Regards, Gerry

2009/3/9 Tarek Ziadé <ziade.tarek@gmail.com>:
Thanks to all the people that helped building the survey, and a special thanks to Massimo Di Pierro who created the application that runs the Survey and helped me set it up.
Please, take it !
I get a page load error - something about an expired self-signed certificate (this with Firefox on Windows). Paul

On Mon, Mar 09, 2009, Paul Moore wrote:
2009/3/9 Tarek Ziadé <ziade.tarek@gmail.com>:
Thanks to all the people that helped building the survey, and a special thanks to Massimo Di Pierro who created the application that runs the Survey and helped me set it up.
Please, take it !
I get a page load error - something about an expired self-signed certificate (this with Firefox on Windows).
The latest versions of Firefox are pretty anal about certs, but can be coerced into accepting them. I got a minor message using Safari on OS X. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 The stamping of paper is an operation so much easier than the laying of taxes, that a government, in the practice of paper emissions, would rarely fail, in any such emergency [such as an election], to indulge itself too far in the employment of that resource... -- Alexander Hamilton

Paul Moore wrote:
2009/3/9 Tarek Ziadé <ziade.tarek@gmail.com>:
Thanks to all the people that helped building the survey, and a special thanks to Massimo Di Pierro who created the application that runs the Survey and helped me set it up.
Please, take it !
I get a page load error - something about an expired self-signed certificate (this with Firefox on Windows).
Paul _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
Paul, I got that too but I just clicked by all the warnings and the survey works fine after that. Regards, Gerry

Yes I am aware of thsi. I told Massimo. Thx for the feedback Tarek On Mon, Mar 9, 2009 at 8:44 PM, Gerry Reno <greno@verizon.net> wrote:
Paul Moore wrote:
2009/3/9 Tarek Ziadé <ziade.tarek@gmail.com>:
Thanks to all the people that helped building the survey, and a special thanks to Massimo Di Pierro who created the application that runs the Survey and helped me set it up.
Please, take it !
http://tinyurl.com/package-survey
I get a page load error - something about an expired self-signed certificate (this with Firefox on Windows).
Paul _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
Paul, I got that too but I just clicked by all the warnings and the survey works fine after that.
Regards, Gerry
-- Tarek Ziadé | Association AfPy | www.afpy.org Blog FR | http://programmation-python.org Blog EN | http://tarekziade.wordpress.com/

2009/3/9 Gerry Reno <greno@verizon.net>:
I get a page load error - something about an expired self-signed certificate (this with Firefox on Windows).
I got that too but I just clicked by all the warnings and the survey works fine after that.
Ah, I see it now. It's a lot harder to find the "let me through anyway" option on Firefox. Paul

On Mon, Mar 9, 2009 at 9:19 PM, Paul Moore <p.f.moore@gmail.com> wrote:
2009/3/9 Gerry Reno <greno@verizon.net>:
I get a page load error - something about an expired self-signed certificate (this with Firefox on Windows).
I got that too but I just clicked by all the warnings and the survey works fine after that.
Ah, I see it now. It's a lot harder to find the "let me through anyway" option on Firefox.
Massimo has enabled the http version, you can reach it with : http://tinyurl.com/packaging-survey
Paul
-- Tarek Ziadé | Association AfPy | www.afpy.org Blog FR | http://programmation-python.org Blog EN | http://tarekziade.wordpress.com/

Tarek Ziadé wrote:
On Mon, Mar 9, 2009 at 9:19 PM, Paul Moore <p.f.moore@gmail.com> wrote:
Massimo has enabled the http version, you can reach it with : http://tinyurl.com/packaging-survey
Tarek, In the survey there were some questions that were all or nothing. For one I answered Pylons but we also have projects using TG2 so I flipped a coin basically. Don't know how many others might have similar circumstance or whether it makes any difference. Regards, Gerry

(And now for a comment that's not about the site certificate! >:) Question 8 provides 5 options, none of which apply to me, and no option to comment without choosing one. Question 7 does the right thing by providing an option to give another answer in the comment field. I will wait until that question is fixed before responding to the survey ... Steve

On Tue, Mar 10, 2009 at 1:50 AM, Stephen Waterbury <waterbug@pangalactic.us> wrote:
(And now for a comment that's not about the site certificate! >:)
Question 8 provides 5 options, none of which apply to me, and no option to comment without choosing one.
Question 7 does the right thing by providing an option to give another answer in the comment field.
I will wait until that question is fixed before responding to the survey ...
added ! Tarek
Steve _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
-- Tarek Ziadé | Association AfPy | www.afpy.org Blog FR | http://programmation-python.org Blog EN | http://tarekziade.wordpress.com/

On Mon, 9 Mar 2009 06:42:46 +0100, Tarek Ziadé <ziade.tarek@gmail.com> wrote:
Please, take it !
mdp.cti.depaul.edu uses an invalid security certificate. The certificate is not trusted because it is self signed. The certificate is only valid for Massimo Di Pierro. The certificate expired on 1/03/2009 4:56 PM. (Error code: sec_error_expired_issuer_certificate)

Hi All, I am doing some grubby work on the Python Package Manager project. http://sourceforge.net/projects/pythonpkgmgr/ After running and installing some packages.. with EasyInstall, my Easy-Install.pth file gets filled with the package and egg names. What I want to do is use these in a list of installed packages. And then later provide for deinstallation. I'm thinking of parsing this file to read all the package names.. My question is is there any way to do the same thing with setuptools? Forgive my ignorance - I am just hacking the code. :-) ---c:\python25\lib\site-packages\Easy-Install.pth----------------------------- import sys; sys.__plen = len(sys.path) ./setuptools-0.6c9-py2.5.egg ./xmlmp-1.1-py2.5.egg ./xml2ddl-0.3.1-py2.5.egg ./xml_compare-1.0.5-py2.5.egg ./html5lib-0.11.1-py2.5.egg ./html2text-2.35-py2.5.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) ------------------------------------------------------------------------------- Regards David

At 11:19 PM 3/9/2009 -0400, David Lyon wrote:
What I want to do is use these in a list of installed packages. And then later provide for deinstallation. I'm thinking of parsing this file to read all the package names..
My question is is there any way to do the same thing with setuptools?
http://peak.telecommunity.com/DevCenter/PkgResources#workingset-objects You can simply iterate over pkg_resources.working_set to obtain Distribution objects for all eggs on sys.path -- that will give you all *activated* packages (i.e., ones listed in .pth files or otherwise explicitly on sys.path). If you want all *installed* packages (which may not be on sys.path, but are still physically present in a directory on sys.path), you want an Environment object instead: http://peak.telecommunity.com/DevCenter/PkgResources#environment-objects And to remove a package from the .pth file, you can use "easy_install -mxNd targetdir project==version" -- this will remove the named project from the easy-install.pth file in targetdir. (The -m takes it out, the -x means don't reinstall scripts, the -N means don't install dependencies, and the -d targetdir specifies where the .pth file is.)

Thanks you PJ.... that is most helpful. Seems to be the answer I was looking for. :-) On Tue, 10 Mar 2009 02:17:07 -0400, "P.J. Eby" <pje@telecommunity.com> wrote:
At 11:19 PM 3/9/2009 -0400, David Lyon wrote:
What I want to do is use these in a list of installed packages. And then later provide for deinstallation. I'm thinking of parsing this file to read all the package names..
My question is is there any way to do the same thing with setuptools?
http://peak.telecommunity.com/DevCenter/PkgResources#workingset-objects
You can simply iterate over pkg_resources.working_set to obtain Distribution objects for all eggs on sys.path -- that will give you all *activated* packages (i.e., ones listed in .pth files or otherwise explicitly on sys.path).
If you want all *installed* packages (which may not be on sys.path, but are still physically present in a directory on sys.path), you want an Environment object instead:
http://peak.telecommunity.com/DevCenter/PkgResources#environment-objects
And to remove a package from the .pth file, you can use "easy_install -mxNd targetdir project==version" -- this will remove the named project from the easy-install.pth file in targetdir. (The -m takes it out, the -x means don't reinstall scripts, the -N means don't install dependencies, and the -d targetdir specifies where the .pth file is.)
participants (7)
-
Bill Campbell
-
David Lyon
-
Gerry Reno
-
P.J. Eby
-
Paul Moore
-
Stephen Waterbury
-
Tarek Ziadé