diff --git a/setup.py b/setup.py index 3fd4509f..1db28896 100755 --- a/setup.py +++ b/setup.py @@ -203,7 +203,7 @@ def define_the_build(self, dist, system_name, run_make = True, patch_x = ''): binsrc = sum((glob("%s" % x) for x in system.get('bin', [])), []) # Specify what to install. - py_version = (string.split(sys.version))[0] + py_version = sys.version.split()[0] pylibdir = '%slib/python%s/site-packages' % (patch_x, py_version[0:3]) dist.py_modules = system.get('pythonmods', []) dist.packages = system.get('pythonpkg', []) @@ -265,7 +265,8 @@ def run(self): cmd.force = self.force cmd.ensure_finalized() cmd.run() - self.generate_docs() + # Stop calling generate_docs temporary + # self.generate_docs() self.distribution.have_run[command] = 1 class InstallCommand(install):