Created
December 2, 2019 10:16
-
-
Save mcepl/8641ad5dfda401fcc0baea4da6f3596e to your computer and use it in GitHub Desktop.
Log of the pdb session
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dephell_markers-1.0.2@stitny$ /usr/bin/python3 -mpdb setup.py install -O1 --skip-build --force --root /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64 --prefix /usr | |
> /home/matej/build/devel:languages:python/python-dephell-markers/dephell_markers-1.0.2/setup.py(7)<module>() | |
-> try: | |
(Pdb) import setuptools.command.egg_info | |
(Pdb) b setuptools.command.egg_info.egg_info.finalize_options | |
Breakpoint 1 at /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py:193 | |
(Pdb) run | |
Restarting setup.py with arguments: | |
setup.py install -O1 --skip-build --force --root /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64 --prefix /usr | |
> /home/matej/build/devel:languages:python/python-dephell-markers/dephell_markers-1.0.2/setup.py(7)<module>() | |
-> try: | |
(Pdb) l | |
2 | |
3 # DO NOT EDIT THIS FILE! | |
4 # This file has been autogenerated by dephell <3 | |
5 # https://github.com/dephell/dephell | |
6 | |
7 -> try: | |
8 from setuptools import setup | |
9 except ImportError: | |
10 from distutils.core import setup | |
11 | |
12 import os.path | |
(Pdb) n | |
> /home/matej/build/devel:languages:python/python-dephell-markers/dephell_markers-1.0.2/setup.py(8)<module>() | |
-> from setuptools import setup | |
(Pdb) n | |
> /home/matej/build/devel:languages:python/python-dephell-markers/dephell_markers-1.0.2/setup.py(12)<module>() | |
-> import os.path | |
(Pdb) n | |
> /home/matej/build/devel:languages:python/python-dephell-markers/dephell_markers-1.0.2/setup.py(14)<module>() | |
-> readme = '' | |
(Pdb) cont | |
(Pdb) cont | |
running install | |
running install_lib | |
copying build/lib/dephell_markers/_cached_property.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers | |
copying build/lib/dephell_markers/_constants.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers | |
copying build/lib/dephell_markers/__init__.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers | |
copying build/lib/dephell_markers/_markers.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers | |
copying build/lib/dephell_markers/_marker/_version.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_marker | |
copying build/lib/dephell_markers/_marker/_base.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_marker | |
copying build/lib/dephell_markers/_marker/__init__.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_marker | |
copying build/lib/dephell_markers/_marker/_string.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_marker | |
copying build/lib/dephell_markers/_operation/_or.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_operation | |
copying build/lib/dephell_markers/_operation/_base.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_operation | |
copying build/lib/dephell_markers/_operation/__init__.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_operation | |
copying build/lib/dephell_markers/_operation/_and.py -> /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_operation | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/__init__.py to __init__.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_cached_property.py to _cached_property.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_constants.py to _constants.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_marker/__init__.py to __init__.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_marker/_base.py to _base.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_marker/_string.py to _string.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_marker/_version.py to _version.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_markers.py to _markers.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_operation/__init__.py to __init__.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_operation/_and.py to _and.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_operation/_base.py to _base.cpython-37.pyc | |
byte-compiling /var/tmp/home/abuild/rpmbuild/BUILDROOT/python-dephell-markers-1.0.2-0.x86_64/usr/lib/python3.7/site-packages/dephell_markers/_operation/_or.py to _or.cpython-37.pyc | |
writing byte-compilation script '/tmp/tmpcnuzmox6.py' | |
/usr/bin/python3 /tmp/tmpcnuzmox6.py | |
removing /tmp/tmpcnuzmox6.py | |
running install_egg_info | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(198)finalize_options() | |
-> self.egg_name = self.name | |
(Pdb) | |
(Pdb) l | |
193 B def finalize_options(self): | |
194 # Note: we need to capture the current value returned | |
195 # by `self.tagged_version()`, so we can later update | |
196 # `self.distribution.metadata.version` without | |
197 # repercussions. | |
198 -> self.egg_name = self.name | |
199 self.egg_version = self.tagged_version() | |
200 parsed_version = parse_version(self.egg_version) | |
201 | |
202 try: | |
203 is_version = isinstance(parsed_version, packaging.version.Version) | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(199)finalize_options() | |
-> self.egg_version = self.tagged_version() | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(200)finalize_options() | |
-> parsed_version = parse_version(self.egg_version) | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(202)finalize_options() | |
-> try: | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(203)finalize_options() | |
-> is_version = isinstance(parsed_version, packaging.version.Version) | |
(Pdb) | |
(Pdb) l | |
198 self.egg_name = self.name | |
199 self.egg_version = self.tagged_version() | |
200 parsed_version = parse_version(self.egg_version) | |
201 | |
202 try: | |
203 -> is_version = isinstance(parsed_version, packaging.version.Version) | |
204 spec = ( | |
205 "%s==%s" if is_version else "%s===%s" | |
206 ) | |
207 list( | |
208 parse_requirements(spec % (self.egg_name, self.egg_version)) | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(205)finalize_options() | |
-> "%s==%s" if is_version else "%s===%s" | |
(Pdb) p is_version | |
False | |
(Pdb) p parsed_version | |
<Version('1.0.2')> | |
(Pdb) p packaging.version.Version | |
<class 'setuptools.extern.packaging.version.Version'> | |
(Pdb) p type(parsed_version) | |
<class 'pkg_resources.extern.packaging.version.Version'> | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(207)finalize_options() | |
-> list( | |
(Pdb) p spec | |
'%s===%s' | |
(Pdb) | |
(Pdb) l | |
202 try: | |
203 is_version = isinstance(parsed_version, packaging.version.Version) | |
204 spec = ( | |
205 "%s==%s" if is_version else "%s===%s" | |
206 ) | |
207 -> list( | |
208 parse_requirements(spec % (self.egg_name, self.egg_version)) | |
209 ) | |
210 except ValueError: | |
211 raise distutils.errors.DistutilsOptionError( | |
212 "Invalid distribution name or version syntax: %s-%s" % | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(208)finalize_options() | |
-> parse_requirements(spec % (self.egg_name, self.egg_version)) | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(216)finalize_options() | |
-> if self.egg_base is None: | |
(Pdb) | |
(Pdb) l | |
211 raise distutils.errors.DistutilsOptionError( | |
212 "Invalid distribution name or version syntax: %s-%s" % | |
213 (self.egg_name, self.egg_version) | |
214 ) | |
215 | |
216 -> if self.egg_base is None: | |
217 dirs = self.distribution.package_dir | |
218 self.egg_base = (dirs or {}).get('', os.curdir) | |
219 | |
220 self.ensure_dirname('egg_base') | |
221 self.egg_info = to_filename(self.egg_name) + '.egg-info' | |
(Pdb) p self.egg_base | |
None | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(217)finalize_options() | |
-> dirs = self.distribution.package_dir | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(218)finalize_options() | |
-> self.egg_base = (dirs or {}).get('', os.curdir) | |
(Pdb) p dirs | |
{'': ''} | |
(Pdb) n | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(220)finalize_options() | |
-> self.ensure_dirname('egg_base') | |
(Pdb) p self.egg_base | |
'' | |
(Pdb) n | |
distutils.errors.DistutilsOptionError: error in 'egg_base' option: '' does not exist or is not a directory | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(220)finalize_options() | |
-> self.ensure_dirname('egg_base') | |
(Pdb) n | |
--Return-- | |
> /usr/lib/python3.7/site-packages/setuptools/command/egg_info.py(220)finalize_options()->None | |
-> self.ensure_dirname('egg_base') | |
(Pdb) n | |
SystemExit: error: error in 'egg_base' option: '' does not exist or is not a directory | |
> /home/matej/build/devel:languages:python/python-dephell-markers/dephell_markers-1.0.2/setup.py(54)<module>() | |
-> install_requires=['attrs', 'dephell-specifier', 'packaging'], | |
(Pdb) n | |
--Return-- | |
> /home/matej/build/devel:languages:python/python-dephell-markers/dephell_markers-1.0.2/setup.py(54)<module>()->None | |
-> install_requires=['attrs', 'dephell-specifier', 'packaging'], | |
(Pdb) l | |
49 'dephell_markers', 'dephell_markers._marker', | |
50 'dephell_markers._operation' | |
51 ], | |
52 package_dir={'': ''}, | |
53 package_data={}, | |
54 -> install_requires=['attrs', 'dephell-specifier', 'packaging'], | |
55 ) | |
[EOF] | |
(Pdb) n | |
SystemExit: error: error in 'egg_base' option: '' does not exist or is not a directory | |
> <string>(1)<module>()->None | |
(Pdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment