dev-python/ots-python: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-06-19 20:36:08 +02:00
parent 213e165a02
commit 01497dc698
4 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
--- a/setup.py
+++ b/setup.py
@@ -236,7 +236,6 @@
platforms=["posix", "nt"],
package_dir={"": "src/python"},
packages=find_packages("src/python"),
- ext_modules=[ots_sanitize],
zip_safe=False,
cmdclass=cmdclass,
setup_requires=["setuptools_scm"],
--- a/src/python/ots/__init__.py
+++ b/src/python/ots/__init__.py
@@ -3,7 +3,7 @@
import sys
import os
-OTS_SANITIZE = os.path.join(os.path.dirname(__file__), "ots-sanitize")
+OTS_SANITIZE = "ots-sanitize"
__all__ = ["sanitize", "OTSError", "CalledProcessError"]