diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..a10e1fb --- /dev/null +++ b/.flake8 @@ -0,0 +1,4 @@ +[flake8] +max-line-length = 125 +exclude = .git,__pycache__,docs/conf.py,build,dist,tmp,venv +extend-ignore = E203, W50 diff --git a/MANIFEST.in b/MANIFEST.in index 23263f6..dd97c96 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,6 +3,7 @@ include *.txt include *.cfg include LICENSE include pyproject.toml +include .flake8 recursive-include aqt *.ini recursive-include aqt *.json recursive-include docs *.bat diff --git a/pyproject.toml b/pyproject.toml index 55701cd..ff9cfdd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,6 +136,7 @@ markers = [ legacy_tox_ini = """ [tox] envlist = check, docs, py{36,37,38,39,310}, py39d, mprof, fil +isolated_build = True [testenv] passenv = @@ -153,7 +154,7 @@ basepython = python3.8 extras = check commands = check-manifest {toxinidir} - flake8 aqt tests setup.py + flake8 aqt tests [testenv:docs] basepython = python3.8 diff --git a/setup.cfg b/setup.cfg index b730654..1cea002 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,11 +1,3 @@ -[flake8] -max-line-length = 125 -exclude = .git,__pycache__,docs/conf.py,build,dist,tmp,venv -extend-ignore = E203, W50 - -[bdist_wheel] -universal=1 - [metadata] name = aqtinstall description = Another unofficial Qt installer diff --git a/setup.py b/setup.py index 2aab7ab..a4f49f9 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,2 @@ -#!/usr/bin/env python - -from setuptools import setup - -setup(setup_requires=["setuptools_scm"], use_scm_version=True) +import setuptools +setuptools.setup()