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


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

PLY problem

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Ole Streicher <olebole@debian.org>
Newsgroups linux.debian.maint.python
Subject PLY problem
Date Wed, 16 May 2018 21:50:02 +0200
Message-ID <vQaAW-5at-19@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Wed May 16 19:42:18 2018
Old-Return-Path <news@liska.ath.cx>
X-Amavis-Spam-Status No, score=-6.75 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=SKIP(-1.5) CL_IP_EQ_FROM_IP=-2 (check from: .ath. - helo: .liska.ath. - helo-domain: .ath.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain
Lines 31
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15954
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87tvr72ylc.fsf@debian.org
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 16 May 2018 21:24:15 +0200
X-Original-Message-ID <87tvr72ylc.fsf@debian.org>
Xref csiph.com linux.debian.maint.python:10549

Show key headers only | 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