Skip to content

Commit 1d7f2d9

Browse files
committed
Python >= 3.6 requirement
1 parent aa4354f commit 1d7f2d9

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

setup.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,7 @@
3333

3434
# Note that this is a string of words separated by whitespace, not a list.
3535
keywords='pytorch pretrained models efficientnet mobilenetv3 mnasnet',
36-
37-
# You can just specify package directories manually here if your project is
38-
# simple. Or you can use find_packages().
39-
#
40-
# Alternatively, if you just want to distribute a single Python file, use
41-
# the `py_modules` argument instead as follows, which will expect a file
42-
# called `my_module.py` to exist:
43-
#
44-
# py_modules=["my_module"],
45-
#
4636
packages=find_packages(exclude=['convert']),
47-
48-
# This field lists other packages that your project depends on to run.
49-
# Any package you put here will be installed by pip when your project is
50-
# installed, so they must be valid existing projects.
51-
#
52-
# For an analysis of "install_requires" vs pip's requirements files see:
53-
# https://packaging.python.org/en/latest/requirements.html
5437
install_requires=['torch', 'torchvision'],
38+
python_requires='>=3.6',
5539
)

0 commit comments

Comments
 (0)