Skip to content

Commit

Permalink
Use packaged dbfpy
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Mar 12, 2019
1 parent 25a66f9 commit 53ba3d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ pandas
pyyaml
xlrd
xlwt
dbfpy
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'xlrd',
'xlwt',
'pyyaml',
'dbfpy',
]


Expand Down
1 change: 0 additions & 1 deletion tablib/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
from tablib.packages.statistics import median
from itertools import izip_longest
from backports import csv
import tablib.packages.dbfpy as dbfpy

unicode = unicode
xrange = xrange
6 changes: 3 additions & 3 deletions tablib/formats/_dbf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
from tablib.packages.dbfpy3 import record as dbfrecord
import io
else:
from tablib.packages.dbfpy import dbf
from tablib.packages.dbfpy import dbfnew
from tablib.packages.dbfpy import record as dbfrecord
from dbfpy import dbf
from dbfpy import dbfnew
from dbfpy import record as dbfrecord


title = 'dbf'
Expand Down

0 comments on commit 53ba3d6

Please sign in to comment.