From b3a8f7832f0409f87531648c9fb632f3c7b1aec7 Mon Sep 17 00:00:00 2001 From: yumiguan <41277086+yumiguan@users.noreply.github.com> Date: Fri, 13 Nov 2020 20:07:24 +0800 Subject: [PATCH] add install_requires in setup.py (#41) --- .github/workflows/publish.yml | 2 +- requirements.txt | 3 +-- setup.py | 9 ++++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 298d498..cb42fc2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: "3.6" + python-version: "3.7" - name: Install python dependencies run: | python -m pip install --upgrade pip diff --git a/requirements.txt b/requirements.txt index c7e8571..aefbcb6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ -lyrebird -facebook-wda +-e .[dev] diff --git a/setup.py b/setup.py index f9b42a0..c0444cc 100644 --- a/setup.py +++ b/setup.py @@ -30,5 +30,12 @@ install_requires=[ 'lyrebird', 'facebook-wda==0.8.1' - ] + ], + extras_require={ + 'dev': [ + "autopep8", + "pylint", + "pytest" + ] + } )