Skip to content

Commit

Permalink
Fixed editable install with pip by moving code to src/plone.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Sep 5, 2023
1 parent cd63cff commit 0ce2e69
Show file tree
Hide file tree
Showing 88 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ignore =
# black takes care of spaces after commas
E231,
per-file-ignores =
plone/app/event/ical/__init__.py:F401
src/plone/app/event/ical/__init__.py:F401

##
# Add extra configuration options in .meta.toml:
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include *.rst
include LICENSE.GPL
recursive-include docs *
recursive-include plone *
recursive-include src *
global-include *.mo
global-exclude *pyc *~
prune devsrc
Expand Down
1 change: 1 addition & 0 deletions news/172.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed editable install with pip by moving code to ``src/plone``. [maurits]
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
author_email="[email protected]",
url="https://github.com/plone/plone.app.event",
license="GPL version 2",
packages=find_packages(),
packages=find_packages(where="src"),
package_dir={"": "src"},
namespace_packages=["plone", "plone.app"],
include_package_data=True,
python_requires=">=3.8",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ -82,7 +82,7 @@ deps =
zope.testrunner
-c https://dist.plone.org/release/6.0-dev/constraints.txt
commands =
zope-testrunner --all --test-path={toxinidir} -s plone.app.event {posargs}
zope-testrunner --all --test-path={toxinidir}/src -s plone.app.event {posargs}
extras =
test

Expand All @@ -106,7 +106,7 @@ deps =
zope.testrunner
-c https://dist.plone.org/release/6.0-dev/constraints.txt
commands =
coverage run --branch --source plone.app.event {envbindir}/zope-testrunner --quiet --all --test-path={toxinidir} -s plone.app.event {posargs}
coverage run --branch --source plone.app.event {envbindir}/zope-testrunner --quiet --all --test-path={toxinidir}/src -s plone.app.event {posargs}
coverage report -m --format markdown
extras =
test
Expand Down

0 comments on commit 0ce2e69

Please sign in to comment.