setup3.py
18 lines
| 474 B
| text/x-python
|
PythonLexer
Thomas Kluyver
|
r4750 | import os.path | ||
from setuptools import setup | ||||
Thomas Kluyver
|
r4893 | from setupbase import (setup_args, | ||
find_scripts, | ||||
find_packages, | ||||
find_package_data, | ||||
) | ||||
Thomas Kluyver
|
r4750 | |||
Thomas Kluyver
|
r4765 | setup_args['entry_points'] = find_scripts(True, suffix='3') | ||
Thomas Kluyver
|
r4750 | setup_args['packages'] = find_packages() | ||
Thomas Kluyver
|
r4838 | setup_args['package_data'] = find_package_data() | ||
Thomas Kluyver
|
r4750 | |||
Thomas Kluyver
|
r4765 | def main(): | ||
setup(use_2to3 = True, **setup_args) | ||||
if __name__ == "__main__": | ||||
main() | ||||