]> git.phdru.name Git - m_lib.git/commitdiff
Release 3.1: the library becomes a namespace package
authorOleg Broytman <phd@phdru.name>
Sun, 16 Apr 2017 11:54:05 +0000 (14:54 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 16 Apr 2017 11:54:05 +0000 (14:54 +0300)
README.txt
m_lib/__init__.py
setup.py

index e1cb47684b9ebb79e690e985b94b776c70648d57..b1c2749fae7bcb238498447d0529fb8dde86ac54 100644 (file)
@@ -1,4 +1,4 @@
-Broytman Library for Python, Copyright (C) 1996-2016 PhiloSoft Design
+Broytman Library for Python, Copyright (C) 1996-2017 PhiloSoft Design
 Author: Oleg Broytman <phd@phdru.name>
 License: GPL
 
index 541bfc86dd958d58717ab973f2c32e5a78bb0d75..bdbd21e44f3ebe248754a449a3a2c3b353964299 100644 (file)
@@ -1 +1,5 @@
-"""Broytman Library for Python, Copyright (C) 1996-2016 PhiloSoft Design"""
+"""Broytman Library for Python, Copyright (C) 1996-2017 PhiloSoft Design"""
+
+from pkgutil import extend_path
+__path__ = extend_path(__path__, __name__)
+__import__('pkg_resources').declare_namespace(__name__)
index fd400eda1f87dc53d3381c9a6f17290722627af6..b33a49bc3d7af8ea41f296c4238e9a22bd6b8a21 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -16,9 +16,9 @@ if is_setuptools:
         }
 
 setup(name = "m_lib",
-    version = "3.0.2",
+    version = "3.1.0",
     description = "Broytman Library for Python",
-    long_description = "Broytman Library for Python, Copyright (C) 1996-2016 PhiloSoft Design",
+    long_description = "Broytman Library for Python, Copyright (C) 1996-2017 PhiloSoft Design",
     author = "Oleg Broytman",
     author_email = "phd@phdru.name",
     url = "http://phdru.name/Software/Python/#m_lib",
@@ -43,5 +43,6 @@ setup(name = "m_lib",
         "m_lib.net", "m_lib.net.ftp", "m_lib.net.www",
         "m_lib.pbar", "m_lib.rus",
     ],
+    namespace_packages = ["m_lib"],
     **kw
 )