- initial commit, nothing to see but a scaffold
authorEric Zavesky <ezavesky@research.att.com>
Thu, 12 Oct 2017 22:27:51 +0000 (17:27 -0500)
committerEric Zavesky <ezavesky@research.att.com>
Thu, 12 Oct 2017 22:27:51 +0000 (17:27 -0500)
face_privacy_filter/_version.py [new file with mode: 0644]
setup.cfg [new file with mode: 0644]
setup.py [new file with mode: 0644]

diff --git a/face_privacy_filter/_version.py b/face_privacy_filter/_version.py
new file mode 100644 (file)
index 0000000..0f80734
--- /dev/null
@@ -0,0 +1,3 @@
+# -*- coding: utf-8 -*-
+__version__ = "0.0.1"
+MODEL_NAME = 'face_privacy_filter'
diff --git a/setup.cfg b/setup.cfg
new file mode 100644 (file)
index 0000000..6a53971
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,3 @@
+[aliases]
+test=pytest
+
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..c20b87e
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+import os
+from setuptools import setup, find_packages
+
+# extract __version__ from version file. importing will lead to install failures
+setup_dir = os.path.dirname(__file__)
+with open(os.path.join(setup_dir, 'face_privacy_filter', '_version.py')) as file:
+    globals_dict = dict()
+    exec(file.read(), globals_dict)
+    __version__ = globals_dict['__version__']
+
+
+setup(
+    name = globals_dict['MODEL_NAME'],
+    version = __version__,
+    packages = find_packages(),
+    author = "Eric Zavesky",
+    author_email = "ezavesky@research.att.com",
+    description = ("Face detection and privacy filtering models"),
+    long_description = ("Face detection and privacy filtering models"),
+    license = "Apache",
+    package_data={globals_dict['MODEL_NAME']:['data/*']},
+    scripts=['bin/run_face-privacy-filter_reference.py'],
+    setup_requires=['pytest-runner'],
+    entry_points="""
+    [console_scripts]
+    """,
+    #setup_requires=['pytest-runner'],
+    install_requires=['cognita_client',
+                      'numpy',
+                      'sklearn',
+                      'cv2'
+                      globals_dict['MODEL_NAME']],
+    tests_require=['pytest',
+                   'pexpect'],
+    include_package_data=True,
+    )