Cheeseshop download URL
Christopher Arndt <chris.arndt-S0/[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I've notice for some time now that the Cheeseshop entry for pysqlite is missing the download_url field. Unfortunately this breaks easy_install'ation of packages that require pysqlite, because easy_install can't find the distribution tgz. You can, of course, use the '-f' switch to point easy_installl to http://initd.org/pub/software/pysqlite/releases/2.3/2.3.3/ but this will break when the requirements version number is bumped up to a new release. Any chance that this could be fixed soon? Patch for setup.py against trunk r381 attached. In the meantime, could somebody fix the cheeseshop entry manually? Chris _______________________________________________ pysqlite mailing list pysqlite-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/pysqlite
setup-downloadurl.patch
(text/x-patch, 842 B)
Index: setup.py
===================================================================
--- setup.py (Revision 382)
+++ setup.py (Arbeitskopie)
@@ -97,6 +97,7 @@
match = version_re.match(line)
if match:
PYSQLITE_VERSION = match.groups()[0]
+ PYSQLITE_MINOR_VERSION = ".".join(PYSQLITE_VERSION.split('.')[:2])
break
f.close()
@@ -122,6 +123,8 @@
license = "zlib/libpng license",
platforms = "ALL",
url = "http://pysqlite.org/",
+ download_url = "http://initd.org/pub/software/pysqlite/releases/%s/%s/pysqlite-%s.tar.gz" % \
+ (PYSQLITE_MINOR_VERSION, PYSQLITE_VERSION, PYSQLITE_VERSION),
# Description of the modules and packages in the distribution
package_dir = {"pysqlite2": "pysqlite2"},