Commits

Fred Drake  committed 21b13f3

fix setup.py build problem; bump version

  • Participants
  • Parent commits 8e46696
  • Tags rel-0-9-3

Comments (0)

Files changed (5)

 _build
 _styles
 _templates
+build
+dist
 *.egg
 *.pyc
 solrpy.egg-info
 global-exclude *.pyc *.pyo
 graft docs
 graft tests
+include ez_setup.py

File docs/conf.py

 # built documents.
 #
 # The short X.Y version.
-version = '0.9.2'
+version = '0.9.3'
 # The full version, including alpha/beta/rc tags.
-release = '0.9.2'
+release = '0.9.3'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
 ez_setup.use_setuptools()
 
 from setuptools import setup, find_packages
+import solr.core
 
 setup(
     name = 'solrpy',
-    version = '0.9.2', # don't forget to update solr.core.__version__
+    # We can do this because we don't rely on getting "built" to be importable:
+    version = solr.core.__version__, # update only solr.core.__version__
     url = 'http://code.google.com/p/solrpy',
     license = 'http://opensource.org/licenses/apache2.0.php',
     packages=find_packages(),

File solr/core.py

 from xml.sax.saxutils import escape, quoteattr
 from xml.dom.minidom import parseString
 
-__version__ = "0.9.2"
+__version__ = "0.9.3"
 
 __all__ = ['SolrException', 'Solr', 'SolrConnection',
            'Response', 'SearchHandler']