Skip to content

Commit

Permalink
- change package structure to move package code into a src subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Mar 7, 2021
1 parent fb7e08d commit 2b7e266
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Change log
1.0.1 (unreleased)
------------------

- change package structure to move package code into a ``src`` subfolder


1.0.0 (2020-11-13)
------------------
Expand Down
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ include buildout.cfg
include zope4.cfg
include tox.ini

recursive-include Products *.py
recursive-include Products *.zpt
recursive-include src *.py
recursive-include src *.zpt
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
'License :: OSI Approved :: Zope Public License',
'Operating System :: OS Independent',
'Framework :: Zope',
'Framework :: Zope :: 3',
'Framework :: Zope :: 4',
'Framework :: Zope :: 5',
'Programming Language :: Python',
Expand Down Expand Up @@ -54,7 +53,8 @@
keywords='Zope Database adapter SQLAlchemy',
description='A generic database adapter for Zope',
long_description=long_description,
packages=find_packages(),
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"""

import logging
import os
import random
import time
import warnings
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ deps =
#flake8-quotes

commands =
isort --check-only --diff {toxinidir}/Products setup.py
flake8 Products setup.py
isort --check-only --diff {toxinidir}/src setup.py
flake8 src setup.py

0 comments on commit 2b7e266

Please sign in to comment.