-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathsetup-tn-tools.py
28 lines (25 loc) · 1009 Bytes
/
setup-tn-tools.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
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-tools',
version=version,
description='tools for tensornet',
long_description='multi tools for tensornet. E.g. merge/resize sparse or dense table, include external embeddings',
long_description_content_type='text/markdown',
author='jiangxinglei',
author_email='[email protected]',
url='https://github.com/Qihoo360/tensornet',
packages=["tensornet-tools"],
package_data={'tensornet-tools': ['bin/*', 'config/*', 'python/*']},
python_requires='>=3.7',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.7'
],
)