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

Port to Python 3.x #1

Open
FabriceSalvaire opened this issue Sep 19, 2014 · 1 comment
Open

Port to Python 3.x #1

FabriceSalvaire opened this issue Sep 19, 2014 · 1 comment
Milestone

Comments

@FabriceSalvaire
Copy link
Owner

But keep compatibility with pypy.

@prerakmody
Copy link

I used the following commands in my terminal with python3.8.

pip install 2to3
git clone [email protected]:FabriceSalvaire/PyDvi.git
2to3 --output-dir=PyDvi_py3 -W -n PyDvi
cd PyDvi_py3
cp ../PyDvi/README* .
cp -r ../PyDvi/doc/ .
python setup.py build
python setup.py install

Then in the python terminal

import PyDvi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants