Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (18 sloc) 0.575 kb
#!/usr/bin/env python
"""
A setup.py script to use setuptools, which gives egg goodness, etc.
This is used to build installers for OS X through bdist_mpkg.
Notes
-----
Using ``python setupegg.py install`` directly results in file permissions being
set wrong, with nose refusing to run any tests. To run the tests anyway, use::
>>> np.test(extra_argv=['--exe'])
"""
import sys
from setuptools import setup
if sys.version_info[0] >= 3:
import imp
setupfile = imp.load_source('setupfile', 'setup.py')
setupfile.setup_package()
else:
execfile('setup.py')
Jump to Line
Something went wrong with that request. Please try again.