Diff of /pyke/target_pkg.py [2aac52] .. [2922d1]  Maximize  Restore

  Switch to unified view

a/pyke/target_pkg.py b/pyke/target_pkg.py
...
...
114
                    package_parent_dir = \
114
                    package_parent_dir = \
115
                      os.path.dirname(
115
                      os.path.dirname(
116
                        # This import better work!
116
                        # This import better work!
117
                        import_(self.package_name[:last_dot]).__file__)
117
                        import_(self.package_name[:last_dot]).__file__)
118
                    if filename is not None:
118
                    if filename is not None:
119
                        assert os.path.normpath(
119
                        assert os.path.normpath(package_parent_dir) == \
120
                                 os.path.abspath(package_parent_dir)) == \
120
                                 os.path.normpath(
121
                               os.path.normpath(
121
                                   os.path.dirname(os.path.dirname(filename)))
122
                                 os.path.dirname(os.path.dirname(filename))), \
123
                          "Internal error: %r != %r" % (
124
                            os.path.normpath(
125
                              os.path.abspath(package_parent_dir)),
126
                            os.path.normpath(
127
                              os.path.dirname(os.path.dirname(filename))))
122
                if debug:
128
                if debug:
123
                    print >> sys.stderr, "target_pkg package_parent_dir:", \
129
                    print >> sys.stderr, "target_pkg package_parent_dir:", \
124
                                         package_parent_dir
130
                                         package_parent_dir
125
                target_package_dir = \
131
                target_package_dir = \
126
                    os.path.join(package_parent_dir,
132
                    os.path.join(package_parent_dir,

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks