File: setupegg.py

package info (click to toggle)
simpleitk 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 75,056 kB
  • sloc: cpp: 25,403; python: 3,060; sh: 1,131; ansic: 369; java: 260; cs: 215; makefile: 51; ruby: 47; tcl: 22
file content (17 lines) | stat: -rw-r--r-- 528 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""
A setup.py script to use setuptools, which gives wheel and egg goodness, etc.
"""
try:
    from setuptools import setup
except ImportError:
    # SimpleITK no longer provides ez_setup, but a copy may be around
    # so we give it a try. It's intended that setuptools be install in
    # a constructed virtualenv during the make process.
    from ez_setup import use_setuptools
    use_setuptools()
import os

from setuptools import setup

fn = os.path.dirname(os.path.realpath(__file__)) + '/setup.py'
exec(open(fn).read())