-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I wondered if this would need to be handled as `examplecamelcase`, so all lowercase. But it seems to work fine with camel case.
- Loading branch information
1 parent
a9dfdd2
commit 30a4ad7
Showing
8 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
recursive-include src *.py | ||
recursive-include src *.zcml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
from setuptools import find_packages | ||
from setuptools import setup | ||
|
||
|
||
setup( | ||
name="ExampleCamelCase", | ||
version="1.0a1", | ||
description="An add-on for Plone", | ||
long_description="long_description", | ||
author="Maurits van Rees", | ||
author_email="m.van.rees@zestsoftware.nl", | ||
license="GPL version 2", | ||
packages=find_packages("src", exclude=["ez_setup"]), | ||
package_dir={"": "src"}, | ||
include_package_data=True, | ||
zip_safe=False, | ||
install_requires=[ | ||
"setuptools", | ||
], | ||
entry_points=""" | ||
[z3c.autoinclude.plugin] | ||
target = plone | ||
""", | ||
) |
1 change: 1 addition & 0 deletions
1
test-packages/ExampleCamelCase/src/ExampleCamelCase/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# |
10 changes: 10 additions & 0 deletions
10
test-packages/ExampleCamelCase/src/ExampleCamelCase/configure.zcml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:genericsetup="http://namespaces.zope.org/genericsetup" | ||
xmlns:i18n="http://namespaces.zope.org/i18n" | ||
xmlns:plone="http://namespaces.plone.org/plone" | ||
i18n_domain="ExampleCamelCase"> | ||
|
||
<!-- FOR TESTS: This is configure.zcml from ExampleCamelCase. --> | ||
|
||
</configure> |
11 changes: 11 additions & 0 deletions
11
test-packages/ExampleCamelCase/src/ExampleCamelCase/tests.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from example.basetestpackage.package_base import PackageTestCase | ||
|
||
import unittest | ||
|
||
|
||
class TestPackage(PackageTestCase, unittest.TestCase): | ||
project_name = "ExampleCamelCase" | ||
meta_files = [] | ||
configure_files = ["configure.zcml"] | ||
overrides_files = [] | ||
standard_z3c_autoinclude = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters