-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
executable file
·46 lines (39 loc) · 1.62 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
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
__version__ = '1.6.4'
if __name__ == '__main__':
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='PyLMNN',
version=__version__,
description='Large Margin Nearest Neighbor implementation in python',
long_description=long_description,
url='https://github.com/johny-c/pylmnn.git',
author='John Chiotellis',
author_email='[email protected]',
license='new BSD',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Artificial Intelligence'],
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
package_dir={'pylmnn': 'pylmnn'},
install_requires=['numpy>=1.11',
'scipy>=0.18',
'scikit_learn>=0.18'],
tests_require=[
'pytest>=3.0.1, <4.0'],
)