Bug Report: The return -- bdist includes local python executables path in archives

e.g. [for the PyOpenGL project] python 1.5.2 install directory is d:/bin/lang/python. When I run setup bdist (with info zip), I get an archive where the paths are specified as: bin\lang\python\OpenGL\* As the bin/lang/python directories were copied into the bdist.win32/dumb directory during collection of the files. Of course, on anyone else's machine, that's just a royal pain, so I'd prefer not to have it occur (I'm just creating the archive manually again today). Distutils 0.9.2 Oh, another thing, you might want the default names for binary archives to include the Python version? Py2, Py152, or something so that people don't get the wrong distributions for their Python versions. Enjoy, Mike

Oh, another thing, you might want the default names for binary archives to include the Python version? Py2, Py152, or something so that people don't get the wrong distributions for their Python versions. Use the --target-version option for bdist_wininst. Under bdist_rpm use --requires.
Bastian

e.g. [for the PyOpenGL project] python 1.5.2 install directory is d:/bin/lang/python. When I run setup bdist (with info zip), I get an archive where the paths are specified as: bin\lang\python\OpenGL\*
i have the exact same problem. the ZIP created by bdist includes my full python installation path. only helpful if other users have installed python with the same path.

Pete Shinners wrote:
e.g. [for the PyOpenGL project] python 1.5.2 install directory is d:/bin/lang/python. When I run setup bdist (with info zip), I get an archive where the paths are specified as: bin\lang\python\OpenGL\*
i have the exact same problem. the ZIP created by bdist includes my full python installation path. only helpful if other users have installed python with the same path.
try the following: python setup.py bdist install --install-lib=/ (The install part of the command line sets a parameter for the internal install that is executed by bdist.) Kind regards Rene Liebscher
participants (4)
-
Bastian Kleineidam
-
Mike Fletcher
-
Pete Shinners
-
Rene Liebscher