mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
Update the packaging so wheels work
This commit is contained in:
parent
1ec83033e9
commit
5d1150cc27
3 changed files with 18 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
3
setup.py
3
setup.py
|
|
@ -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
13
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue