Skip to content

Commit

Permalink
Merge pull request #288 from arokem/drop_python2
Browse files Browse the repository at this point in the history
Drops support for Python 2.
  • Loading branch information
arokem committed Jun 12, 2021
2 parents cf49a3f + fe97dc8 commit a59a372
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install
run: |
python -m pip install --upgrade pip
pip install .
pip install .[dev]
- name: Check Dependencies
run: |
pipconflictchecker
Expand Down
9 changes: 2 additions & 7 deletions afqbrowser/browser.py
Expand Up @@ -17,13 +17,8 @@
import numpy as np
import afqbrowser as afqb

# Shim for Python2/Python3:
try:
from http.server import SimpleHTTPRequestHandler
import socketserver
except ImportError:
from SimpleHTTPServer import SimpleHTTPRequestHandler
import SocketServer as socketserver
from http.server import SimpleHTTPRequestHandler
import socketserver


MNI_AFF = np.array([[1., 0., 0., -98.],
Expand Down

0 comments on commit a59a372

Please sign in to comment.