-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
50 lines (46 loc) · 1.77 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
"""
A setuptools based setup module.
References: https://github.com/pypa/sampleproject
"""
import os
from setuptools import setup, find_packages, Extension
repo_dir = os.path.abspath(__file__)
# Long description is just the contents of README.md
long_description = 'Read README.md for long description'
os.environ["CC"] = "gcc"
setup(
# Users can install the project with the following command:
# $ pip install rubrix
#
# It will live on PyPi at:
# https://pypi.org/project/rubrix/
name='rubrix',
# Versions should comply with PEP 440 :
# https://www.python.org/dev/peps/pep-0440/
version='0.0.1-dev',
# Packages can be manually mentioned, or `setuptools.find_packages`
# can be used for this purpose.
packages=find_packages(),
entry_points={'console_scripts': ['rubrix = rubrix.web.main:launch']},
ext_modules=[
Extension(
'dotproduct',
sources = ['csource/dotproduct.c'],
include_dirs=['csource'],
extra_compile_args=['-fopenmp'],
extra_link_args=['-lgomp']),
],
description='AI Powered Image Search Engine',
long_description=long_description,
# Corresponds to the Home Page of the metadata field
url='https://github.com/aashishyadavally/rubrix',
# Name and email addresses of project owners.
author='Aashish Yadavally',
author_email='aashish.yadavally1995@gmail.com',
classifiers=[
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Computer Vision :: Natural Language Processing',
'Programming Language :: Python :: 3.8',
],
python_requires='>=3.6',
)