Skip to content

Modified installation to entry_points to support python2 and python3 correctly#10

Open
NJDFan wants to merge 3 commits intoSnaipe:masterfrom
NJDFan:master
Open

Modified installation to entry_points to support python2 and python3 correctly#10
NJDFan wants to merge 3 commits intoSnaipe:masterfrom
NJDFan:master

Conversation

@NJDFan
Copy link

@NJDFan NJDFan commented Jun 18, 2017

I took advantage of the setuptools entry_points functionality to make the installer install correctly on both python2 and python3. This also took adding from __future__ import print_function to fully support py2. Also, since the new installation relies on setuptools features not available in distutils I removed distutils from the list of legal imports.

Testing in a python2 virtualenv and a python3 venv, Ubuntu 16.04 only.

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.

1 participant