Cleaning setup.py
This commit is contained in:
parent
2d37b15c9e
commit
86ad19dd52
2 changed files with 68 additions and 68 deletions
|
|
@ -28,3 +28,6 @@ requires = [
|
|||
"wheel",
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["sqlcipher3"]
|
||||
5
setup.py
5
setup.py
|
|
@ -114,6 +114,7 @@ def quote_argument(arg):
|
|||
q = '\\"' if sys.platform == "win32" and sys.version_info < (3, 7) else '"'
|
||||
return q + arg + q
|
||||
|
||||
if __name__ == "__main__":
|
||||
define_macros = [
|
||||
("MODULE_NAME", quote_argument("sqlcipher3.dbapi2")),
|
||||
("ENABLE_FTS3", "1"),
|
||||
|
|
@ -178,10 +179,6 @@ module = Extension(
|
|||
language="c",
|
||||
)
|
||||
|
||||
if __name__ == "__main__":
|
||||
setup(
|
||||
platforms="ALL",
|
||||
package_dir={"sqlcipher3": "sqlcipher3"},
|
||||
packages=["sqlcipher3"],
|
||||
ext_modules=[module],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue