scrapinghub / js2xml

Convert Javascript code to an XML document
MIT License
186 stars 23 forks source link

Distribute with *tab.py files #19

Closed redapple closed 7 years ago

redapple commented 7 years ago

Could fix #16

Following "10. Packaging Advice" at http://www.dabeaz.com/ply/ply.html#ply_nn49

As of PLY-3.6, the parsetab.py file should be compatible across all versions of Python including Python 2 and 3. Thus, a table file generated in Python 2 should work fine if it's used on Python 3. Because of this, it should be relatively harmless to distribute the parsetab.py file yourself if you need to.

I hope this applies to lextab.py and yacctab.py too.

codecov-io commented 7 years ago

Current coverage is 90.53% (diff: 0.00%)

Merging #19 into master will decrease coverage by 3.89%

@@             master        #19   diff @@
==========================================
  Files             7          9     +2   
  Lines           628        655    +27   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            593        593          
- Misses           35         62    +27   
  Partials          0          0          

Powered by Codecov. Last update 3c1dcf4...cf4fdd5