forked from sovrasov/flops-counter.pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (29 loc) · 718 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
import os
import shutil
import sys
from setuptools import setup, find_packages
readme = open('README.md').read()
VERSION = '0.1'
requirements = [
'torch',
]
setup(
# Metadata
name='ptflops',
version=VERSION,
author='Vladislav Sovrasov',
author_email='[email protected]',
url='https://github.com/sovrasov/flops-counter.pytorch',
description='Flops counter for convolutional networks in pytorch framework',
long_description=readme,
license='MIT',
# Package info
packages=find_packages(exclude=('*test*',)),
#
zip_safe=True,
install_requires=requirements,
# Classifiers
classifiers=[
'Programming Language :: Python :: 3',
],
)