diff --git a/cvxpnpl.py b/cvxpnpl.py index 30a4308..a9a211c 100644 --- a/cvxpnpl.py +++ b/cvxpnpl.py @@ -3,7 +3,7 @@ from scipy.sparse import csc_matrix import scs -__version__ = "1.0.2" +__version__ = "1.0.3" def _point_constraints(pts_2d, pts_3d, K): diff --git a/setup.py b/setup.py index ad6b653..cbaf204 100644 --- a/setup.py +++ b/setup.py @@ -24,16 +24,6 @@ def parse_version(): return visitor.version -def install_requires(): - """Generate list with dependency requirements""" - - deps = [] - with open("requirements.txt", "r") as f: - for line in f: - deps.append(line[:-1]) - return deps - - def long_description(): with open("README.md", "r") as f: return f.read() @@ -46,7 +36,7 @@ def long_description(): description="A convex Perspective-n-Points-and-Lines method.", long_description=long_description(), long_description_content_type="text/markdown", - install_requires=install_requires(), + install_requires=["numpy", "scipy", "scs>=2.0.0"], author="Sérgio Agostinho", author_email="sergio@sergioagostinho.com", url="https://github.com/SergioRAgostinho/cvxpnpl",