[issue9322] bdist_rpm ext_modules absolute source path fail

2010-07-21 Thread Dan OD

New submission from Dan OD dj...@cam.ac.uk:

Setting absolute paths for C source code files in setup.py breaks bdist_rpm

ext_modules=[Extension('foo', [os.path.abspath('src/foo.c')])],

results in bdist_rpm not including src/foo.c in the RPM, however

ext_modules=[Extension('foo', ['src/foo.c'])],

works just fine.

--
assignee: tarek
components: Distutils
messages: 111058
nosy: indiedan, tarek
priority: normal
severity: normal
status: open
title: bdist_rpm ext_modules absolute source path fail
type: behavior
versions: Python 2.7

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



[issue9322] bdist_rpm ext_modules absolute source path fail

2010-07-21 Thread Dan OD

Dan OD dj...@cam.ac.uk added the comment:

I'm still ironing out the crinkles, but this has been working for

sdist
build (/install)
bdist_dumb

unfortunately I don't have access to a Windows machine to test the other two. A 
non-silent warning/error would keep me happy.

--

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



[issue9261] include higher (../../) dirs fails

2010-07-14 Thread Dan OD

New submission from Dan OD dj...@cam.ac.uk:

MANIFEST.in example:

recursive-include ../../this *.that

fails to include files with

warning: no files found matching '*.that' under directory '../../this'

and also

include ../../this *.that

fails with

warning: no files found matching '../../this'

- odd situation I know, but including files in higher directories shouldn't be 
impossible should it? Thanks, Dan

--
assignee: tarek
components: Distutils
messages: 110296
nosy: indiedan, tarek
priority: normal
severity: normal
status: open
title: include higher (../../) dirs fails
type: behavior
versions: Python 2.6

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



[issue9261] include higher (../../) dirs fails

2010-07-14 Thread Dan OD

Dan OD dj...@cam.ac.uk added the comment:

Thinking about this - maybe including dirs above ./ is bad as it's not obvious 
where they should live in the sdist. 

My alternative would be to create links to ../../this in ./ but then distutils 
creates links rather than hard copies in sdist - is this something that can be 
avoided? 

Thanks again, Dan

--

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



[issue9261] include higher (../../) dirs fails

2010-07-14 Thread Dan OD

Dan OD dj...@cam.ac.uk added the comment:

Sorry for all the noise - this dynamic link thing seems to be fixed in 2.7 
rendering this report 'closed'

Dan

--
status: open - closed

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



[issue3774] tkinter Menu.delete bug

2008-11-03 Thread Dan OD

Dan OD [EMAIL PROTECTED] added the comment:

Sorry to drag this up again, but if no-one has any complaints it would be 
a huge help if gpolo's patch could be checked in. Thanks

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3774
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4076] Cannot build non-framework tkinter Python on Mac OS X.5

2008-10-09 Thread Dan OD

Dan OD [EMAIL PROTECTED] added the comment:

Confusion - apologies - please remove this report.

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4076
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4076] Cannot build non-framework tkinter Python on Mac OS X.5

2008-10-08 Thread Dan OD

New submission from Dan OD [EMAIL PROTECTED]:

On a Mac running OS X 10.5:
As per previous releases, I have set up _tkinter in Modules/Setup.dist 
with a unix X11 Tcl/Tk build variables. 
I then run ./configure  make

This builds _tkinter with (wrongly) the Mac Tcl framework (ie not X11)

building '_tkinter' extension
gcc-4.2 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -DWITH_APPINIT=1 -
I/System/Library/Frameworks/Tcl.framework/Headers -
I/System/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeader
s -I/System/Library/Frameworks/Tk.framework/Headers -
I/System/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders 
-I/usr/X11R6/include -I. -I/Users/djo35/src/Python-3.0rc1/./Include -I. 
-IInclude -I./Include -I/usr/local/include -I/Users/djo35/src/Python-
3.0rc1/Include -I/Users/djo35/src/Python-3.0rc1 -c 
/Users/djo35/src/Python-3.0rc1/Modules/_tkinter.c -o build/temp.macosx-
10.3-i386-3.0/Users/djo35/src/Python-3.0rc1/Modules/_tkinter.o -
framework Tk

I would like this to build a unix tkinter.so - is this possible? I can't 
find a reference in the 3k documentation. Thanks, Dan

--
components: Build
messages: 74528
nosy: indiedan
severity: normal
status: open
title: Cannot build non-framework tkinter Python on Mac OS X.5
type: behavior
versions: Python 3.0

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4076
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3774] tkinter Menu.delete bug

2008-09-16 Thread Dan OD

Dan OD [EMAIL PROTECTED] added the comment:

It may be because I'm calling delete incorrectly (I don't think so - see 
below) but I'm getting an error

  File C:\CCPN\ccpn\python\memops\gui\Menu.py, line 127, in 
deleteMenuItems
self.delete(0, Tkinter.END)
  File C:\Python-2.6_svn\lib\lib-tk\Tkinter.py, line 2670, in delete
if c in self._tclCommands:
TypeError: argument of type 'NoneType' is not iterable

Which can easily be fixed with 

- if c in self._tclCommands:
+ if c and c in self._tclCommands:

line 2670 Tkinter.py

Should I create a patch or have I missed something? Thanks.

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3774
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Dan OD

Dan OD [EMAIL PROTECTED] added the comment:

Please forgive my rookie bug filing:

I'm getting this bug / crash sometimes when Menu.delete() is called too

It seems to be because self.index( ) sometimes returns None which is of 
course un-iterable and delete() tries to iterate through it:

for i in range(self.index(index1), self.index(index2)+1):

As a fix the previous (simpler) delete works for me, but I don't 
understand the purpose of the extra self.deletecommand() code appended 
so I'm probably missing something.

My crash:
  File C:\CCPN\ccpn\python\memops\gui\Menu.py, line 127, in 
deleteMenuItems
self.delete(0, Tkinter.END)
  File C:\Python26\lib\lib-tk\Tkinter.py, line 2665, in delete
for i in range(self.index(index1), self.index(index2)+1):
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'

--
nosy: +indiedan

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3774
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Dan OD

Dan OD [EMAIL PROTECTED] added the comment:

Thanks guys - I was running an old build. revision 65971 fixed this as Hirokazu 
mentioned.

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3774
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com