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:
parent
081078ddd6
commit
fbb418c365
5
setup.py
5
setup.py
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user