[MacPorts] #48603: py27-astropy build fails with AttributeError
MacPorts
noreply at macports.org
Mon Aug 17 11:41:16 PDT 2015
#48603: py27-astropy build fails with AttributeError
--------------------+--------------------------
Reporter: ram@… | Owner: robitaille@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: py-astropy
--------------------+--------------------------
I'm trying to install `py27-astropy-1.0.4_0` on a Mavericks machine and
it's failing with the following:
{{{
:info:build running build_py
:info:build Traceback (most recent call last):
:info:build File "setup.py", line 122, in <module>
:info:build **package_info
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
line 151, in setup
:info:build dist.run_commands()
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 953, in run_commands
:info:build self.run_command(cmd)
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 972, in run_command
:info:build cmd_obj.run()
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py",
line 127, in run
:info:build self.run_command(cmd_name)
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py",
line 326, in run_command
:info:build self.distribution.run_command(command)
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 971, in run_command
:info:build cmd_obj.ensure_finalized()
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py",
line 109, in ensure_finalized
:info:build self.finalize_options()
:info:build File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
astropy/py27-astropy/work/astropy-1.0.4/astropy_helpers/astropy_helpers/commands/build_py.py",
line 22, in finalize_options
:info:build SetuptoolsBuildPy.finalize_options(self)
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/setuptools/command/build_py.py", line 30, in
finalize_options
:info:build self.exclude_package_data =
(self.distribution.exclude_package_data or
:info:build AttributeError: Distribution instance has no attribute
'exclude_package_data'
}}}
Full build log is attached.
--
Ticket URL: <https://trac.macports.org/ticket/48603>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list