Imported Upstream version 0.4.1 upstream/0.4.1
authorHyunjee Kim <hj0426.kim@samsung.com>
Fri, 10 Apr 2020 05:19:55 +0000 (14:19 +0900)
committerHyunjee Kim <hj0426.kim@samsung.com>
Fri, 10 Apr 2020 05:20:02 +0000 (14:20 +0900)
Change-Id: I7bbf4a4cd20fb544c9d3dca65f7450c376eb0d4f
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
PKG-INFO
pysqlite3.egg-info/PKG-INFO
setup.cfg
setup.py

index 363f8cc158aa72cb4f2712b0487c31082bb1aac5..2149d930ef79d52bad54c3977149e78b927f6e1f 100644 (file)
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pysqlite3
-Version: 0.4.0
+Version: 0.4.1
 Summary: DB-API 2.0 interface for Sqlite 3.x
 Home-page: https://github.com/coleifer/pysqlite3
 Author: Charles Leifer
index 363f8cc158aa72cb4f2712b0487c31082bb1aac5..2149d930ef79d52bad54c3977149e78b927f6e1f 100644 (file)
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pysqlite3
-Version: 0.4.0
+Version: 0.4.1
 Summary: DB-API 2.0 interface for Sqlite 3.x
 Home-page: https://github.com/coleifer/pysqlite3
 Author: Charles Leifer
index 84432093433fef45137f74be826a9216fb7ab80a..e5caaf731b85ef4c7607d382ba802be8b417470c 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [build_ext]
-libraries = sqlite3
 include_dirs = /usr/include
 library_dirs = /usr/lib
 
index 0daf005f0a327e014149fac4afe6ad7b42b7323f..65bb496751451a7bd133a1ac2b24c5b70ac17431 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ from setuptools import Extension
 # 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)
@@ -42,6 +42,12 @@ class SystemLibSqliteBuilder(build_ext):
 
     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)