Skip to content

Commit 682cb3c

Browse files
committed
Fix packaging
1 parent 631afe8 commit 682cb3c

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.circleci/config.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22

33
jobs:
4-
build-test:
4+
build:
55
docker:
66
- image: circleci/python:3.5.5
77
steps:
@@ -24,10 +24,10 @@ jobs:
2424
- /home/circleci/.cache/pypoetry/virtualenvs
2525

2626
- run:
27-
name: Run Tests
27+
name: Build
2828
command: |
2929
source $HOME/.poetry/env
30-
poetry run ./runtests
30+
poetry build
3131
deploy:
3232
docker:
3333
- image: circleci/python:3.5.5
@@ -46,13 +46,13 @@ jobs:
4646
workflows:
4747
version: 2.1
4848

49-
build-test:
49+
build:
5050
jobs:
51-
- build-test
51+
- build
5252

53-
build-test-deploy:
53+
build-deploy:
5454
jobs:
55-
- build-test:
55+
- build:
5656
filters:
5757
tags:
5858
only: /v[0-9]+(\.[0-9]+)*/
@@ -62,7 +62,7 @@ workflows:
6262
- deploy:
6363
context: thread-pypi
6464
requires:
65-
- build-test
65+
- build
6666
filters:
6767
tags:
6868
only: /v[0-9]+(\.[0-9]+)*/

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ description = "Panel for the Django Debug toolbar to quickly switch between user
55
authors = ["Thread Engineering <[email protected]>"]
66
license = "BSD-3-Clause"
77
include = ["debug_toolbar_user_switcher/templates/debug_toolbar_user_switcher/*"]
8+
packages = [
9+
{ include = "debug_toolbar_user_switcher" },
10+
]
811

912
[tool.poetry.dependencies]
1013
python = "^3.5"

0 commit comments

Comments
 (0)