Skip to content

Commit

Permalink
Resolves PyPi install issue #726 (#727)
Browse files Browse the repository at this point in the history
* Resolves PyPy install issue #726

* remove requirements in ci workflow

Co-authored-by: VictorSanh <[email protected]>
  • Loading branch information
Guitaricet and VictorSanh authored Feb 14, 2022
1 parent 5001f67 commit 7c1b9bb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 22 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check_templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .
pip install -r requirements.txt
- name: Check templates
run: |
pytest test/test_templates.py
1 change: 0 additions & 1 deletion .github/workflows/show_new_templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
python -m pip install --upgrade pip
pip install .
pip install black isort flake8
pip install -r requirements.txt
- id: files
uses: jitterbit/get-changed-files@v1
continue-on-error: true
Expand Down
18 changes: 0 additions & 18 deletions requirements.txt

This file was deleted.

22 changes: 20 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,26 @@
with open("README.md", "r", encoding="utf-8") as readme_file:
readme = readme_file.read()

with open('requirements.txt') as requirements_file:
requirements = requirements_file.read().split('\n')
requirements = [
"black<=21.12b0",
"datasets>=1.7.0",
"flake8",
"isort==5.8.0",
"pytest",
"pyyaml>=5",
"streamlit==0.82",
"jinja2",
"plotly",
"requests",
"pandas",
##############################################################
# Dependencies in this section are added for specific datasets
##############################################################
"py7zr",
##############################################################
# End of dataset-specific dependencies
##############################################################
]

setup(
name='promptsource',
Expand Down

0 comments on commit 7c1b9bb

Please sign in to comment.