From vladimirkotulskiy at gmail.com Fri Feb 11 14:35:26 2011 From: vladimirkotulskiy at gmail.com (Volodymyr Kotulskyi) Date: Fri, 11 Feb 2011 15:35:26 +0200 Subject: [ftputil] ftputil and py2exe error Message-ID: Here is the steps to reproduce this bug Python version 2.6.6 ftputil-2.5-py2.6 py2exe-0.6.9.win32-py2.6.exe ftp_example.py import re import ftputil pattern = re.compile('^.*$', re.I) print pattern connection = ftputil.FTPHost('127.0.0.1', 'anonymous', '') print connection setup.py from distutils.core import setup import py2exe setup( console=['ftp_example.py'], options={"py2exe": { "includes" : "ftputil"}}) Here is the output D:\PROJECTS\IKISPFU\_DB\IKIS_Queue\ASOPDExchange\src>python setup.py py2exe C:\DevTools\Python26\lib\site-packages\py2exe\build_exe.py:16: DeprecationWarning: the sets module is deprecated import sets running py2exe *** searching for required modules *** Traceback (most recent call last): File "setup.py", line 6, in options={"py2exe": { "includes" : "ftputil"}}) File "C:\DevTools\Python26\lib\distutils\core.py", line 152, in setup dist.run_commands() File "C:\DevTools\Python26\lib\distutils\dist.py", line 975, in run_commands self.run_command(cmd) File "C:\DevTools\Python26\lib\distutils\dist.py", line 995, in run_command cmd_obj.run() File "C:\DevTools\Python26\lib\site-packages\py2exe\build_exe.py", line 243, in run self._run() File "C:\DevTools\Python26\lib\site-packages\py2exe\build_exe.py", line 296, in _run self.find_needed_modules(mf, required_files, required_modules) File "C:\DevTools\Python26\lib\site-packages\py2exe\build_exe.py", line 1297, in find_needed_modules mf.import_hook(mod) File "C:\DevTools\Python26\lib\site-packages\py2exe\mf.py", line 719, in import_hook return Base.import_hook(self,name,caller,fromlist,level) File "C:\DevTools\Python26\lib\site-packages\py2exe\mf.py", line 136, in import_hook q, tail = self.find_head_package(parent, name) File "C:\DevTools\Python26\lib\site-packages\py2exe\mf.py", line 204, in find_head_package raise ImportError, "No module named " + qname ImportError: No module named ftputil -- ? ?????????, ????????. From sschwarzer at sschwarzer.net Mon Feb 14 20:18:09 2011 From: sschwarzer at sschwarzer.net (Stefan Schwarzer) Date: Mon, 14 Feb 2011 20:18:09 +0100 Subject: [ftputil] ftputil and py2exe error In-Reply-To: References: Message-ID: <4D597FF1.8010404@sschwarzer.net> Hello Volodymyr, Thanks for the report. On 2011-02-11 14:35, Volodymyr Kotulskyi wrote: > Here is the steps to reproduce this bug > > Python version 2.6.6 > ftputil-2.5-py2.6 > py2exe-0.6.9.win32-py2.6.exe > [...] I've never used py2exe so far, so I can't tell if it's a bug in ftputil or in py2exe or a usage mistake. Have you actually installed ftputil with either python setup.py install or with pip/easy_install via the Python Package Index? Maybe you or someone else who's familiar with py2exe can provide more information or some help. Stefan From sschwarzer at sschwarzer.net Sat Feb 19 16:05:37 2011 From: sschwarzer at sschwarzer.net (Stefan Schwarzer) Date: Sat, 19 Feb 2011 16:05:37 +0100 Subject: [ftputil] [ANN] ftputil 2.6b released Message-ID: <4D5FDC41.9020902@sschwarzer.net> ftputil 2.6b is now available from http://ftputil.sschwarzer.net/download . Changes since version 2.5 ------------------------- - The stat caching has been improved. I've added an "auto-grow" feature for `FTPHost.listdir` which in turn applies to `FTPHost.walk`. Moreover, there were several performance optimizations. - A few bugs were fixed [1-3]. What is ftputil? ---------------- ftputil is a high-level FTP client library for the Python programming language. ftputil implements a virtual file system for accessing FTP servers, that is, it can generate file-like objects for remote files. The library supports many functions similar to those in the os, os.path and shutil modules. ftputil has convenience functions for conditional uploads and downloads, and handles FTP clients and servers in different timezones. Read the documentation at http://ftputil.sschwarzer.net/documentation . License ------- ftputil is Open Source software, released under the revised BSD license (see http://www.opensource.org/licenses/bsd-license.php ). [1] http://ftputil.sschwarzer.net/trac/ticket/53 [2] http://ftputil.sschwarzer.net/trac/ticket/55 [3] http://ftputil.sschwarzer.net/trac/ticket/56 Stefan From sschwarzer at sschwarzer.net Sat Mar 12 19:32:25 2011 From: sschwarzer at sschwarzer.net (Stefan Schwarzer) Date: Sat, 12 Mar 2011 19:32:25 +0100 Subject: [ftputil] [ANN] ftputil 2.6 released Message-ID: <4D7BBC39.6070506@sschwarzer.net> ftputil 2.6 is now available from http://ftputil.sschwarzer.net/download . Changes since version 2.5 ------------------------- - The stat caching has been improved. There's now an "auto-grow" feature for `FTPHost.listdir` which in turn applies to `FTPHost.walk`. Moreover, there are several performance optimizations. - A few bugs were fixed [1-3]. What is ftputil? ---------------- ftputil is a high-level FTP client library for the Python programming language. ftputil implements a virtual file system for accessing FTP servers, that is, it can generate file-like objects for remote files. The library supports many functions similar to those in the os, os.path and shutil modules. ftputil has convenience functions for conditional uploads and downloads, and handles FTP clients and servers in different timezones. Read the documentation at http://ftputil.sschwarzer.net/documentation . License ------- ftputil is Open Source software, released under the revised BSD license (see http://www.opensource.org/licenses/bsd-license.php ). [1] http://ftputil.sschwarzer.net/trac/ticket/53 [2] http://ftputil.sschwarzer.net/trac/ticket/55 [3] http://ftputil.sschwarzer.net/trac/ticket/56 Stefan From sschwarzer at sschwarzer.net Tue Mar 15 19:38:06 2011 From: sschwarzer at sschwarzer.net (Stefan Schwarzer) Date: Tue, 15 Mar 2011 19:38:06 +0100 Subject: [ftputil] Mailing lists migration Message-ID: <4D7FB20E.6090604@sschwarzer.net> Hello, For several years, the ftputil mailing lists (i. e. the general discussion list and the ticket mailing list) have thankfully been hosted by Codespeak. However, as nowadays there are lots of hosting possibilities for open source projects, Codespeak is going to shut down its hosting. So we/I have to migrate the ftputil mailing lists to a new provider. (I'm not really eager to host the lists myself.) I opened a ticket [1] on this and outlined what's to do. I'd like to know if I forgot something. Also, I'm very interested in suggestions of appropriate mailing list providers. I'd like to finish the migration by the end of April but have nothing against finishing it earlier. :) As usual, I'm looking forward to your feedback. :-) [1] http://ftputil.sschwarzer.net/trac/ticket/57 Stefan