Skip to content

Commit

Permalink
Fix requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayak-mehta committed Dec 25, 2024
1 parent 5700235 commit 12a31da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install pyinstaller
python -m pip install .
python -m pip install ".[all]"
- name: Build with PyInstaller on Ubuntu and MacOS
if: runner.os == 'Linux' || runner.os == 'macOS'
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
python -m pip install ".[all]"
- name: Test with pytest
run: |
pytest
python -m pytest
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@
"SQLAlchemy>=1.2.12",
"Werkzeug>=3.1.3",
]
mysql = ["mysqlclient>=1.3.6"]
all_requires = requires + mysql
dev_requires = [
"codecov>=2.0.15",
"pytest>=3.8.0",
"pytest-cov>=2.6.0",
"pytest-runner>=4.2",
"Sphinx>=1.8.1",
]
all_requires = requires + dev_requires


def setup_package():
Expand All @@ -45,7 +44,7 @@ def setup_package():
packages=find_packages(exclude=("tests",)),
include_package_data=True,
install_requires=requires,
extras_require={"all": all_requires, "mysql": mysql, "dev": dev_requires},
extras_require={"all": all_requires, "dev": dev_requires},
entry_points={
"console_scripts": [
"excalibur = excalibur.cli:cli",
Expand Down

0 comments on commit 12a31da

Please sign in to comment.