Removed direct dependency that blocked pypi. Added wheel to dev and installed dev for ci.
This commit is contained in:
@@ -15,8 +15,7 @@ jobs:
|
||||
python-version: 3.7
|
||||
- uses: dschep/install-poetry-action@v1.2
|
||||
- name: Install and build
|
||||
run: pip install .
|
||||
pip install wheel
|
||||
run: pip install .[dev]
|
||||
- name: Build with Poetry
|
||||
run: python setup.py sdist bdist_wheel
|
||||
- name: Publish distribution 📦 to Test PyPI
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: pip install .
|
||||
run: pip install .[dev]
|
||||
pip install wheel
|
||||
- name: Test with tox
|
||||
run: tox -p auto -o
|
||||
|
||||
@@ -47,7 +47,9 @@ setup(
|
||||
"pyzmq==18.1.0",
|
||||
],
|
||||
extras_require={
|
||||
"linux": ["PyV4L2Cam @ git+https://github.com/SimLeek/PyV4L2Cam"],
|
||||
# pypi doesn't allow direct dependencies for security reasons,
|
||||
# even though I could install a lot of viruses just from this setup.py
|
||||
# "linux": ["PyV4L2Cam @ git+https://github.com/SimLeek/PyV4L2Cam"],
|
||||
"dev": [
|
||||
"black==18.*,>=18.3.0.a0",
|
||||
"coverage==4.*,>=4.5.0",
|
||||
@@ -59,6 +61,7 @@ setup(
|
||||
"tox==3.*,>=3.14.0",
|
||||
"tox-gh-actions==0.*,>=0.3.0",
|
||||
"typing==3.7.4.1",
|
||||
"wheel==0.*,>=0.30.0"
|
||||
],
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user