Skip to content

Commit

Permalink
build: autoinstall required dependencies (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
uniqueg committed Nov 9, 2021
1 parent 64c4832 commit 9cef0d9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ python:
- "3.7"
- "3.8"

install:
- pip install -r requirements_dev.txt
- python setup.py install

# Build once for pushes to the repo, and once for PR from forks
if: (type == push) OR (type == pull_request AND fork == true)

Expand Down
5 changes: 0 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
coverage==5.2.1
coveralls==2.1.2
docutils==0.17.1
flake8==3.8.3
pydantic==1.6.1
pytest==6.0.1
requests==2.24.0
requests-mock==1.8.0
responses==0.12.0
5 changes: 5 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage==5.2.1
coveralls==2.1.2
docutils==0.17.1
flake8==3.8.3
pytest==6.0.1
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
install_requires=[],
install_requires=[
'pydantic>=1.6.1',
'requests>=2.24.0',
'requests-mock>=1.8.0',
'responses>=0.12.0',
],
python_requires='>=3.6'
)

0 comments on commit 9cef0d9

Please sign in to comment.