Ticket #39 (reopened defect)

Opened 21 months ago

Last modified 6 weeks ago

Various patches for Python 2.6 support

Reported by: openticket Owned by: giovannibajo
Priority: normal Milestone: PyInstaller 1.5
Component: PyInstaller Version:
Severity: normal Keywords: patch python26 encodings
Cc:

Description

Please find enclosed a diff I ran just now on the tree as it stands after this morning playing around with it. I've made a couple of changes that should be reviewed:

• Added exceptions for MSVC9 related dlls to the exclude list • Altered the dll dependency walking code so it doesnt warn when it doesn't find a dll that is in the exclude list. • Added my cheesy hack for the issue importing encodings on Python 2.6 (see earlier mail). This needs resolving properly but it will at least work like this. • Commented out some print statements that cause ugly logging in production code.

I hope that someone can find the time to review the issues I've found over the last day or so and either apply my patches or find another fix.

Attachments

PyInstaller-Tweaks.diff Download (4.3 KB) - added by jkp@kirkconsulting.co.uk 21 months ago.
Patches described in ticket
pyinstaller-py26-win-tweaks-20090321.patch Download (58.6 KB) - added by florian.hoech@gmx.de 17 months ago.
+Windows assembly dependency support, manifest support, resource embedding/updating support
pyinstaller-trunk-r659-py26-win-tweaks-20090504.patch Download (67.8 KB) - added by openticket 15 months ago.
New patch for trunk r659. It supersedes previous one.
pyinstaller-trunk-r672-py26-win-tweaks-20090522.patch Download (58.5 KB) - added by openticket 15 months ago.
- Removed iu.py patch as it should no longer be needed (fix was commited in r671)
pyinstaller-trunk-r681-py26-win-tweaks-20090618.patch Download (58.3 KB) - added by openticket 13 months ago.
- chg: assembly file handling code now uses glob instead of os.listdir and re.match
pyinstaller-trunk-r690-py26-win-tweaks-20090728.patch Download (60.5 KB) - added by openticket 12 months ago.
- chg: assemblies are now put into their own subfolder, also bindepend.py <filename> will show dependent assemblies
pyinstaller-trunk-r690-py26-win-tweaks-20090730.patch Download (78.9 KB) - added by openticket 12 months ago.
- chg: python 2.3 compatibility (like pyinstaller), moved example files to subfolder, slight changes to assembly dependency code, a few fixes and additions to manifest.py (see changelog in file), re-formatted code for better PEP8 compliance (hopefully)
pyinstaller-trunk-r701-py26-win-tweaks-20090821.patch Download (74.0 KB) - added by openticket 11 months ago.
Updated patch for pyinstaller r701. It supersedes previous patches.
pyinstaller-trunk-r701-py26-win-tweaks-20090825.patch Download (74.3 KB) - added by openticket 11 months ago.
Fixed Vista/Windows? 7 support and added mscree.dll (part of MS .NET Framework) to exlude list.
pyinstaller-trunk-r747-py26-win-tweaks-20091102.patch Download (74.3 KB) - added by florian.hoech@gmx.de 9 months ago.
Patch updated for r747. All previous patches superseded as usual.
pyinstaller-trunk-r747-py26-win-tweaks-20091213.patch Download (74.5 KB) - added by florian.hoech@gmx.de 8 months ago.
+ re-added MSVC*80 and MSVC*90 DLL excludes (must've accidentally deleted them ). + bugfix: skip invalid/empty dependent assemblies
pyinstaller-trunk-r768-py26-win-tweaks-20100210.patch Download (76.1 KB) - added by florian.hoech@gmx.de 6 months ago.
+ allow for custom manifest in spec file not only as file, but also as XML or Manifest instance; + raise ManifestXMLParseError when XML parsing errors occur

Change History

Changed 21 months ago by jkp@kirkconsulting.co.uk

Patches described in ticket

  Changed 19 months ago by giovannibajo

Hi JRP, you shouldn't need adding python26.dll to the exclude list. Why are you doing so?

Changed 17 months ago by florian.hoech@gmx.de

+Windows assembly dependency support, manifest support, resource embedding/updating support

  Changed 17 months ago by openticket

Hi, I've attached a new patch for Python 2.6 under Windows (pyinstaller-py26-win-tweaks-20090321.patch) which adds assembly dependency support, manifest file support and general resource embedding/updating support (as announced here  http://groups.google.com/group/PyInstaller/browse_thread/thread/4b5d827412deb1c2). The original patch from jkp is also included (sans the MSVC9 and python26 DLL exclusion). The patch is tested against pyinstaller trunk rev. 646.

Changed 15 months ago by openticket

New patch for trunk r659. It supersedes previous one.

Changed 15 months ago by openticket

- Removed iu.py patch as it should no longer be needed (fix was commited in r671)

  Changed 14 months ago by giovannibajo

  • milestone changed from PyInstaller 1.4 to PyInstaller 1.5

Changed 13 months ago by openticket

- chg: assembly file handling code now uses glob instead of os.listdir and re.match

Changed 12 months ago by openticket

- chg: assemblies are now put into their own subfolder, also bindepend.py <filename> will show dependent assemblies

Changed 12 months ago by openticket

- chg: python 2.3 compatibility (like pyinstaller), moved example files to subfolder, slight changes to assembly dependency code, a few fixes and additions to manifest.py (see changelog in file), re-formatted code for better PEP8 compliance (hopefully)

Changed 11 months ago by openticket

Updated patch for pyinstaller r701. It supersedes previous patches.

Changed 11 months ago by openticket

Fixed Vista/Windows? 7 support and added mscree.dll (part of MS .NET Framework) to exlude list.

Changed 9 months ago by florian.hoech@gmx.de

Patch updated for r747. All previous patches superseded as usual.

Changed 8 months ago by florian.hoech@gmx.de

+ re-added MSVC*80 and MSVC*90 DLL excludes (must've accidentally deleted them ). + bugfix: skip invalid/empty dependent assemblies

Changed 6 months ago by florian.hoech@gmx.de

+ allow for custom manifest in spec file not only as file, but also as XML or Manifest instance; + raise ManifestXMLParseError when XML parsing errors occur

follow-up: ↓ 5   Changed 5 months ago by fhoech

Important note: These patches are now obsolete.

People interested in Python 2.6 support on Windows are encouraged to try the branch called 'py26win' (svn.pyinstaller.org/branches/py26win) instead of these patches from now on.

in reply to: ↑ 4   Changed 3 months ago by mike3050

Replying to fhoech:

Important note: These patches are now obsolete. People interested in Python 2.6 support on  life insurance quotes Windows are encouraged to try the branch called 'py26win' (svn.pyinstaller.org/branches/py26win) instead of these patches from now on.

Thank you.

  Changed 3 months ago by Koopo

Another way that many people build backlinks for  http://pika009.co.cc their website is to use Social Bookmarking websites. A Social Bookmark is a website that usually has a very popular 'community' aspect to it. Users sign up and create profiles on the  http://pika010.co.cc sites that contain photos and information about themselves. They then can save bookmarks of favorite websites which can  http://pika011.co.cc be itemized by 'tags', which are one or two word descriptions of what the sites contain, and these bookmarks can be saved to a list that's private or can be listed publicly, so that everybody  http://pika012.co.cc can see it.

  Changed 3 months ago by Ioop

Our most common experience with web content is  http://pika021.co.cc what we view through the portal of our web browser, which generally consists of text and graphics, but the web is much more than this. Anyone who has ever used RealPlayer?, Windows Media Player,  http://pika022.co.cc or Quicktime knows that these programs can play video content from the web. In fact, in many cases it is unnecessary to open a browser at all. These media players are themselves browsers. They can access web-based multimedia content, and some can even display HTML content. Take  http://pika023.co.cc a quick look at these screen shots of pages on CNN.com and BBC.co.uk: There are links throughout these sites that allow users to access  http://pika024.co.cc video clips (though, in the case of CNN.com, you have to first subscribe to the service).

  Changed 3 months ago by Geer

Video, audio, and multimedia content is becoming  http://pika025.co.cc more and more common on the web. Video content is available on most major news web sites, even some local news web sites. Unfortunately for those who are deaf, captioned audio is still almost nonexistent on the web. The tools to caption web video exist, and the concept of captioning has been around for decades. It's just a matter of  http://pika026.co.cc doing it. Captioned web video is even required by law in some places (i.e. federal government and other web sites that fall under Section  http://pika027.co.cc 508 of the United States). Types of Auditory Disabilities In some ways, the content of this section is more than you need to know in order to make web content accessible to people who are deaf or hard of hearing, but it is included here in the hope that with increased understanding comes increased appreciation to such individuals, and an increased  http://pika028.co.cc commitment to providing content that is accessible to them.

  Changed 3 months ago by Ikolk

One of the most important social  http://pika037.co.cc consequences is that women's voices are more difficult to understand. Low tone hearing loss is the inability to hear low tones. Male voices are difficult to hear and understand. Deaf-blindness is the condition of being both deaf and blind. Individuals who are deaf-blind often communicate by sign language, but they must be  http://pika040.co.cc able to feel the signs the other person is making, by essentially holding the hands of the other person while conversing. When accessing web content, they generally use refreshable Braille devices that allow them to access all of the textual content of  http://pika038.co.cc the web page, including alternative text for images. Causes of Hearing Loss Most deafness occurs early in life, most often through genetic or perinatal causes. Deafness can also occur as a result of middle ear infections (otitis media), which are most common  http://pika039.co.cc in young children. It is also possible to experience deafness later in life, though traumatic injury or diseases. Additionally, hearing loss is a common part of the aging process, especially in men. Here are a few web resources about the causes of deafness (these links open in a new window).

  Changed 3 months ago by Opppo

For example, Donald Kelley of Kelley  http://pika049.co.cc Frame and Art Galleries, with locations in Minnesota and Wisconsin, continually tries to improve his e-mail list. My goal is to collect 150 new e-mail names every month and send out a new e-mail message to this list every two weeks. 2 They avoid comfort zones To a successful person, standing still feels like going backwards. People  http://pika050.co.cc who stay in their comfort zones do what they did before because it's the way we've always done it: They run the same ads, buy  http://pika051.co.cc the same merchandise in the same way and avoid anything new, different or unusual because they feel they might do something wrong. They blame any lack of business on the weather, the time of the year, the economy--anything except for themselves. Successful gallery owners attend art shows, read catalogs and visit other  http://pika052.co.cc galleries in their travels. They are always searching to find unique art exclusive to their galleries. They take control of their own destiny and market their businesses as exciting destinations.

  Changed 3 months ago by Ioioioi

Successful people follow the  http://pika053.co.cc theory of Apple Computer's founder Steve Jobs, who said, The journey is the reward. They are customer focused, not product focused. Their thrill is not the ringing of the register but the crowds responding to their mailing. For them, there is no greater high than a line outside the store before the doors open. They solve problems rather than place blame  http://pika054.co.cc telephone pole blocked the view of Ron Bishop's Canadian gallery. He knew it would be difficult, if not impossible, to  http://pika055.co.cc have the telephone pole moved. His solution was to paint the pole with an Impressionistic theme. Once it was finished, the local paper came, took a picture and wrote a story about it. It was great publicity, said Bishop.  http://pika056.co.cc And then the calls started coming, asking, 'Is it for sale?

  Changed 2 months ago by giovannibajo

  • status changed from new to closed
  • resolution set to fixed

The branch is now fully merged in trunk, thanks!

  Changed 2 months ago by anonymous

Однако  http://dosugynas01.co.cc это ещё не всё. Теперь  http://dosugynas02.co.cc Вы должны научиться признавать достоинства другого. Почаще вспоминайте о том, чего хочет тот, с кем Вы общаетесь и пореже думайте  http://dosugynas03.co.cc о собственном Я. От  http://dosugynas04.co.cc Вас потребуется полная открытость и доброжелательность. Итак, уверенность и доброжелательность - вот ключ к успеху в общении!

  Changed 2 months ago by anonymous

Психология  http://dosugynas05.co.cc общения:  http://dosugynas06.co.cc почему одни люди уверены в себе, а другие нет? Можно  http://dosugynas07.co.cc ли выработать уверенность в себе? Да, выработать  http://dosugynas08.co.cc уверенность можно, но обо всём по-порядку.

  Changed 6 weeks ago by anonymous

  • status changed from closed to reopened
  • resolution fixed deleted

Add/Change #39 (Various patches for Python 2.6 support)

Author


E-mail address and user name can be saved in the Preferences.


Action
as reopened
 
Note: See TracTickets for help on using tickets.