-
Notifications
You must be signed in to change notification settings - Fork 133
/
setup.py
50 lines (45 loc) · 1.84 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
#!/usr/bin/python
from setuptools import setup, find_packages, Extension
from Cython.Distutils import build_ext
import numpy
import mrec
with open('README.rst') as f:
long_description = f.read()
setup(packages=find_packages(),
version=mrec.__version__,
maintainer='Mark Levy',
name='mrec',
package_dir={'':'.'},
maintainer_email='[email protected]',
description='mrec recommender systems library',
long_description=long_description,
url='https://github.com/mendeley/mrec',
download_url='https://github.com/mendeley/mrec/tarball/master#egg=mrec-'+mrec.__version__,
classifiers=['Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: BSD License',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',],
install_requires=['numpy',
'scipy',
'scikit-learn',
'ipython <= 4.0.0',
'cython',
'psutil'],
entry_points={
'console_scripts':[
'mrec_prepare = mrec.examples.prepare:main',
'mrec_train = mrec.examples.train:main',
'mrec_predict = mrec.examples.predict:main',
'mrec_evaluate = mrec.examples.evaluate:main',
'mrec_tune = mrec.examples.tune_slim:main',
'mrec_convert = mrec.examples.convert:main',
'mrec_factors = mrec.examples.factors:main',
]},
cmdclass={'build_ext':build_ext},
ext_modules=[Extension('warp_fast',
sources=['mrec/mf/model/warp_fast.pyx'],
include_dirs=[numpy.get_include()]),
]
)