Hi!
Jérémy Bobbio:
> It's missing Debian packaging. I guess I should learn how to write a
> setup.cfg or similar. Pointers or patches welcome.
How do you like the "Generic Packaging" [1] method?
To me it is easier than setup.cfg.
Files in etc/... in root source folder will be installed to /etc/
Hans-Christoph Steiner:
> Also, I updated the setup.py for two small things. I recommend using code
> checkers like pyflakes and pylint:
>
> $ pyflakes *.py debbindiff/*.py
> debbindiff/difference.py:20: 'difflib' imported but unused
> debbindiff/difference.py:41: redefinition of function 'comment
Comparing jars gives a stacktrace, looks like a missing import.
$ ./debbindiff.py
~/code/guardianproject/cacheword/cachewordlib/cachewordlib-v0.1-1-g04cb18e.jar
/tmp/cachewordlib-v0.1-1-g04cb18e.jar
Traceback (most recent call last):
File "./debbindiff.py", line 53, in
main()
File "./deb
Definitely use setup.py. It makes the packaging easy and standardized, and it
is the standard way to build python. It also makes it easy to publish
releases to pypi, the central package repository for python. I attached a
quick untested one for you.
.hc
Jérémy Bobbio wrote:
> Hi!
>
> I've be