-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (55 loc) · 1.92 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
from setuptools import setup, find_packages
# Boilerplate for integrating with PyTest
from setuptools.command.test import test
import sys
import os
# Sanic only supports uvloop on POSIX platforms
if not os.name == 'posix':
os.environ['SANIC_NO_UVLOOP'] = 'true'
class PyTest(test):
user_options = [('pytest-args=', 'a', "Arguments to pass to pytest")]
def initialize_options(self):
test.initialize_options(self)
self.pytest_args = ''
def run_tests(self):
import shlex
import pytest
errno = pytest.main(shlex.split(self.pytest_args))
sys.exit(errno)
# The actual setup metadata
setup(
name='binah',
version='0.0.1',
description='A framework for all things related to embeddings across heterogeneous data.',
long_description=open("README.rst").read(),
keywords='machine_learning artificial_intelligence devops',
author='JJ Ben-Joseph',
author_email='[email protected]',
python_requires='>=3.6',
url='https://etzai.github.io/',
license='Apache',
classifiers=[
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent'
],
packages=find_packages(),
install_requires=['tqdm', 'sqlalchemy', 'python-dateutil', 'annoy',
'tensorflow_hub', 'numpy', 'scikit-image',
'sanic', 'opencv-python', 'pytube', 'piexif'],
extras_require={
'gpu': ['tensorflow-gpu >= 1.8'],
'cpu': ['tensorflow >= 1.8']
},
tests_require=['pytest'],
entry_points={
'console_scripts': [
'etz = binah.__main__:main',
],
},
cmdclass = {'test': PyTest}
)