Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10549

PLY problem

From Ole Streicher <olebole@debian.org>
Newsgroups linux.debian.maint.python
Subject PLY problem
Date 2018-05-16 21:50 +0200
Message-ID <vQaAW-5at-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

I have (still) problems with PLY generated files in the astropy package:
they are just not generated, and I have no idea how to generate them
correctly. For example, there are the files

astropy/coordinates/angle_lextab.py
astropy/coordinates/angle_parsetab.py

which are now cleaned up in d/clean, and they are somehow cached
regenerated from

astropy/coordinates/angle_utilities.py

The latter file contains the hint

# This module includes files automatically generated from ply (these end in
# _lextab.py and _parsetab.py). To generate these files, remove them from this
# folder, then build astropy and run the tests in-place:
#
#   python setup.py build_ext --inplace
#   pytest astropy/coordinates

but this seems not to fit very well into the pybuild procedure. And, I
have a few more of them (in astropy/units/format).

What would be the best way to regenerate them?

Best regards

Ole

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

PLY problem Ole Streicher <olebole@debian.org> - 2018-05-16 21:50 +0200
  Re: PLY problem Piotr Ożarowski <piotr@debian.org> - 2018-05-17 10:40 +0200

csiph-web