##// END OF EJS Templates
Merge pull request #770 from minrk/jsonclean...
Merge pull request #770 from minrk/jsonclean Ensures all replies from ipkernel are clean for json (not just oinfo), and guesses stdin.encoding before using sys.getdefaultencoding in json_clean.

File last commit:

r4765:9b62327a
r4797:ede79361 merge
Show More
setup3.py
13 lines | 312 B | text/x-python | PythonLexer
Thomas Kluyver
Make installation with Python 3 possible.
r4750 import os.path
from setuptools import setup
from setupbase import (setup_args, find_scripts, find_packages)
Thomas Kluyver
Allow 'python setup.py install' to work correctly for either Python 2 or 3.
r4765 setup_args['entry_points'] = find_scripts(True, suffix='3')
Thomas Kluyver
Make installation with Python 3 possible.
r4750 setup_args['packages'] = find_packages()
Thomas Kluyver
Allow 'python setup.py install' to work correctly for either Python 2 or 3.
r4765 def main():
setup(use_2to3 = True, **setup_args)
if __name__ == "__main__":
main()