Hi,

"pip3 install generateds" resulted in the installation of a version
which was still using python2-style code:

% sudo pip3 install generateds
Downloading/unpacking generateds
   Running setup.py egg_info for package generateds

     package init file 'libgenerateDS/__init__.py' not found (or not a
regular file)
     package init file 'libgenerateDS/gui/__init__.py' not found (or not
a regular file)
     warning: no files found matching 'tests/simpletypes1_other_sub.py'
Installing collected packages: generateds
   Running setup.py install for generateds
     package init file 'libgenerateDS/__init__.py' not found (or not a
regular file)
     package init file 'libgenerateDS/gui/__init__.py' not found (or not
a regular file)
       File
"/usr/local/lib/python3.3/dist-packages/libgenerateDS/process_includes.py",
line 97
         print 'trace --'
                        ^
     SyntaxError: invalid syntax

       File
"/usr/local/lib/python3.3/dist-packages/libgenerateDS/gui/generateds_gui_session.py",
line 73
         except ImportError, exp:
                           ^
     SyntaxError: invalid syntax

       File
"/usr/local/lib/python3.3/dist-packages/libgenerateDS/gui/generateds_gui.py",
line 308
         print msg
                 ^
     SyntaxError: invalid syntax


     warning: no files found matching 'tests/simpletypes1_other_sub.py'
     changing mode of /usr/local/bin/generateDS.py to 755
     changing mode of /usr/local/bin/process_includes.py to 755
     changing mode of /usr/local/bin/generateds_gui.py to 755
     changing mode of /usr/local/bin/gends_run_gen_django.py to 755
     changing mode of /usr/local/bin/gends_extract_simple_types.py to 755
     changing mode of /usr/local/bin/gends_generate_django.py to 755
Successfully installed generateds
Cleaning up...

% generateDS.py
   File "/usr/local/bin/generateDS.py", line 448
     print msg
             ^
SyntaxError: invalid syntax

Is python3 support planned for generateDS (or am I doing something wrong
here?)

I'll be happy to take a look at this.  Is the source in version control
anywhere (I didn't find it on the sourceforge page).  If not, is there
a development version I should look at?


Thanks,
Roger Leigh

The University of Dundee is a registered Scottish Charity, No: SC015096


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to