# If you need to change anything, it should be enough to change setup.cfg.
PACKAGE_NAME = 'pysqlite3'
-VERSION = '0.4.0'
+VERSION = '0.4.1'
# define sqlite sources
sources = [os.path.join('src', source)
def build_extension(self, ext):
log.info(self.description)
+
+ # For some reason, when setup.py develop is run, it ignores the
+ # configuration in setup.cfg, so we just explicitly add libsqlite3.
+ # Oddly, running setup.py build_ext -i (for in-place) works fine and
+ # correctly reads the setup.cfg.
+ ext.libraries.append('sqlite3')
build_ext.build_extension(self, ext)