Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove python2 leftovers #2342

Open
trufae opened this issue Apr 26, 2024 · 0 comments
Open

Remove python2 leftovers #2342

trufae opened this issue Apr 26, 2024 · 0 comments
Labels
python bindings
Milestone

Comments

@trufae
Copy link
Contributor

trufae commented Apr 26, 2024

root@c0606c7eae3e:/capstone/bindings/python# make install
rm -rf src/
if test -n ""; then \
	python2 setup.py build install --root=""; \
else \
	python2 setup.py build install; \
fi
/bin/sh: 4: python2: not found
make: *** [Makefile:11: install] Error 127

git grep

root@c0606c7eae3e:/capstone/bindings/python# git grep python2
Makefile:PYTHON2 ?= python2
capstone/__init__.py:_python2 = sys.version_info[0] < 3
capstone/__init__.py:if _python2:
capstone/__init__.py:    if _python2:
capstone/__init__.py:        '''if not _python2:

actually doing make PYTHON2=python3 works just fine. so i dont see the point on keep supporting a 12 year old version and deprecated interpreter

@Rot127 Rot127 added the python bindings label Apr 26, 2024
@Rot127 Rot127 added this to the v6 milestone Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python bindings
Projects
Status: Todo
Development

No branches or pull requests

2 participants