Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added basic structure

  • Loading branch information...
commit 0f1ce10da1f6359944800c86552d6e56629fdc55 1 parent 42d2cea
@ale-rt ale-rt authored
View
6 rt/__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__)
View
0  rt/semantic/__init__.py
No changes.
View
53 setup.py
@@ -0,0 +1,53 @@
+# -*- coding: utf-8 -*-
+"""
+This module contains the tool of rt.semantic
+"""
+import os
+from setuptools import setup, find_packages
+
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+version = '0.9.0'
+
+long_description = (
+ read('README.txt')
+ )
+
+tests_require = ['zope.testing']
+
+setup(name='rt.semantic',
+ version=version,
+ description="RedTurtle Semantic",
+ long_description=long_description,
+ # Get more strings from
+ # http://pypi.python.org/pypi?:action=list_classifiers
+ classifiers=[
+ 'Framework :: Plone',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: GNU General Public License (GPL)',
+ ],
+ keywords='',
+ author='',
+ author_email='',
+ url='https://github.com/RedTurtle/rt.semantic',
+ license='GPL',
+ packages=find_packages(exclude=['ez_setup']),
+ namespace_packages=['rt', ],
+ include_package_data=True,
+ zip_safe=False,
+ install_requires=['setuptools',
+ # -*- Extra requirements: -*-
+ ],
+ tests_require=tests_require,
+ extras_require=dict(tests=tests_require),
+ test_suite='rt.semantic.tests.test_docs.test_suite',
+ entry_points="""
+ # -*- entry_points -*-
+ [z3c.autoinclude.plugin]
+ target = plone
+ """,
+# setup_requires=["PasteScript"],
+# paster_plugins=["ZopeSkel"],
+ )

1 comment on commit 0f1ce10

@ggozad

On namespace init's no need for old try/except cruft.

Please sign in to comment.
Something went wrong with that request. Please try again.