Re: Simplified library style guide based on pybuild

2013-11-06 Thread Ben Finney
Barry Warsaw writes: > On Nov 06, 2013, at 12:52 PM, Ben Finney wrote: > > >The following “assumption about the Python package you are working on” > >survives from the historical version: > > Thanks for the review. Yeah, this did read awkwardly from the previous > version. I took a slightly diffe

Re: debian/rules for packages using Cython

2013-11-06 Thread Julian Taylor
On 06.11.2013 22:54, Tim Michelsen wrote: >> https://wiki.debian.org/Python/LibraryStyleGuide > Sorry, but I cannot see a place where I could find a hint on how to > include the cypthon rules. > A little push would be very nice. what is the error? cythoning is often just running cython file.pyx i

Re: debian/rules for packages using Cython

2013-11-06 Thread Tim Michelsen
thanks a lot for asnwering. really appreciate it! > Generally the best thing is to run cython from setup.py May I ask to provide me with an example of how such rule would look like? >> I am using this rules file: >> http://bazaar.launchpad.net/~pythonxy/pythonxy-upstream-debian/python-fiona_debia

Re: Simplified library style guide based on pybuild

2013-11-06 Thread Barry Warsaw
On Nov 06, 2013, at 12:52 PM, Ben Finney wrote: >The following “assumption about the Python package you are working on” >survives from the historical version: > > * Your Debian packaging uses debhelper, dh_python2, and is preferably >source format 3.0 (quilt). > >While that's technically acc

Re: debian/rules for packages using Cython

2013-11-06 Thread Stefano Rivera
Hi Tim (2013.11.06_02:01:39_+0200) > I am trying to package a library that contains some cython code in a > ./src folder. Generally the best thing is to run cython from setup.py > I am using this rules file: > http://bazaar.launchpad.net/~pythonxy/pythonxy-upstream-debian/python-fiona_debian/view

Bug#728882: RFP: wdb -- An improbable python web debugger through WebSockets

2013-11-06 Thread Michael Fladischer
Package: wnpp Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 * Package name: wdb Version : 1.1.0 Upstream Author : Florian Mounier * URL : https://github.com/Kozea/wdb * License : GPL Programming Lang: Python Description : An improb

Re: Running 2to3 against test suite before testing with pybuild

2013-11-06 Thread Piotr Ożarowski
[Andrii Senkovych, 2013-11-06] > pybuild --verbose --test-pytest --test-args="-v" --before-test "cp -R > {dir}/tests {build_dir}" > > This command works for py2.7 (obviously) but in order for this to work > for 3.x I have to run 2to3 against test suite itself. How can I do > that? > > Also how c

Running 2to3 against test suite before testing with pybuild

2013-11-06 Thread Andrii Senkovych
Hello, Recently I have migrated sqlparse library I maintain to pybuild. Everything went fine except that I couldn't set up running unit tests. In order to run tests I have used this command: pybuild --verbose --test-pytest --test-args="-v" --before-test "cp -R {dir}/tests {build_dir}" This com