1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 08:12:27 +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 from setuptools import setup
# parse_requirements() returns generator of pip.req.InstallRequirement objects # parse_requirements() returns generator of pip.req.InstallRequirement objects
from pip.req import parse_requirements from pip.req import parse_requirements
from senpy import __version__
with open('senpy/VERSION') as f:
__version__ = f.read().strip()
assert __version__
try: try:
install_reqs = parse_requirements( install_reqs = parse_requirements(