Skip to content

Commit 1320870

Browse files
authored
Bump to 1.0.4 (#16)
* Enforce py37 wheels, manual py27 wheel * reduce sdist size * remove todo: use github issues
1 parent 93f74b8 commit 1320870

File tree

6 files changed

+24
-13
lines changed

6 files changed

+24
-13
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ python:
55
- 2.7
66
- 3.4
77
- 3.5
8-
- &mainstream_python 3.6
8+
- 3.6
9+
- &mainstream_python 3.7-dev
910
- &pypy pypy
1011
- pypy3.5
11-
- 3.7-dev
1212
install:
1313
- &upgrade_python_toolset pip install --upgrade pip setuptools wheel
1414
- pip install tox-travis
@@ -21,7 +21,7 @@ jobs:
2121
fast_finish: true
2222
include:
2323
- stage: Static analisys
24-
python: *mainstream_python
24+
python: 3.6
2525
services: skip
2626
install:
2727
- *upgrade_python_toolset
@@ -52,6 +52,7 @@ jobs:
5252
- ./tools/run_docker.sh "Advanced_Descriptors"
5353
before_deploy:
5454
- pip install -r build_requirements.txt
55+
- python setup.py bdist_wheel
5556
deploy:
5657
- provider: pypi
5758
# `skip_cleanup: true` is required to preserve binary wheels, built
@@ -62,7 +63,7 @@ jobs:
6263
secure: "mG8p4UUzpz9wBdbif68NunjLp3rSED/OJw2Rh1nLBSSNcKtRBVEW4Gm/KYfHHc+kXVB66Nkda+T214kx4WhDk7lVRDKVu7ej0ze2mJX9iYmxhjOt7dcldostPAT8ZFfIvxEpS3UYGCPRbWTdOeeTe3wqz7/boVjC4DZu82nTarBJzApEn5ivtVHMs9bCedmk9Potb3FOiOscjkmEiKSllVQhgHnE/WPBOkfsaSaTCQKeTnqcCqJehNo4ki0cbmtAMpdPoR4DxAlHFK9jFD/W5Pm8s3UMkCer7vTwImINYICuibAIKEKcHdSHXOWJ6FoT21mJdgTWoZQGlAAKw8KV9R8dM6bNazV9iJbM3qUTUEJzyb08miRUf6iKxoPR1MpfqxuZ+ExGHfb0gX/Nu75aNxCSTbQ1YJD/oeXaqRQwpeGmW8vAXB9JSThfiEafymWMOKYuvgg0GPIP2RlLw7+zacfw9915VFiLpKSPrD48YU3p9jamIUeYb2aEDHpQK3rH4JUeAjdWV+a0mi0xWLjFzrVFc3R3jyUPAoxLNHLxzmb8+55pevA1JPUEYY2dolGBnZ7eXBAOIkHgEFlqqRxp4TLXoQR98eESYwrvaSV2YA11IuAJHF4bBI1pUfuUO7KiIDhacVi8VfNu5lAw8M1tInZk4aYLK6sw8L7XKq5hfZs="
6364
on:
6465
tags: true
65-
distributions: sdist bdist_wheel
66+
distributions: sdist
6667
skip_upload_docs: true
6768

6869
cache: pip

MANIFEST.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
include *.rst LICENSE requirements.txt
2+
global-exclude *.c
3+
exclude Makefile
4+
prune tools
5+
exclude .travis.yml appveyor.yml
6+
exclude tox.ini pytest.ini .coveragerc
7+
prune test
8+
prune .github
9+
exclude CODEOWNERS CODE_OF_CONDUCT.md

TODO.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

advanced_descriptors/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
'AdvancedProperty',
2222
)
2323

24-
__version__ = '1.0.3'
24+
__version__ = '1.0.4'
2525
__author__ = "Alexey Stepanov"
2626
__author_email__ = 'penguinolog@gmail.com'
2727
__maintainers__ = {

tools/build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
PYTHON_VERSIONS="cp34-cp34m cp35-cp35m cp36-cp36m"
2+
PYTHON_VERSIONS="cp34-cp34m cp35-cp35m cp36-cp36m cp37-cp37m"
33

44
# Avoid creation of __pycache__/*.py[c|o]
55
export PYTHONDONTWRITEBYTECODE=1

tox.ini

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[tox]
77
minversion = 2.0
8-
envlist = pep8, pep257, py{27,34,35,36,37,py,py3}, pylint, bandit, py{34,35,36}-nocov, docs,
8+
envlist = pep8, pep257, py{27,34,35,36,37,py,py3}, pylint, bandit, py{34,35,36,37}-nocov, docs,
99
skipsdist = True
1010
skip_missing_interpreters = True
1111

@@ -49,6 +49,13 @@ commands =
4949
pip install advanced_descriptors --no-index -f dist
5050
py.test -vv {posargs:test}
5151

52+
[testenv:py37-nocov]
53+
usedevelop = False
54+
commands =
55+
python setup.py bdist_wheel
56+
pip install advanced_descriptors --no-index -f dist
57+
py.test -vv {posargs:test}
58+
5259
[testenv:venv]
5360
commands = {posargs:}
5461

@@ -57,7 +64,7 @@ commands = {posargs:}
5764
3.4 = py34,
5865
3.5 = py35,
5966
3.6 = py36,
60-
3.7 = install, py37,
67+
3.7 = py37,
6168
pypy = install, pypy,
6269
pypy3 = install, pypy3,
6370

@@ -79,14 +86,12 @@ usedevelop = False
7986
commands = pip install ./ -vvv -U
8087

8188
[testenv:pylint]
82-
basepython = python3.6
8389
deps =
8490
pylint
8591
-r{toxinidir}/CI_REQUIREMENTS.txt
8692
commands = pylint advanced_descriptors
8793

8894
[flake8]
89-
basepython = python3.6
9095
exclude =
9196
.venv,
9297
.git,

0 commit comments

Comments
 (0)