[issue14530] distutils's build_wininst command fails to correctly interpret the data_files argument

2021-02-03 Thread Steve Dower


Steve Dower  added the comment:

Distutils is now deprecated (see PEP 632) and all tagged issues are being 
closed. From now until removal, only release blocking issues will be considered 
for distutils.

If this issue does not relate to distutils, please remove the component and 
reopen it. If you believe it still requires a fix, most likely the issue should 
be re-reported at https://github.com/pypa/setuptools

--
nosy: +steve.dower
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14530] distutils's build_wininst command fails to correctly interpret the data_files argument

2012-05-02 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

Mario: would you like to work on a patch?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14530
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14530] distutils's build_wininst command fails to correctly interpret the data_files argument

2012-04-13 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +loewis

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14530
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14530] distutils's build_wininst command fails to correctly interpret the data_files argument

2012-04-08 Thread Mario Vilas

New submission from Mario Vilas mvi...@gmail.com:

I tried the following:

setup(

data_files = [(sys.prefix_exec, os.path.join('Win32', 'BeaEngine.dll'))]

  # (... rest of the setup call here...)

)

This works perfectly when running the python setup.py install. But when 
generating an installer (not MSI but the exe file), the installer places the 
'BeaEngine.dll' in a subdirectory called 'python27'. For 64 bit builds, the 
subdirectory is called 'Python27-x64' instead.

The paths to my python installations are C:\Python27 and C:\Python27-x64 
respectively. The target folders should have been those, not 
C:\Python27-x64\Python27-x64 which is clearly wrong.

So far my workaround was this:

data_files = [(os.path.join(sys.prefix_exec,'..'), os.path.join('Win32', 
'BeaEngine.dll'))]

But of course, now my setup.py script only works for generating the installer, 
not for installing the module from sources.

--
assignee: eric.araujo
components: Distutils
messages: 157801
nosy: Mario.Vilas, eric.araujo, tarek
priority: normal
severity: normal
status: open
title: distutils's build_wininst command fails to correctly interpret the 
data_files argument
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14530
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com