Skip to content

Commit

Permalink
fix: add resource to the PIP package
Browse files Browse the repository at this point in the history
  • Loading branch information
panpuchkov committed Dec 28, 2023
1 parent d474b4c commit ff80d50
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ jobs:
shell: bash
run: |
set -x
sudo apt-get -y install twine
pip install -r requirements-build.txt
python -m build
sudo apt-get -y install twine
twine check dist/*
twine upload --skip-existing -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} dist/* --verbose
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN apk add --no-cache git openssh

# Copy application code and
COPY ./src/pygitver/templates /pygitver/templates
COPY ./scripts /pygitver/scripts
COPY ./src/pygitver/scripts /pygitver/scripts
COPY --from=build /opt/venv /opt/venv

WORKDIR /app
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pygitver"
version = "0.0.3-dev"
version = "0.0.4-dev"
authors = [
{ name="Yurii Puchkov", email="[email protected]" },
]
Expand Down Expand Up @@ -34,5 +34,8 @@ pygitver = "pygitver.pygitver:main"
url = "https://github.com/panpuchkov/pygitver"


[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools.package-data]
pygitver = ["*.py", "*.tmpl"]
"*" = ["*"]
2 changes: 0 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Jinja2

tox
pytest
black
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit ff80d50

Please sign in to comment.