[Tile-serving] [osm2pgsql] Providing Windows binaries/packages (#17)

klonuo notifications at github.com
Mon Aug 11 14:01:18 UTC 2014


> The line from pwd import getpwnam seems to be not needed but I created fake pwd.py anyway.

Looking at the test file, that line is unused import, which should be commented / deleted

> Then the tests start, but give many errors (it uses /tmp, sudo, and other Unix-specific things).

Except calls to `osm2pgsql` there are two more process calls at lines [543](https://github.com/openstreetmap/osm2pgsql/blob/master/tests/regression-test.py#L543) which can be commented/ignored, and [605](https://github.com/openstreetmap/osm2pgsql/blob/master/tests/regression-test.py#L605) which can be replaced with `os.rmdir()`

You perhaps did also search/replace on "/tmp/psql-tablespace" to Windows sane name.

I can't see other problems assuming parameters passed to `osm2pgsql` are valid.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/17#issuecomment-51783627
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140811/b89a1dbd/attachment.html>


More information about the Tile-serving mailing list