diff options
author | Kali Kaneko <kali@leap.se> | 2013-04-26 23:01:22 +0900 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-04-26 23:01:22 +0900 |
commit | 895f13225a8a0fb8f142c3d318268f652712745a (patch) | |
tree | 04013be8e86e8717b2c0fc34d8b676529d09221a | |
parent | 4189e53a881e52de0945375a72b8748143c5bd13 (diff) |
minor modifications to setup
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | setup.py | 32 |
2 files changed, 17 insertions, 17 deletions
@@ -5,7 +5,7 @@ this library is an experimental fork of pysqlite, and is statically linked against sqlcipher. Original code (c) 2004-2007 Gerhard Häring -SQLCipher (c) 2013 Kali Kaneko +Packaging for SQLCipher (c) 2013 Kali Kaneko It uses a sqlcipher amalgamation, see https://www.sqlite.org/amalgamation.html @@ -1,7 +1,7 @@ #-*- coding: ISO-8859-1 -*- # setup.py: the distutils script # -# Copyright (C) Kali Kaneko <kali@futeisha.org> (sqlcipher support) +# Copyright (C) 2013 Kali Kaneko <kali@futeisha.org> (sqlcipher support) # Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de> # # This file is part of pysqlcipher. @@ -61,11 +61,12 @@ extra_objects = [] define_macros = [] long_description = \ -"""Python interface to SQCipher +"""Python interface to SQLCipher -pysqlcipher is an interface to the SQLite 3.x embedded relational database engine. -It is almost fully compliant with the Python database API version 2.0 also -exposes the unique features of SQLCipher.""" +pysqlcipher is an interface to the SQLite 3.x embedded relational +database engine. It is almost fully compliant with the Python database API +version 2.0. At the same time, it also exposes the unique features of +SQLCipher.""" if sys.platform != "win32": define_macros.append(('MODULE_NAME', '"pysqlcipher.dbapi2"')) @@ -172,9 +173,9 @@ class MyBuildExt(build_ext): sources = ext.sources if sources is None or type(sources) not in (ListType, TupleType): raise DistutilsSetupError, \ - ("in 'ext_modules' option (extension '%s'), " + - "'sources' must be present and must be " + - "a list of source filenames") % ext.name + ("in 'ext_modules' option (extension '%s'), " + + "'sources' must be present and must be " + + "a list of source filenames") % ext.name sources = list(sources) ext_path = self.get_ext_fullpath(ext.name) @@ -290,11 +291,11 @@ def get_setup_args(): sys.exit(1) data_files = [("pysqlcipher-doc", - glob.glob("doc/*.html") \ - + glob.glob("doc/*.txt") \ - + glob.glob("doc/*.css")), - ("pysqlcipher-doc/code", - glob.glob("doc/code/*.py"))] + glob.glob("doc/*.html") + + glob.glob("doc/*.txt") + + glob.glob("doc/*.css")), + ("pysqlcipher-doc/code", + glob.glob("doc/code/*.py"))] py_modules = ["sqlcipher"], @@ -305,12 +306,11 @@ def get_setup_args(): long_description=long_description, author="Kali Kaneko", author_email="kali@futeisha.org", - license="zlib/libpng", # is THIS a license? + license="zlib/libpng", # is THIS a license? # It says MIT in the google project platforms="ALL", #XXX missing url - url="http://xxx.example.com/", - + url="http://github.com/leapcode/pysqlcipher/", # Description of the modules and packages in the distribution package_dir={"pysqlcipher": "lib"}, packages=["pysqlcipher", "pysqlcipher.test"] + |