some trivial setup.py cleanups until we convert

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2024-05-03 12:17:09 -05:00
parent a92d0041cf
commit 2dfb942f91
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
"""Setuptools configuration."""
import os
from setuptools import find_packages, setup
import versioneer
@ -8,6 +9,7 @@ HERE = os.path.dirname(os.path.abspath(__file__))
def extract_requires():
"""Get package requirements from the .in file."""
with open(os.path.join(HERE, 'requirements/requirements.in'), 'r') as reqs:
return [line.split(' ')[0] for line in reqs if not line[0] == '-']