[Distutils] py2dsc --with-python3=True not producing python3- packages

Brett Cannon brett at python.org
Thu Oct 22 12:24:53 EDT 2015


Distutils-sig has nothing to do with py2dsc so I doubt anyone can really
help here unfortunately. I would try reaching out to py2dsc or the
flask-login team.

On Wed, 21 Oct 2015 at 13:51 Marques Johansson <marques at displague.com>
wrote:

> I assume I am doing something wrong, but the man page seems a bit light on
> the matter.  Does it have something to do with "python setup.py" being
> called instead of "python3 setup.py".  I have python3-stdeb=0.8.2-4
> installed.
>
> wget
> https://pypi.python.org/packages/source/F/Flask-Login/Flask-Login-0.3.2.tar.gz
> py2dsc --with-python3=True --no-python2-scripts=True
> --no-python3-scripts=False --with-python2=False  Flask-Login-0.3.2.tar.gz
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> running the following command in directory:
> deb_dist/tmp_py2dsc/Flask-Login-0.3.2
> /usr/bin/python setup.py --command-packages stdeb.command sdist_dsc
> --dist-dir=/home/marques/src/deb_dist
> --use-premade-distfile=/home/marques/src/Flask-Login-0.3.2.tar.gz
> --with-python2=False --with-python3=True --no-python2-scripts=True
> --no-python3-scripts=False
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> running sdist_dsc
> running egg_info
> writing requirements to Flask_Login.egg-info/requires.txt
> writing Flask_Login.egg-info/PKG-INFO
> writing top-level names to Flask_Login.egg-info/top_level.txt
> writing dependency_links to Flask_Login.egg-info/dependency_links.txt
> reading manifest file 'Flask_Login.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'Flask_Login.egg-info/SOURCES.txt'
> CALLING dpkg-source -b flask-login-0.3.2 flask-login_0.3.2.orig.tar.gz (in
> dir /home/marques/src/deb_dist)
> dpkg-source: info: using source format `3.0 (quilt)'
> dpkg-source: info: building flask-login using existing
> ./flask-login_0.3.2.orig.tar.gz
> dpkg-source: info: building flask-login in
> flask-login_0.3.2-1.debian.tar.xz
> dpkg-source: info: building flask-login in flask-login_0.3.2-1.dsc
> dpkg-buildpackage: source package flask-login
> dpkg-buildpackage: source version 0.3.2-1
> dpkg-buildpackage: source distribution unstable
> dpkg-buildpackage: source changed by Matthew Frazier <
> leafstormrush at gmail.com>
>  dpkg-source --before-build flask-login-0.3.2
>  fakeroot debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_testdir -O--buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:170: python3.4 setup.py clean
> running clean
> removing
> '/home/marques/src/deb_dist/flask-login-0.3.2/.pybuild/pythonX.Y_3.4/build'
> (and everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.4' does not exist -- can't clean it
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b flask-login-0.3.2
> dpkg-source: info: using source format `3.0 (quilt)'
> dpkg-source: info: building flask-login using existing
> ./flask-login_0.3.2.orig.tar.gz
> dpkg-source: warning: ignoring deletion of directory Flask_Login.egg-info
> dpkg-source: warning: ignoring deletion of file
> Flask_Login.egg-info/dependency_links.txt, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file
> Flask_Login.egg-info/not-zip-safe, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file
> Flask_Login.egg-info/PKG-INFO, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file
> Flask_Login.egg-info/requires.txt, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file
> Flask_Login.egg-info/SOURCES.txt, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file
> Flask_Login.egg-info/top_level.txt, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file
> Flask_Login.egg-info/version_info.json, use --include-removal to override
> dpkg-source: info: building flask-login in
> flask-login_0.3.2-1.debian.tar.xz
> dpkg-source: info: building flask-login in flask-login_0.3.2-1.dsc
>  dpkg-genchanges -S -sa >../flask-login_0.3.2-1_source.changes
> dpkg-genchanges: including full source code in upload
>  dpkg-source --after-build flask-login-0.3.2
> dpkg-buildpackage: full upload (original source is included)
> dpkg-source: warning: extracting unsigned source package
> (flask-login_0.3.2-1.dsc)
> dpkg-source: info: extracting flask-login in flask-login-0.3.2
> dpkg-source: info: unpacking flask-login_0.3.2.orig.tar.gz
> dpkg-source: info: unpacking flask-login_0.3.2-1.debian.tar.xz
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151022/e597185f/attachment.html>


More information about the Distutils-SIG mailing list