Comments (1)
Don't run setup.py
directly, install via pip:
❯ python3.12 -m pip install .
Processing /private/tmp/ply
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: ply
Building wheel for ply (pyproject.toml) ... done
Created wheel for ply: filename=ply-2022.10.27-py3-none-any.whl size=32918 sha256=a0f1bbdd5c05cb5c970024590c5129d4c32a79962acc2a98b43ada7c00de6521
Stored in directory: /private/var/folders/p6/lf2s1s5d4kb335g2n1td8z8c0000gn/T/pip-ephem-wheel-cache-tpvn2k0e/wheels/88/ef/05/2f943383a0eabc3a4eea06256dffaad1aadfb04b4645b498f8
Successfully built ply
Installing collected packages: ply
Successfully installed ply-2022.10.27
❯ python3.12 tests/testlex.py
/private/tmp/ply/tests/testlex.py:193: SyntaxWarning: invalid escape sequence '\#'
"ERROR: Make sure '#' in rule 't_POUND' is escaped with '\#'")
.....................................
----------------------------------------------------------------------
Ran 37 tests in 0.046s
OK
❯ python3.12 tests/testyacc.py
....................................
----------------------------------------------------------------------
Ran 36 tests in 0.030s
OK
The long version: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
from ply.
Related Issues (20)
- Simple typo in doc/ply.md about error handler example HOT 1
- Python 3.11: inability to use global inline flags HOT 3
- yacc argument "write_tables" is missing in 3.11 HOT 5
- Warn user about tuple flattening in precedence table HOT 3
- PyPI package HOT 2
- Trying to get in touch regarding a security issue
- "global flags not at the start of the expression" error when using in-line global regex flag with Python 11+ HOT 1
- t_AUTOINCREMENT error ?
- Please make a new release HOT 1
- extreme slowness HOT 5
- Read grammar from files HOT 2
- Re examples/ansic HOT 1
- lextab.py and yacctab.py HOT 13
- Exporting gramma for documentation
- ssl cert issue for the website
- License HOT 2
- "state" is ambiguous in the documentation. HOT 1
- lex.lex() can get some rules in the wrong order. HOT 1
- Documentation in doc/ply.md lacks important details about creating a custom lexer. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ply.