Commits

Doug Hellmann committed 5fadbfa

add namespace package declaration

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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.