cx_Freeze /

Diff from to
 from distutils.core import setup
 from distutils.extension import Extension
-CX_LOGGING_TAG = "trunk"
 class bdist_rpm(distutils.command.bdist_rpm.bdist_rpm):
     # rpm automatically byte compiles all Python files in a package but we
 def find_cx_Logging():
-    currentDir = os.getcwd()
-    dirName, baseName = os.path.split(currentDir)
-    parts = [dirName, ".."]
-    if baseName != "trunk":
-        parts.append("..")
-    parts.append("cx_Logging")
-    if CX_LOGGING_TAG != "trunk":
-        parts.append("tags")
-    parts.append(CX_LOGGING_TAG)
-    loggingDir = os.path.normpath(os.path.join(*parts))
+    dirName = os.path.dirname(os.getcwd())
+    loggingDir = os.path.join(dirName, "cx_Logging")
     if not os.path.exists(loggingDir):
     subDir = "implib.%s-%s" % (distutils.util.get_platform(), sys.version[:3])
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
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.