Commits

Doug Hellmann committed 5fadbfa

add namespace package declaration

  • Participants
  • Parent commits 47aa40a

Comments (0)

Files changed (2)

docs/source/plugins.rst

         description = 'Enhancements to virtualenv',
     
         # ... details omitted ...
+
+        namespace_packages = [ 'virtualenvwrapper' ],
     
         entry_points = {
             'virtualenvwrapper.initialize': [
             # ... details omitted ...
             },
         )
-    
+
 The ``entry_points`` argument to ``setup()`` is a dictionary mapping
 the entry point *group names* to lists of entry point specifiers.  A
 different group name is defined by virtualenvwrapper for each
 point is the plugin name, but that is not required (the names are not
 used).
 
+.. seealso::
+
+  * `namespace packages <http://packages.python.org/distribute/setuptools.html#namespace-packages>`__
+  * `Extensible Applications and Frameworks <http://packages.python.org/distribute/setuptools.html#extensible-applications-and-frameworks>`__
+
 The Hook Loader
 ---------------
 
                ],
 
     provides=['virtualenvwrapper',
+              'virtualenvwrapper.user_scripts',
               ],
     requires=['virtualenv'],
 
+    namespace_packages = [ 'virtualenvwrapper' ],
     packages = find_packages(),
     include_package_data = True,
     # Scan the input for package information