From b28f25b7f6ac053e9e4b0db565d5907b9fc02923 Mon Sep 17 00:00:00 2001 From: Emad Rad Date: Tue, 28 Nov 2023 12:27:26 +0330 Subject: [PATCH] feat: dev dependency --- .github/workflows/test.yml | 2 +- setup.py | 1 + tutormfe/__about__.py | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 55e2ff5..829f613 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,6 @@ jobs: run: python -m pip install --upgrade pip setuptools - name: Install dependencies run: | - pip install 'tutor[dev]>=16.1.2,<17.0.0' + pip install .[dev] - name: Test lint, types, and format run: make test diff --git a/setup.py b/setup.py index c360767..9346bb8 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,7 @@ def load_about(): include_package_data=True, python_requires=">=3.8", install_requires=["tutor>=16.1.2,<17.0.0"], + extras_require={"dev": ["tutor[dev]>=16.1.2,<17.0.0"]}, entry_points={"tutor.plugin.v1": ["mfe = tutormfe.plugin"]}, classifiers=[ "Development Status :: 5 - Production/Stable", diff --git a/tutormfe/__about__.py b/tutormfe/__about__.py index fc0415a..c79efc0 100644 --- a/tutormfe/__about__.py +++ b/tutormfe/__about__.py @@ -1,2 +1 @@ __version__ = "16.1.2" -