Hi all python gurus... :) Installing module/ownet/python with python2.2 give this warning... The same warning goes for module/swig/python/.. I guess it's not any major problem that __init__.pyc isn't created, but is it possible to fix this warning?
[EMAIL PROTECTED] owfs]# ls -trl /usr/lib/python2.2/site-packages/ownet/ total 36 -rw-r--r-- 1 root root 13778 Dec 28 19:45 __init__.py -rw-r--r-- 1 root root 6588 Dec 28 19:45 connection.py -rw-r--r-- 1 root root 9494 Dec 28 22:54 connection.pyc [EMAIL PROTECTED] owfs]# ls -trl /usr/lib/python2.2/site-packages/ow/ total 100 -rw-r--r-- 1 root root 15610 Dec 7 16:46 __init__.py -rwxr-xr-x 1 root root 78976 Dec 29 12:44 _OW.so* make[4]: Entering directory `/usr/src/1wire/cvs/owfs/module/ownet/python' make[4]: Nothing to be done for `install-exec-am'. python setup.py install --root="/" /usr/lib/python2.2/distutils/dist.py:215: UserWarning: Unknown distribution option: 'classifiers' warnings.warn(msg) /usr/lib/python2.2/distutils/dist.py:215: UserWarning: Unknown distribution option: 'download_url' warnings.warn(msg) running install running build running build_py creating build creating build/lib creating build/lib/ownet copying ownet/__init__.py -> build/lib/ownet copying ownet/connection.py -> build/lib/ownet running install_lib not copying build/lib/ownet/__init__.py (output up-to-date) not copying build/lib/ownet/connection.py (output up-to-date) byte-compiling /usr/lib/python2.2/site-packages/ownet/__init__.py to __init__.pyc <string>:336: Warning: 'yield' will become a reserved keyword in the future File "usr/lib/python2.2/site-packages/ownet/__init__.py", line 336 yield entry ^ SyntaxError: invalid syntax skipping byte-compilation of /usr/lib/python2.2/site-packages/ownet/connection.py to connection.pyc make[4]: Leaving directory `/usr/src/1wire/cvs/owfs/module/ownet/python' make[2]: Entering directory `/usr/src/1wire/cvs/owfs/module/swig/python' make[2]: Nothing to be done for `install-exec-am'. python setup.py install --root="/" /usr/lib/python2.2/distutils/dist.py:215: UserWarning: Unknown distribution option: 'classifiers' warnings.warn(msg) running install running build running build_py not copying ow/__init__.py (output up-to-date) running build_ext skipping '_OW' extension (up-to-date) running install_lib not copying build/lib.linux-i686-2.2/ow/__init__.py (output up-to-date) not copying build/lib.linux-i686-2.2/ow/_OW.so (output up-to-date) byte-compiling /usr/lib/python2.2/site-packages/ow/__init__.py to __init__.pyc <string>:419: Warning: 'yield' will become a reserved keyword in the future File "usr/lib/python2.2/site-packages/ow/__init__.py", line 419 yield entry.split( '/' )[ 0 ] ^ SyntaxError: invalid syntax make[2]: Leaving directory `/usr/src/1wire/cvs/owfs/module/swig/python' ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers