some trivial setup.py cleanups until we convert
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
a92d0041cf
commit
2dfb942f91
2
setup.py
2
setup.py
|
@ -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] == '-']
|
||||
|
||||
|
|
Loading…
Reference in New Issue