Hi Skip, I'm coming back from holidays today. Do you still have the problem described below? Anyway, it's not clear to me how it relates to pylint itself.
On 06 août 09:59, Skip Montanaro wrote: > I'm trying to package up pylint 1.0 for our local installation. For > the most part, the simple tar archive seems ideal, however the path > components in the generated tar file have an unwanted prefix. Our > Python installation is in /opt/TWWfsw/python27, so > ./opt/TWWfsw/python27 appears as a prefix to all components of the tar > file: > > % tar tfz dist/pylint-1.0.0.share.tar.gz | head > ./ > ./opt/ > ./opt/TWWfsw/ > ./opt/TWWfsw/python27/ > ./opt/TWWfsw/python27/lib/ > ./opt/TWWfsw/python27/lib/python2.7/ > ./opt/TWWfsw/python27/lib/python2.7/site-packages/ > ./opt/TWWfsw/python27/lib/python2.7/site-packages/pylint-1.0.0-py2.7.egg-info/ > ./opt/TWWfsw/python27/lib/python2.7/site-packages/pylint-1.0.0-py2.7.egg-info/dependency_links.txt > ./opt/TWWfsw/python27/lib/python2.7/site-packages/pylint-1.0.0-py2.7.egg-info/top_level.txt > > I would like that to be: > > % tar tfz dist/pylint-1.0.0.share.tar.gz | head > ./ > ./lib/ > ./lib/python2.7/ > ./lib/python2.7/site-packages/ > ./lib/python2.7/site-packages/pylint-1.0.0-py2.7.egg-info/ > ./lib/python2.7/site-packages/pylint-1.0.0-py2.7.egg-info/dependency_links.txt > ./lib/python2.7/site-packages/pylint-1.0.0-py2.7.egg-info/top_level.txt > > How do I manage that? The bdist command doesn't accept a --prefix arg. > > Alternatively, I'd like the install command to work properly. It does > the right thing path-wise, but only installs lib, not bin: > > % ls -l /var/tmp/pylint-1.0/ > total 4 > drwxrwxr-x 3 skipm snake 4096 Aug 6 09:44 lib > > Thx, > > Skip > _______________________________________________ > code-quality mailing list > code-quality@python.org > http://mail.python.org/mailman/listinfo/code-quality > c -- Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42) Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services CubicWeb, the semantic web framework: http://www.cubicweb.org _______________________________________________ code-quality mailing list code-quality@python.org http://mail.python.org/mailman/listinfo/code-quality