-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
35 lines (30 loc) · 971 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
32
33
34
35
from setuptools import setup, find_packages
from os import path
import re
package_name="snc4onnx"
root_dir = path.abspath(path.dirname(__file__))
with open("README.md") as f:
long_description = f.read()
with open(path.join(root_dir, package_name, '__init__.py')) as f:
init_text = f.read()
version = re.search(r'__version__\s*=\s*[\'\"](.+?)[\'\"]', init_text).group(1)
setup(
name=package_name,
version=version,
description=\
"Simple tool to combine onnx models. Simple Network Combine Tool for ONNX.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Katsuya Hyodo",
author_email="rmsdh122@yahoo.co.jp",
url="https://github.com/PINTO0309/sne4onnx",
license="MIT License",
packages=find_packages(),
platforms=["linux", "unix"],
python_requires=">=3.6",
entry_points={
'console_scripts': [
"snc4onnx=snc4onnx:main"
]
}
)