Skip to content

Commit 9cd8e77

Browse files
committed
- Switch to PEP 420 implicit namespace support
1 parent 7095ab1 commit 9cd8e77

File tree

8 files changed

+8
-12
lines changed

8 files changed

+8
-12
lines changed

.github/workflows/tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
3636
name: ${{ matrix.config[1] }}
3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939
- name: Set up Python
40-
uses: actions/setup-python@v4
40+
uses: actions/setup-python@v5
4141
with:
4242
python-version: ${{ matrix.config[0] }}
4343
- name: Pip cache
44-
uses: actions/cache@v3
44+
uses: actions/cache@v4
4545
with:
4646
path: ~/.cache/pip
4747
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}

.meta.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
33
[meta]
44
template = "zope-product"
5-
commit-id = "acd8d239"
5+
commit-id = "1351c95d"
66

77
[python]
88
with-windows = false

CHANGES.rst

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Changelog
44
2.2 (unreleased)
55
----------------
66

7+
- Switch to PEP 420 implicit namespace support.
8+
79

810
2.1 (2024-01-03)
911
----------------

setup.cfg

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Generated from:
22
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
3-
[bdist_wheel]
4-
universal = 0
53

64
[flake8]
75
doctests = 1

setup.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
##############################################################################
1414
import os
1515

16-
from setuptools import find_packages
1716
from setuptools import setup
1817

1918

@@ -37,9 +36,8 @@ def read(*rnames):
3736
author='Jens Vagelpohl and Contributors',
3837
author_email='[email protected]',
3938
long_description=(read('README.rst') + '\n\n' + read('CHANGES.rst')),
40-
packages=find_packages('src'),
39+
packages=['dataflake.wsgi.cheroot'],
4140
package_dir={'': 'src'},
42-
namespace_packages=['dataflake', 'dataflake.wsgi'],
4341
classifiers=[
4442
'Development Status :: 5 - Production/Stable',
4543
'Environment :: Web Environment',

src/dataflake/__init__.py

-1
This file was deleted.

src/dataflake/wsgi/__init__.py

-1
This file was deleted.

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ deps =
3939
commands_pre =
4040
commands =
4141
check-manifest
42-
check-python-versions
42+
check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
4343
python -m build --sdist --no-isolation
4444
twine check dist/*
4545

0 commit comments

Comments
 (0)