diff options
| author | Alex Grönholm <alex.gronholm@nextday.fi> | 2020-01-22 00:30:10 +0200 |
|---|---|---|
| committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2020-01-22 08:40:15 +0200 |
| commit | e29a5bdd0817f4068aac83edf110caf7c421f574 (patch) | |
| tree | 0442ecf608a9df717cb2d41dcb8ebc66e72c8512 | |
| parent | 590bcb7e84683e132c965a75540f2d1a20100299 (diff) | |
| download | wheel-git-e29a5bdd0817f4068aac83edf110caf7c421f574.tar.gz | |
Migrated to the src layout
Fixes #37.
| -rw-r--r-- | .github/workflows/codeqa-test-tag.yml | 2 | ||||
| -rw-r--r-- | MANIFEST.in | 2 | ||||
| -rw-r--r-- | docs/news.rst | 1 | ||||
| -rw-r--r-- | setup.cfg | 6 | ||||
| -rw-r--r-- | src/wheel/__init__.py (renamed from wheel/__init__.py) | 0 | ||||
| -rw-r--r-- | src/wheel/__main__.py (renamed from wheel/__main__.py) | 0 | ||||
| -rw-r--r-- | src/wheel/bdist_wheel.py (renamed from wheel/bdist_wheel.py) | 0 | ||||
| -rw-r--r-- | src/wheel/cli/__init__.py (renamed from wheel/cli/__init__.py) | 0 | ||||
| -rwxr-xr-x | src/wheel/cli/convert.py (renamed from wheel/cli/convert.py) | 0 | ||||
| -rw-r--r-- | src/wheel/cli/pack.py (renamed from wheel/cli/pack.py) | 0 | ||||
| -rw-r--r-- | src/wheel/cli/unpack.py (renamed from wheel/cli/unpack.py) | 0 | ||||
| -rw-r--r-- | src/wheel/macosx_libfile.py (renamed from wheel/macosx_libfile.py) | 0 | ||||
| -rw-r--r-- | src/wheel/metadata.py (renamed from wheel/metadata.py) | 0 | ||||
| -rw-r--r-- | src/wheel/pep425tags.py (renamed from wheel/pep425tags.py) | 0 | ||||
| -rw-r--r-- | src/wheel/pkginfo.py (renamed from wheel/pkginfo.py) | 0 | ||||
| -rw-r--r-- | src/wheel/util.py (renamed from wheel/util.py) | 0 | ||||
| -rw-r--r-- | src/wheel/wheelfile.py (renamed from wheel/wheelfile.py) | 0 | ||||
| -rw-r--r-- | tox.ini | 6 |
18 files changed, 11 insertions, 6 deletions
diff --git a/.github/workflows/codeqa-test-tag.yml b/.github/workflows/codeqa-test-tag.yml index 633eeca..5741abb 100644 --- a/.github/workflows/codeqa-test-tag.yml +++ b/.github/workflows/codeqa-test-tag.yml @@ -10,7 +10,7 @@ jobs: - name: Check code style with Flake8 uses: TrueBrain/actions-flake8@v1.2 with: - path: wheel tests + path: src tests test: needs: [flake8] diff --git a/MANIFEST.in b/MANIFEST.in index ee0533e..863d1da 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -recursive-include wheel *.py +recursive-include src *.py recursive-include tests *.py *.h *.txt *.c *.dynlib recursive-include docs *.py *.rst make.bat Makefile include tests/testdata/test-1.0-py2.py3-none-any.whl diff --git a/docs/news.rst b/docs/news.rst index 25c2c07..e9423b1 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -9,6 +9,7 @@ Release Notes - Updated project packaging and testing configuration for :pep:`517` - Moved the contents of setup.py to setup.cfg - Fixed duplicate RECORD file when using "wheel pack" on Windows +- Switched the project to use the "src" layout **0.33.6 (2019-08-18)** @@ -29,10 +29,15 @@ keywords = wheel, packaging license = MIT [options] +package_dir= + = src packages = find: python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* zip_safe = False +[options.packages.find] +where = src + [options.extras_require] test = pytest >= 3.0.0 @@ -50,7 +55,6 @@ testpaths = tests [coverage:run] source = wheel -omit = .tox/* [coverage:report] show_missing = true diff --git a/wheel/__init__.py b/src/wheel/__init__.py index 5df0e1b..5df0e1b 100644 --- a/wheel/__init__.py +++ b/src/wheel/__init__.py diff --git a/wheel/__main__.py b/src/wheel/__main__.py index b3773a2..b3773a2 100644 --- a/wheel/__main__.py +++ b/src/wheel/__main__.py diff --git a/wheel/bdist_wheel.py b/src/wheel/bdist_wheel.py index 014983c..014983c 100644 --- a/wheel/bdist_wheel.py +++ b/src/wheel/bdist_wheel.py diff --git a/wheel/cli/__init__.py b/src/wheel/cli/__init__.py index 95740bf..95740bf 100644 --- a/wheel/cli/__init__.py +++ b/src/wheel/cli/__init__.py diff --git a/wheel/cli/convert.py b/src/wheel/cli/convert.py index 154f1b1..154f1b1 100755 --- a/wheel/cli/convert.py +++ b/src/wheel/cli/convert.py diff --git a/wheel/cli/pack.py b/src/wheel/cli/pack.py index af6e81c..af6e81c 100644 --- a/wheel/cli/pack.py +++ b/src/wheel/cli/pack.py diff --git a/wheel/cli/unpack.py b/src/wheel/cli/unpack.py index 2e9857a..2e9857a 100644 --- a/wheel/cli/unpack.py +++ b/src/wheel/cli/unpack.py diff --git a/wheel/macosx_libfile.py b/src/wheel/macosx_libfile.py index a903688..a903688 100644 --- a/wheel/macosx_libfile.py +++ b/src/wheel/macosx_libfile.py diff --git a/wheel/metadata.py b/src/wheel/metadata.py index 914dc75..914dc75 100644 --- a/wheel/metadata.py +++ b/src/wheel/metadata.py diff --git a/wheel/pep425tags.py b/src/wheel/pep425tags.py index c0a8c46..c0a8c46 100644 --- a/wheel/pep425tags.py +++ b/src/wheel/pep425tags.py diff --git a/wheel/pkginfo.py b/src/wheel/pkginfo.py index 115be45..115be45 100644 --- a/wheel/pkginfo.py +++ b/src/wheel/pkginfo.py diff --git a/wheel/util.py b/src/wheel/util.py index 3ae2b44..3ae2b44 100644 --- a/wheel/util.py +++ b/src/wheel/util.py diff --git a/wheel/wheelfile.py b/src/wheel/wheelfile.py index fa00258..fa00258 100644 --- a/wheel/wheelfile.py +++ b/src/wheel/wheelfile.py @@ -10,11 +10,11 @@ skip_missing_interpreters = true isolated_build = true [testenv] -commands = python -m pytest {posargs} +commands = pytest {posargs} extras = test [testenv:flake8] -basepython = python2.7 +basepython = python3 deps = flake8 -commands = flake8 wheel tests +commands = flake8 src tests skip_install = true |
