[CalendarServer-changes] [15260] twext/trunk/setup.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 30 10:46:20 PDT 2015


Revision: 15260
          http://trac.calendarserver.org//changeset/15260
Author:   cdaboo at apple.com
Date:     2015-10-30 10:46:20 -0700 (Fri, 30 Oct 2015)
Log Message:
-----------
Only include cx_Oracle as an extra when we know the $ORACLE_HOME env var is defined.

Modified Paths:
--------------
    twext/trunk/setup.py

Modified: twext/trunk/setup.py
===================================================================
--- twext/trunk/setup.py	2015-10-30 17:43:42 UTC (rev 15259)
+++ twext/trunk/setup.py	2015-10-30 17:46:20 UTC (rev 15260)
@@ -253,15 +253,15 @@
     # OpenDirectory
     "OpenDirectory": ["pyobjc-framework-OpenDirectory"],
 
-    # Oracle
-    "Oracle": ["cx_Oracle"],
-
     # Postgres
     "Postgres": [],
 }
 
+if "ORACLE_HOME" in os.environ:
+    extras_requirements["Oracle"] = ["cx_Oracle"]
 
 
+
 #
 # Set up Extension modules that need to be built
 #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20151030/895a8548/attachment.html>


More information about the calendarserver-changes mailing list