-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (32 loc) · 1014 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
36
37
38
39
40
41
#!/usr/bin/env python
# -*- coding:utf-8 -*-
#############################################
# File Name: setup.py
# Author: oona
# Mail: [email protected]
# Created Time: 2032-03-25 19:00:59
#############################################
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="torch2onnx",
version="0.0.7",
author="maojiangyun",
author_email="[email protected]",
url="https://github.com/ooooona/model_tools.git",
description="convertor tool for pytorch format to onnx and torchscript",
long_description=long_description,
long_description_content_type="text/markdown",
python_requires='>=3.6',
entry_points={'console_scripts': [
'torch2onnx=torch2onnx.torch2onnx:main',
]},
include_package_data=True,
platforms=['darwin', 'linux'],
install_requires=[
"torch",
],
packages=find_packages(),
license="NU General Public License v3.0",
)