Skip to content

Commit

Permalink
Pypi doesn't bundle requirements file
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed May 10, 2021
1 parent 3f2551a commit eaa5685
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cvxpnpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
12 changes: 1 addition & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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",
Expand Down

0 comments on commit eaa5685

Please sign in to comment.