summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Raggam <raggam-nl@adm.at>2011-03-26 20:38:31 (GMT)
committerJohannes Raggam <raggam-nl@adm.at>2011-03-26 20:38:31 (GMT)
commit1895a295f08f482f18c3ae21bcae9c3165d30d13 (patch)
tree2917c06d635710ae10ded65efd68edf529ea94d9
parentd277b4a96830dac291fa77c710ffcba1c802407d (diff)
refactoring package structure
-rw-r--r--helsinki/__init__.py6
-rw-r--r--setup.py9
2 files changed, 9 insertions, 6 deletions
diff --git a/helsinki/__init__.py b/helsinki/__init__.py
new file mode 100644
index 0000000..f48ad10
--- /dev/null
+++ b/helsinki/__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__)
diff --git a/setup.py b/setup.py
index 42f6133..bbd3d99 100644
--- a/setup.py
+++ b/setup.py
@@ -16,10 +16,10 @@ setup(name='helsinki.program',
keywords='django radio',
author='Ernesto Rico-Schmidt',
author_email='',
- url='',
- license='',
+ url='https://github.com/nnrcschmdt/helsinki/',
+ license='GPL',
packages=find_packages(exclude=['ez_setup']),
- namespace_packages=[],
+ namespace_packages=['helsinki',],
include_package_data=True,
zip_safe=False,
install_requires=[
@@ -30,7 +30,4 @@ setup(name='helsinki.program',
'PyYAML',
'MySQL-python',
],
- entry_points="""
- # -*- Entry points: -*-
- """,
)