-
Notifications
You must be signed in to change notification settings - Fork 71
/
setup.py
31 lines (28 loc) · 964 Bytes
/
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
import os
from setuptools import setup, find_packages
from importlib.machinery import SourceFileLoader
# use importlib to avoid import so file
_version = SourceFileLoader('version', 'tensornet/version.py').load_module()
version = _version.VERSION
setup(
name='qihoo-tensornet',
version=version,
description='tensornet',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='jiangxinglei',
author_email='[email protected]',
url='https://github.com/Qihoo360/tensornet',
packages=find_packages(),
package_data = {
"tensornet.core": ["_pywrap_tn.so"],
},
python_requires='>=3.7, <3.8',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.7'
],
platforms = ["manylinux2010_x86_64"],
)