forked from jwcalder/GraphLearning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (37 loc) · 1.51 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
import setuptools
import numpy
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="graphlearning",
version="0.0.2",
author="Jeff Calder",
author_email="[email protected]",
description="Python package for graph-based clustering and semi-supervised learning",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jwcalder/GraphLearning",
packages=['graphlearning'],
ext_modules=[setuptools.Extension('graphlearning.cextensions',
sources=[ 'src/cextensions.c',
'src/lp_iterate.c',
'src/dijkstra.c',
'src/memory_allocation.c',
'src/mnist_benchmark.c',
'src/mbo_speedy_volume_preserving.c'],
include_dirs=[numpy.get_include()],
extra_compile_args = ['-Ofast'],
extra_link_args = ['-lm'])],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"],
install_requires=[ 'numpy',
'scipy',
'torch',
'annoy',
'sklearn',
'kymatio',
'matplotlib'],
python_requires='>=3.6',
)