remove requirements.txt
This commit is contained in:
parent
164ec379e4
commit
4e0b3bd59c
5 changed files with 4 additions and 17 deletions
|
@ -23,7 +23,6 @@ stages:
|
|||
key:
|
||||
files:
|
||||
- setup.py
|
||||
- requirements.txt
|
||||
paths:
|
||||
- .cache/pip
|
||||
- ${VIRTUAL_ENV}
|
||||
|
@ -36,8 +35,7 @@ install:
|
|||
script:
|
||||
- apk add --no-cache gcc g++ yaml-dev python3-dev git
|
||||
- python3 -m venv "${VIRTUAL_ENV}"
|
||||
- pip install -r requirements.txt
|
||||
- pip install .
|
||||
- pip install .[all]
|
||||
- pip install -U build twine
|
||||
cache:
|
||||
policy: pull-push
|
||||
|
@ -81,6 +79,7 @@ publish test:
|
|||
extends: .pip template
|
||||
stage: publish
|
||||
script:
|
||||
- apk add --no-cache git
|
||||
- python -m build
|
||||
- twine upload --repository testpypi ./dist/*
|
||||
cache:
|
||||
|
|
|
@ -15,7 +15,7 @@ There are some python dependencies that are required for linting/testing etc.
|
|||
You can install them with:
|
||||
|
||||
```
|
||||
pip install -U -r requirements.txt
|
||||
pip install .[test]
|
||||
```
|
||||
|
||||
## Code style
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
include requirements.txt
|
||||
recursive-include matrix_alertbot/resources *
|
||||
|
|
|
@ -68,7 +68,7 @@ COPY setup.py ./setup.py
|
|||
RUN pip install --no-warn-script-location ".[e2e]"
|
||||
|
||||
# Now copy the source code
|
||||
COPY *.py *.md *.in requirements.txt ./
|
||||
COPY *.py *.md *.in ./
|
||||
COPY matrix_alertbot/*.py ./matrix_alertbot/
|
||||
COPY matrix_alertbot/resources ./matrix_alertbot/resources
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
coverage>=6.4.1
|
||||
black>=22.6.0
|
||||
flake8>=4.0.1
|
||||
flake8-comprehensions>=3.10.0
|
||||
isort>=5.10.1
|
||||
mypy>=0.961
|
||||
pytest>=7.1.2
|
||||
pytest-asyncio>=0.18.3
|
||||
freezegun>=1.2.1
|
||||
types-PyYAML>=6.0.9
|
||||
types-setuptools>=62.6.0
|
Loading…
Reference in a new issue