-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (52 loc) · 2 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
from setuptools import setup, find_packages, Extension
"""
Calling
$python setup.py build_ext --inplace
will build the extension library in the current file.
Calling
$python setup.py build
will build a file that looks like ./build/lib*, where
lib* is a file that begins with lib. The library will
be in this file and end with a C library extension,
such as .so
Calling
$python setup.py install
will install the module in your site-packages file.
See the distutils section of
'Extending and Embedding the Python Interpreter'
at docs.python.org for more information.
"""
# setup() parameters - https://packaging.python.org/guides/distributing-packages-using-setuptools/
setup(
name='spkmeans',
version='1.0.0',
author="Tomer & Idan",
author_email="[email protected]",
description="Performs K- means Algorithm with C API",
install_requires=['invoke'],
packages=find_packages(), # find_packages(where='.', exclude=())
# Return a list of all Python packages found within directory 'where'
license='GPL-2',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only',
# We need to tell the world this is a CPython extension
'Programming Language :: Python :: Implementation :: CPython',
],
ext_modules=[
Extension(
# the qualified name of the extension module to build
'spkmeans',
# the files to compile into our module relative to ``setup.py``
['spkmeansmodule.c', 'spkmeans.c'],
),
]
)