Skip to content

Commit 6e62a0a

Browse files
authored
prepare 6.8.1 release (#106)
1 parent 6e4ba2d commit 6e62a0a

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

.circleci/config.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test-template: &test-template
1515
- run:
1616
name: install requirements
1717
command: |
18-
sudo pip install --upgrade pip setuptools;
18+
sudo pip install --upgrade pip virtualenv;
1919
sudo pip install -r test-requirements.txt;
2020
if [[ "$CIRCLE_JOB" != "test-3.3" ]] && [[ "$CIRCLE_JOB" != "test-3.4" ]]; then
2121
sudo pip install -r consul-requirements.txt;
@@ -32,6 +32,15 @@ test-template: &test-template
3232
else
3333
pytest -s --junitxml=test-reports/junit.xml testing;
3434
fi
35+
- run:
36+
name: test packaging/install
37+
# Note, virtualenv isn't supported on Python 3.3 and this test requires virtualenv. But we
38+
# never build our published package on 3.3 anyway.
39+
command: |
40+
if [[ "$CIRCLE_JOB" != "test-3.3" ]]; then
41+
sudo rm -rf dist *.egg-info;
42+
./scripts/test-packaging.sh;
43+
fi
3544
- store_test_results:
3645
path: test-reports
3746
- store_artifacts:

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,4 @@ p2venv
6666
.idea
6767
*.iml
6868
.vagrant
69-
ldd/py2
70-
ldd/py3
69+
test-packaging-venv

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
include requirements.txt
22
include README.txt
33
include test-requirements.txt
4+
include consul-requirements.txt
5+
include dynamodb-requirements.txt
46
include redis-requirements.txt
57
include python2.6-requirements.txt

scripts/test-packaging.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
rm -rf dist
6+
python setup.py sdist
7+
8+
rm -rf test-packaging
9+
mkdir test-packaging
10+
cd test-packaging
11+
virtualenv env
12+
source env/bin/activate
13+
14+
pip install ../dist/*.tar.gz

0 commit comments

Comments
 (0)