Skip to content

Commit

Permalink
Migrate setup.py to setuptools, fixed dependency installation in buil…
Browse files Browse the repository at this point in the history
…d script
  • Loading branch information
stasdavydov committed Jul 11, 2024
1 parent c3fed5f commit 98303b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Instal dependency and test environment
run: |
pip install -e [test]
pip install pydantic pytest
python setup.py build install
- name: Run tests
run: pytest tests
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pathlib
from distutils.core import setup

# The directory containing this file
from setuptools import setup

HERE = pathlib.Path(__file__).parent

# The text of the README file
Expand Down

0 comments on commit 98303b4

Please sign in to comment.