In case you guys are interested, I made a distutils installer to make
deployment a bit easier. To install this, you just need to use "python
setup.py install" (you'll probably also need to use sudo on *nix
platforms). Of course, there is some other metadata that can go here as
well (which is documented in the distutils documentation here:
http://docs.python.org/distutils/setupscript.html#additional-meta-data).
At any rate, here's the patch:
Index: setup.py
===================================================================
--- setup.py (revision 0)
+++ setup.py (revision 0)
@@ -0,0 +1,15 @@
+from distutils.core import setup
+
+setup(
+ name='django-pyodbc',
+ description='A Django external database backend for MS SQL Server',
+ long_description='A Django external database backend for MS SQL Server
that uses ODBC by employing the pyodbc library, supports SQL Server 2000
and 2005.',
+ packages=[
+ 'sql_server',
+ 'sql_server.pyodbc',
+ 'sql_server.extra',
+ 'sql_server.extra.management',
+ 'sql_server.extra.management.commands',
+ ],
+ url='http://code.google.com/p/django-pyodbc/'
+)
Original issue reported on code.google.com by amnorv...@gmail.com on 24 Feb 2009 at 5:27
Original issue reported on code.google.com by
amnorv...@gmail.com
on 24 Feb 2009 at 5:27