Commits

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