##// END OF EJS Templates
Replace has_key with in in magic_run and some pep-8 fixes.
Replace has_key with in in magic_run and some pep-8 fixes.

File last commit:

r4838:69b4a3aa
r4919:269e9c92
Show More
setup3.py
14 lines | 380 B | text/x-python | PythonLexer
Thomas Kluyver
Make installation with Python 3 possible.
r4750 import os.path
from setuptools import setup
Thomas Kluyver
Add notebook resources to Python 3 build process.
r4838 from setupbase import (setup_args, find_scripts, find_packages, find_package_data)
Thomas Kluyver
Make installation with Python 3 possible.
r4750
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
Add notebook resources to Python 3 build process.
r4838 setup_args['package_data'] = find_package_data()
Thomas Kluyver
Make installation with Python 3 possible.
r4750
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()