Skip to content

Commit 895f132

Browse files
committed
minor modifications to setup
1 parent 4189e53 commit 895f132

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ this library is an experimental fork of pysqlite,
55
and is statically linked against sqlcipher.
66

77
Original code (c) 2004-2007 Gerhard Häring
8-
SQLCipher (c) 2013 Kali Kaneko
8+
Packaging for SQLCipher (c) 2013 Kali Kaneko
99

1010
It uses a sqlcipher amalgamation, see https://www.sqlite.org/amalgamation.html
1111

setup.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#-*- coding: ISO-8859-1 -*-
22
# setup.py: the distutils script
33
#
4-
# Copyright (C) Kali Kaneko <kali@futeisha.org> (sqlcipher support)
4+
# Copyright (C) 2013 Kali Kaneko <kali@futeisha.org> (sqlcipher support)
55
# Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
66
#
77
# This file is part of pysqlcipher.
@@ -61,11 +61,12 @@
6161
define_macros = []
6262

6363
long_description = \
64-
"""Python interface to SQCipher
64+
"""Python interface to SQLCipher
6565
66-
pysqlcipher is an interface to the SQLite 3.x embedded relational database engine.
67-
It is almost fully compliant with the Python database API version 2.0 also
68-
exposes the unique features of SQLCipher."""
66+
pysqlcipher is an interface to the SQLite 3.x embedded relational
67+
database engine. It is almost fully compliant with the Python database API
68+
version 2.0. At the same time, it also exposes the unique features of
69+
SQLCipher."""
6970

7071
if sys.platform != "win32":
7172
define_macros.append(('MODULE_NAME', '"pysqlcipher.dbapi2"'))
@@ -172,9 +173,9 @@ def _build_extension(self, ext):
172173
sources = ext.sources
173174
if sources is None or type(sources) not in (ListType, TupleType):
174175
raise DistutilsSetupError, \
175-
("in 'ext_modules' option (extension '%s'), " +
176-
"'sources' must be present and must be " +
177-
"a list of source filenames") % ext.name
176+
("in 'ext_modules' option (extension '%s'), " +
177+
"'sources' must be present and must be " +
178+
"a list of source filenames") % ext.name
178179
sources = list(sources)
179180

180181
ext_path = self.get_ext_fullpath(ext.name)
@@ -290,11 +291,11 @@ def get_setup_args():
290291
sys.exit(1)
291292

292293
data_files = [("pysqlcipher-doc",
293-
glob.glob("doc/*.html") \
294-
+ glob.glob("doc/*.txt") \
295-
+ glob.glob("doc/*.css")),
296-
("pysqlcipher-doc/code",
297-
glob.glob("doc/code/*.py"))]
294+
glob.glob("doc/*.html")
295+
+ glob.glob("doc/*.txt")
296+
+ glob.glob("doc/*.css")),
297+
("pysqlcipher-doc/code",
298+
glob.glob("doc/code/*.py"))]
298299

299300
py_modules = ["sqlcipher"],
300301

@@ -305,12 +306,11 @@ def get_setup_args():
305306
long_description=long_description,
306307
author="Kali Kaneko",
307308
author_email="kali@futeisha.org",
308-
license="zlib/libpng", # is THIS a license?
309+
license="zlib/libpng", # is THIS a license?
309310
# It says MIT in the google project
310311
platforms="ALL",
311312
#XXX missing url
312-
url="http://xxx.example.com/",
313-
313+
url="http://github.com/leapcode/pysqlcipher/",
314314
# Description of the modules and packages in the distribution
315315
package_dir={"pysqlcipher": "lib"},
316316
packages=["pysqlcipher", "pysqlcipher.test"] +

0 commit comments

Comments
 (0)