Skip to content

Commit

Permalink
Fix packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
danpalmer committed Feb 19, 2020
1 parent 631afe8 commit 682cb3c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

jobs:
build-test:
build:
docker:
- image: circleci/python:3.5.5
steps:
Expand All @@ -24,10 +24,10 @@ jobs:
- /home/circleci/.cache/pypoetry/virtualenvs

- run:
name: Run Tests
name: Build
command: |
source $HOME/.poetry/env
poetry run ./runtests
poetry build
deploy:
docker:
- image: circleci/python:3.5.5
Expand All @@ -46,13 +46,13 @@ jobs:
workflows:
version: 2.1

build-test:
build:
jobs:
- build-test
- build

build-test-deploy:
build-deploy:
jobs:
- build-test:
- build:
filters:
tags:
only: /v[0-9]+(\.[0-9]+)*/
Expand All @@ -62,7 +62,7 @@ workflows:
- deploy:
context: thread-pypi
requires:
- build-test
- build
filters:
tags:
only: /v[0-9]+(\.[0-9]+)*/
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ description = "Panel for the Django Debug toolbar to quickly switch between user
authors = ["Thread Engineering <[email protected]>"]
license = "BSD-3-Clause"
include = ["debug_toolbar_user_switcher/templates/debug_toolbar_user_switcher/*"]
packages = [
{ include = "debug_toolbar_user_switcher" },
]

[tool.poetry.dependencies]
python = "^3.5"
Expand Down

0 comments on commit 682cb3c

Please sign in to comment.