-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (29 loc) · 930 Bytes
/
Copy pathsetup.py
File metadata and controls
33 lines (29 loc) · 930 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
30
31
32
33
from setuptools import setup, find_packages
from torch.utils.cpp_extension import BuildExtension, CppExtension, CUDAExtension
import os
def load_extensions():
return [CppExtension(
name=os.path.join('test_gammagl', 'ceshi', 'ext', '_ext').replace(os.path.sep, "."),
sources=[
'test_gammagl/ceshi/ext/first.cpp'
]
)]
classifiers = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
]
setup(
name="test_gammagl",
version="0.1",
author="zhou guangyu",
author_email="1029175863@qq.com",
maintainer="zhou guangyu",
license="Apache-2.0 License",
url="https://github.com/gyzhou2000/setup",
download_url="https://github.com/gyzhou2000/setup",
python_requires='>=3.6',
cmdclass={'build_ext': BuildExtension},
ext_modules=load_extensions(),
packages=find_packages(),
classifiers=classifiers
)