Skip to content

Commit

Permalink
- Switch to PEP 420 implicit namespace support
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Mar 14, 2024
1 parent 9fa0373 commit 7e3d5e6
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Expand Up @@ -35,13 +35,13 @@ jobs:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: ${{ matrix.config[1] }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.config[0] }}
- name: Pip cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}
Expand Down
2 changes: 1 addition & 1 deletion .meta.toml
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[meta]
template = "zope-product"
commit-id = "acd8d239"
commit-id = "1351c95d"

[python]
with-windows = false
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -4,6 +4,8 @@ Changelog
2.2 (unreleased)
----------------

- Switch to PEP 420 implicit namespace support.


2.1 (2024-01-03)
----------------
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg
@@ -1,7 +1,5 @@
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[bdist_wheel]
universal = 0

[flake8]
doctests = 1
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Expand Up @@ -13,7 +13,6 @@
##############################################################################
import os

from setuptools import find_packages
from setuptools import setup


Expand All @@ -37,9 +36,8 @@ def read(*rnames):
author='Jens Vagelpohl and Contributors',
author_email='jens@dataflake.org',
long_description=(read('README.rst') + '\n\n' + read('CHANGES.rst')),
packages=find_packages('src'),
packages=['dataflake.wsgi.werkzeug'],
package_dir={'': 'src'},
namespace_packages=['dataflake', 'dataflake.wsgi'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
Expand Down
1 change: 0 additions & 1 deletion src/dataflake/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion src/dataflake/wsgi/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -39,7 +39,7 @@ deps =
commands_pre =
commands =
check-manifest
check-python-versions
check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
python -m build --sdist --no-isolation
twine check dist/*

Expand Down

0 comments on commit 7e3d5e6

Please sign in to comment.