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

Ported to python3 #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Ported to python3 #6

wants to merge 3 commits into from

Conversation

yutzhead
Copy link

@yutzhead yutzhead commented Sep 4, 2015

This will install vy in the python version that setup.py is called with. i.e:

# python setup.py install

installs the python2 version on most systems,

# python3 setup.py install

installs the python3 version.

Python3 also requires python3-tkinter and python3-pygments. Also requires untwisted in python3 flavor, see there.

@@ -38,6 +38,8 @@ def remove(self, fd):

def write(self, data):
for ind in self.base:
if sys.version_info >= (3, 0):
data = str(data)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it just be better to do ind.write(str(data))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it doesn't matter much either way? (would get removed when Py2x is dropped).

@iogf
Copy link
Member

iogf commented May 8, 2017

I need to first port untwisted to python3 then make vy work with python3. I plan to add some features that are py3 related with untwisted, i'll keep this pull request opened, once i have untwisted done for py3 then i merge this pull request. I think in two or three months i'll have time to work on untwisted again.

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

Successfully merging this pull request may close these issues.

None yet

4 participants