This repository was archived by the owner on Jul 19, 2024. It is now read-only.
forked from albermax/xcsvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (49 loc) · 1.56 KB
/
Copy pathsetup.py
File metadata and controls
54 lines (49 loc) · 1.56 KB
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
from setuptools import setup, find_packages
#from distutils.extension import Extension
#from Cython.Build import cythonize
def readme():
with open('README.md') as f:
return f.read()
requirements = [
"numpy",
"scipy",
"cython",
"sklearn",
"mpi4py",
# For profiling.
#"cProfile",
#"LineProfiler",
#"pstats",
]
setup(
name="xcsvm",
version="0.1",
description="Support Vector Machines for Extreme Classfication tasks.",
long_description=readme(),
classifiers=[
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2.7",
"Programming Language :: Cython",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
url="http://github.com/albermax/xcsvm",
author="Maxmilian Alber",
author_email="albermax@github.com",
license="MIT",
packages=find_packages(),
install_requires=requirements,
# We use pyximport and compile at runtime.
#ext_modules=Extension(name="*",
# sources=["xcsvm/solvers/cython/*/*.pyx"],
# extra_link_args=['-fopenmp'],
# extra_compile_args=['-O3', '-finline-functions',
# '-fopenmp']),
# test_suite='nose.collector',
# tests_require=['nose']+requirements,
include_package_data=True,
zip_safe=False,
)