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:
|
key:
|
||||||
files:
|
files:
|
||||||
- setup.py
|
- setup.py
|
||||||
- requirements.txt
|
|
||||||
paths:
|
paths:
|
||||||
- .cache/pip
|
- .cache/pip
|
||||||
- ${VIRTUAL_ENV}
|
- ${VIRTUAL_ENV}
|
||||||
|
@ -36,8 +35,7 @@ install:
|
||||||
script:
|
script:
|
||||||
- apk add --no-cache gcc g++ yaml-dev python3-dev git
|
- apk add --no-cache gcc g++ yaml-dev python3-dev git
|
||||||
- python3 -m venv "${VIRTUAL_ENV}"
|
- python3 -m venv "${VIRTUAL_ENV}"
|
||||||
- pip install -r requirements.txt
|
- pip install .[all]
|
||||||
- pip install .
|
|
||||||
- pip install -U build twine
|
- pip install -U build twine
|
||||||
cache:
|
cache:
|
||||||
policy: pull-push
|
policy: pull-push
|
||||||
|
@ -81,6 +79,7 @@ publish test:
|
||||||
extends: .pip template
|
extends: .pip template
|
||||||
stage: publish
|
stage: publish
|
||||||
script:
|
script:
|
||||||
|
- apk add --no-cache git
|
||||||
- python -m build
|
- python -m build
|
||||||
- twine upload --repository testpypi ./dist/*
|
- twine upload --repository testpypi ./dist/*
|
||||||
cache:
|
cache:
|
||||||
|
|
|
@ -15,7 +15,7 @@ There are some python dependencies that are required for linting/testing etc.
|
||||||
You can install them with:
|
You can install them with:
|
||||||
|
|
||||||
```
|
```
|
||||||
pip install -U -r requirements.txt
|
pip install .[test]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Code style
|
## Code style
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
include requirements.txt
|
|
||||||
recursive-include matrix_alertbot/resources *
|
recursive-include matrix_alertbot/resources *
|
||||||
|
|
|
@ -68,7 +68,7 @@ COPY setup.py ./setup.py
|
||||||
RUN pip install --no-warn-script-location ".[e2e]"
|
RUN pip install --no-warn-script-location ".[e2e]"
|
||||||
|
|
||||||
# Now copy the source code
|
# Now copy the source code
|
||||||
COPY *.py *.md *.in requirements.txt ./
|
COPY *.py *.md *.in ./
|
||||||
COPY matrix_alertbot/*.py ./matrix_alertbot/
|
COPY matrix_alertbot/*.py ./matrix_alertbot/
|
||||||
COPY matrix_alertbot/resources ./matrix_alertbot/resources
|
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