Jonathan Eunice avatar Jonathan Eunice committed ce04c9e

fixed bug in Glob; tweaked docs

Comments (0)

Files changed (3)

 Installation
 ============
 
-::
+To install the latest version::
 
-    pip install intensional
+    pip install -U intensional
 
 To ``easy_install`` under a specific Python version (3.3 in this example)::
 
-    python3.3 -m easy_install intensional
+    python3.3 -m easy_install --upgrade intensional
     
 (You may need to prefix these with "sudo " to authorize installation. If they're
 already installed, the ``--upgrade`` flag will be helpful; add it right before the

intensional/core.py

         self.pattern = pattern
         
     def __contains__(self, item):
-        return fnmatch.fnmatch(item, self.pattern)
+        return fnmatch.fnmatch(str(item), self.pattern)
 
 class Instances(with_metaclass(MementoMetaclass, IntensionalSet)):
     """
 
 setup(
     name='intensional',
-    version=verno("0.153"),
+    version=verno("0.201"),
     author='Jonathan Eunice',
     author_email='jonathan.eunice@gmail.com',
     description='Intensional sets in Python',
     url='https://bitbucket.org/jeunice/intensional',
     packages=['intensional'],
     install_requires=['stuf>=0.9.10','mementos>=0.45'],
+    tests_require = ['tox', 'pytest'],
+    zip_safe = True,
+    keywords='intensional sets lambda expression list comprehension',
     classifiers=linelist("""
         Development Status :: 3 - Alpha
         Operating System :: OS Independent
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.