1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 00:02:28 +00:00

Remove import in setup.py

This commit is contained in:
J. Fernando Sánchez 2018-01-08 18:20:04 +01:00
parent 081078ddd6
commit fbb418c365

View File

@ -2,7 +2,10 @@ import pip
from setuptools import setup
# parse_requirements() returns generator of pip.req.InstallRequirement objects
from pip.req import parse_requirements
from senpy import __version__
with open('senpy/VERSION') as f:
__version__ = f.read().strip()
assert __version__
try:
install_reqs = parse_requirements(