-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
65 lines (60 loc) · 1.99 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
62
63
64
65
from setuptools import setup
from setuptools.command.build_ext import build_ext as _build_ext
class build_ext(_build_ext):
'to install numpy'
def finalize_options(self):
_build_ext.finalize_options(self)
# Prevent numpy from thinking it is still in its setup process:
__builtins__.__NUMPY_SETUP__ = False
import numpy
self.include_dirs.append(numpy.get_include())
def readme():
with open('README.rst') as f:
return f.read()
setup(name='coclust',
version='0.2.1',
description='coclustering algorithms for data mining',
long_description=readme(),
classifiers=['Topic :: Scientific/Engineering :: Information Analysis',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
url='',
author='Francois Role, Stanislas Morbieu, Mohamed Nadif',
author_email='[email protected]',
license='BSD3',
packages=['coclust',
'coclust/clustering',
'coclust/coclustering',
'coclust/evaluation',
'coclust/io',
'coclust/visualization'
],
setup_requires=["numpy"],
install_requires=[
'numpy', 'scipy', 'scikit-learn'
],
extras_require={
'alldeps': (
'numpy',
'scipy',
'scikit-learn',
'matplotlib>=1.5'
)
},
cmdclass={
'build_ext': build_ext
},
entry_points={
'console_scripts': [
'coclust = coclust.coclust:main_coclust',
'coclust-nb = coclust.coclust:main_coclust_nb',
],
},
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
tests_require=['nose'])