-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (33 loc) · 1.07 KB
/
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
#!/usr/bin/env python3
import os
from setuptools import find_packages
from setuptools import setup
dirname = os.path.dirname(__file__)
setup(
name="ptmod",
version="0.0.0",
url="http://github.com/kamo-naoyuki/ptmod",
author="Naoyuki Kamo",
description="A Command line utility to modify serialized PyTorch model states.",
long_description=open(os.path.join(dirname, "README.md"), encoding="utf-8").read(),
long_description_content_type="text/markdown",
py_modules=["ptmod"],
entry_points={
"console_scripts": [
"ptmod = ptmod:ptmod_main",
"ptmod-ls = ptmod:ptmod_ls",
"ptmod-rm = ptmod:ptmod_rm",
"ptmod-cp = ptmod:ptmod_cp",
"ptmod-average = ptmod:ptmod_average",
"ptmod-sum = ptmod:ptmod_sum",
],
},
license="MIT",
python_requires=">=3.6.0",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
)