Skip to content

Commit

Permalink
Require Python 3.8; specify requirements directly
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewyates committed Jun 30, 2024
1 parent 311929f commit f505a0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
with open("README.md", "r") as fh:
long_description = fh.read()


# from https://packaging.python.org/guides/single-sourcing-package-version/
def read(rel_path):
here = os.path.abspath(os.path.dirname(__file__))
Expand All @@ -34,8 +35,8 @@ def get_version(rel_path):
long_description_content_type="text/markdown",
url="https://github.com/capreolus-ir/trecrun",
packages=setuptools.find_packages(),
install_requires=[req.strip() for req in open("requirements.txt", "rt")],
install_requires=["ir-measures", "numpy", "scikit-learn", "smart_open"],
classifiers=["Programming Language :: Python :: 3", "Operating System :: OS Independent"],
python_requires=">=3.6",
python_requires=">=3.8",
include_package_data=True,
)

0 comments on commit f505a0d

Please sign in to comment.