PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 30th of April, 2019

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[11:48:25] <dkozel> Hello. I am trying to package my first Python module into a Deb package on Ubuntu (currently), but am hitting a problem where it is installed into site-packages, not dist-packages
[11:48:27] <dkozel> Looking at the distutils paths I would have guessed that it should go into dist-packages, but it doesn't
[11:48:29] <dkozel> is this a good place to ask for advice?
[11:48:31] <dkozel> The log from executing setup.py is here: https://gist.github.com/dkozel/1c1ff3357ea71bf21c69e8beeaacfa78
[11:48:33] <dkozel> The module code including setup code is here: https://github.com/dkozel/linux-gpib_debian/tree/upstream/linux-gpib-user/language/python
[11:48:35] <dkozel> and checking my paths:
[11:48:37] <dkozel> [dkozel@wyvern linux-gpib_debian] python -c "import sysconfig; print sysconfig.get_paths()['platlib']; print sysconfig.get_paths()['purelib']"
[11:48:39] <dkozel> /usr/local/lib/python2.7/dist-packages
[11:48:41] <dkozel> /usr/local/lib/python2.7/dist-packages
[11:49:17] <dkozel> Thanks to anyone who can give some advice. Soon as I can get this working I'll be moving it to Python 3 :)
[13:09:52] <mjacob> dkozel: maybe asking in an ubuntu channel is a better idea
[13:10:07] <mjacob> the link 'https://github.com/dkozel/linux-gpib_debian/tree/upstream/linux-gpib-user/language/python' doesn't work
[13:10:24] <mjacob> it's hard to give advice without seeing setup.py
[13:14:26] <dkozel> mjacob: Whoops! Fixed
[13:14:59] <dkozel> I only recently converted back to being a student so I forgot that repos might default to being private
[13:15:45] <dkozel> I tried several Debian packaging channels but they were all silent (as was #distutils)