Skip to content

Commit

Permalink
package structure
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatterson committed Nov 6, 2011
0 parents commit 4eb0870
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
.installed.cfg
bin/
bootstrap.py
develop-eggs/
parts/
16 changes: 16 additions & 0 deletions buildout.cfg
@@ -0,0 +1,16 @@
[buildout]
parts =
python
test
eggs = experimental.brokeninterfaces
develop = .

[python]
recipe = zc.recipe.egg
eggs = ${buildout:eggs}
interpreter = python

[test]
recipe = zc.recipe.testrunner
eggs = ${buildout:eggs}
experimental.brokeninterfaces [test]
6 changes: 6 additions & 0 deletions docs/HISTORY.txt
@@ -0,0 +1,6 @@
Changelog
=========

0.1 - Unreleased
----------------

6 changes: 6 additions & 0 deletions experimental/__init__.py
@@ -0,0 +1,6 @@
# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
39 changes: 39 additions & 0 deletions setup.py
@@ -0,0 +1,39 @@
from setuptools import setup, find_packages
import os

tests_require = ['zope.testing']

setup(name='experimental.brokeninterfaces',
version='0.1',
description="Better ZODB handling of broken interfaces",
long_description=
open(os.path.join(
"experimental", "brokeninterfaces", "README.txt")).read() + '\n\n' +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='',
author='Ross Patterson',
author_email='me@rpatterson.net',
url='http://pypi.python.org/pypi/rpatterson.listfile',
license='ZPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['experimental'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
# -*- Extra requirements: -*-
'ZODB3',
'zope.interface',
],
test_suite = "experimental.brokeninterfaces.tests.test_suite",
tests_require=tests_require,
extras_require=dict(test=tests_require),
entry_points="""
# -*- Entry points: -*-
""",
)

0 comments on commit 4eb0870

Please sign in to comment.