Skip to content

Commit 74990f9

Browse files
committed
Move the extension source directory outside of maxminddb
1 parent 01df5d2 commit 74990f9

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

HISTORY.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
History
44
-------
55

6+
1.4.2
7+
++++++++++++++++++
8+
9+
* The extension source directory was moved to prevent an ``ImportWarning``
10+
when importing the module on Python 2 with ``-Wdefault`` set. Reported by
11+
David Szotten and Craig de Stigter. GitHub #31.
12+
613
1.4.1 (2018-06-22)
714
++++++++++++++++++
815

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
Extension(
3434
'maxminddb.extension',
3535
libraries=['maxminddb'],
36-
sources=['maxminddb/extension/maxminddb.c'],
36+
sources=['extension/maxminddb.c'],
3737
extra_compile_args=compile_args,
3838
)
3939
]

0 commit comments

Comments
 (0)