diff --git a/README.md b/README.md index b62cbf7..29ce960 100644 --- a/README.md +++ b/README.md @@ -21,15 +21,19 @@ be available for use in your Python environment as `prototorch.models`. ## Contribution This repository contains definition for [git hooks](https://githooks.com). -[Pre-commit](https://pre-commit.com) gets installed as development dependency with prototorch. -Please install the hooks by running +[Pre-commit](https://pre-commit.com) is automatically installed as development +dependency with prototorch or you can install it manually with `pip install +pre-commit`. + +Please install the hooks by running: ```bash pre-commit install pre-commit install --hook-type commit-msg ``` before creating the first commit. - +The commit will fail if the commit message does not follow the specification +provided [here](https://www.conventionalcommits.org/en/v1.0.0/#specification). ## Available models diff --git a/setup.py b/setup.py index cef77a1..451ec1b 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ with open("README.md", "r") as fh: long_description = fh.read() INSTALL_REQUIRES = [ - "prototorch>=0.5.0", + "prototorch>=0.5.0,<0.6.0", "pytorch_lightning>=1.3.5", "torchmetrics", ] @@ -63,7 +63,7 @@ setup( url=PROJECT_URL, download_url=DOWNLOAD_URL, license="MIT", - python_requires=">=3.8", + python_requires=">=3.9", install_requires=INSTALL_REQUIRES, extras_require={ "dev": DEV, @@ -79,7 +79,6 @@ setup( "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Operating System :: OS Independent", "Topic :: Scientific/Engineering :: Artificial Intelligence",