Update the packaging so wheels work

This commit is contained in:
Ian Cordasco 2016-06-25 11:20:28 -05:00
parent 1ec83033e9
commit 5d1150cc27
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A
3 changed files with 18 additions and 1 deletions

View file

@ -8,6 +8,9 @@ universal=1
requires-dist =
enum34; python_version<"3.4"
configparser; python_version<"3.2"
pyflakes >= 0.8.1, != 1.2.0, != 1.2.1, != 1.2.2, < 1.3.0
pycodestyle >= 2.0.0, < 2.1.0
mccabe >= 0.5.0, < 0.6.0
[pytest]
norecursedirs = .git .* *.egg* old docs dist build

View file

@ -115,7 +115,8 @@ setuptools.setup(
PEP8_PLUGIN('comparison_to_singleton'),
PEP8_PLUGIN('comparison_negative'),
PEP8_PLUGIN('comparison_type'),
PEP8_PLUGIN('ambiguous_identifier'),
# NOTE(sigmavirus24): Add this back once PyCodestyle 2.1.0 is out
# PEP8_PLUGIN('ambiguous_identifier'),
PEP8_PLUGIN('python_3000_has_key'),
PEP8_PLUGIN('python_3000_raise_comma'),
PEP8_PLUGIN('python_3000_not_equal'),

13
tox.ini
View file

@ -108,6 +108,19 @@ deps =
commands =
python setup.py check -r -s
[testenv:release]
skipsdist = true
basepython = python3
skip_install = true
use_develop = false
deps =
wheel
setuptools
twine >= 1.5.0
commands =
python setup.py -q sdist bdist_wheel
twine upload --skip-existing dist/*
# Flake8 Configuration
[flake8]
# Ignore some flake8-docstrings errors