Skip to content

Not pip installable with Python 3 #1

@funsim

Description

@funsim

The dev-restructure branch is currently not pip installable due to some Python 2 code:

simon@doodson ~/src/virtual-classroom git:dev-restructure$ python setup.py install --user
running install
running build
running build_py
running install_lib
creating /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/start_group.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/end_semester.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/api.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/utils.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/student.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/stats.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/collaboration.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/group.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/students_file.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/get_all_feedbacks.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/parameters.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/send_email.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/find_images.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/__init__.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/get_all_repos.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/classroom.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/start_group.py to start_group.cpython-36.pyc
  File "/home/simon/.local/lib/python3.6/site-packages/virtual_classroom/start_group.py", line 151
    print "Handle student {0}".format(name)
                             ^
SyntaxError: invalid syntax
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/end_semester.py to end_semester.cpython-36.pyc
  File "/home/simon/.local/lib/python3.6/site-packages/virtual_classroom/end_semester.py", line 61
    print "Deleting ", member["login"],
                    ^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/api.py to api.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/utils.py to utils.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/student.py to student.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/stats.py to stats.cpython-36.pyc
  File "/home/simon/.local/lib/python3.6/site-packages/virtual_classroom/stats.py", line 32
    print "Student are no longer taking this course: ", file_name
                                                     ^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/collaboration.py to collaboration.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/group.py to group.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/students_file.py to students_file.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/get_all_feedbacks.py to get_all_feedbacks.cpython-36.pyc
  File "/home/simon/.local/lib/python3.6/site-packages/virtual_classroom/get_all_feedbacks.py", line 128
    print value
              ^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/parameters.py to parameters.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/send_email.py to send_email.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/find_images.py to find_images.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/__init__.py to __init__.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/get_all_repos.py to get_all_repos.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/classroom.py to classroom.cpython-36.pyc
running install_egg_info
Removing /home/simon/.local/lib/python3.6/site-packages/virtual_classroom-0.0.1-py3.6.egg-info
Writing /home/simon/.local/lib/python3.6/site-packages/virtual_classroom-0.0.1-py3.6.egg-info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions