Skip to content

Commit bc08416

Browse files
update setup.py
1 parent b0c63b4 commit bc08416

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

setup.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import io
55
import os
66

7-
from pkg_resources import Requirement
87
from setuptools import find_packages, setup
98

109
import versioneer
@@ -25,18 +24,13 @@
2524
URL = "https://github.com/Chris-hughes10/func-to-script"
2625
2726
AUTHOR = "Chris Hughes"
28-
REQUIRES_PYTHON = ">=3.7.0"
27+
REQUIRES_PYTHON = ">=3.8.0"
2928
VERSION = versioneer.get_version()
3029

3130
FILEPATH = os.path.abspath(os.path.dirname(__file__))
32-
REQUIRED = []
3331

3432
with open("requirements.txt", "r") as f:
35-
for line in f.readlines():
36-
try:
37-
REQUIRED.append(str(Requirement.parse(line)))
38-
except ValueError:
39-
pass
33+
REQUIRED = [line.strip() for line in f if line.strip() and not line.startswith('#')]
4034

4135
# Import the README and use it as the long-description.
4236
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
@@ -69,6 +63,11 @@
6963
"Programming Language :: Python",
7064
"Programming Language :: Python :: 3",
7165
"Programming Language :: Python :: 3.7",
66+
"Programming Language :: Python :: 3.8",
67+
"Programming Language :: Python :: 3.9",
68+
"Programming Language :: Python :: 3.10",
69+
"Programming Language :: Python :: 3.11",
70+
"Programming Language :: Python :: 3.12",
7271
"Programming Language :: Python :: Implementation :: CPython",
7372
],
7473
)

0 commit comments

Comments
 (0)