forked from chrsmrrs/k-gnn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (25 loc) · 775 Bytes
/
setup.py
File metadata and controls
29 lines (25 loc) · 775 Bytes
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
from setuptools import setup, find_packages
from torch.utils.cpp_extension import BuildExtension, CppExtension
__version__ = '0.0.0'
url = 'https://github.com/k-gnn/k-gnn'
install_requires = []
setup_requires = ['pytest-runner']
tests_require = ['pytest', 'pytest-cov']
ext_modules = [CppExtension('graph_cpu', ['cpu/graph.cpp'])]
cmdclass = {'build_ext': BuildExtension}
setup(
name='k_gnn',
version=__version__,
description='',
author='XXX',
author_email='XXX',
url=url,
download_url='{}/archive/{}.tar.gz'.format(url, __version__),
keywords=[],
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
ext_modules=ext_modules,
cmdclass=cmdclass,
packages=find_packages(),
)