source: trunk/distutils/setup.py@ 2504

Last change on this file since 2504 was 2504, checked in by Malte Marquarding, 13 years ago

handle extension build in scons

File size: 1.1 KB
Line 
1import glob
2try:
3 from setuptools import setup
4except ImportError, ex:
5 from distutils.core import setup
6from distutils.core import Extension
7from scons_ect import scons_ext
8from distutils import ccompiler
9
10PKGNAME = "asap"
11asapso = Extension(name="%s._%s" % (PKGNAME, PKGNAME), sources=[])
12
13setup(name = PKGNAME,
14 version = '4.1.x-trunk',
15 description = 'ATNF Spectral-line Analysis Package',
16 author = 'Malte Marquarding',
17 author_email = 'Malte.Marquarding@csiro.au',
18 url = 'http://svn.atnf.csiro.au/trac/asap',
19 keywords = ['radio astronomy', 'spectral-line', 'ATNF'],
20 long_description = '''A package to process and analyse spectral-line
21data from (ATNF) single-dish telescopes.
22''',
23 package_dir = { PKGNAME: 'python' },
24 packages = [ PKGNAME ],
25 scripts = ["bin/asap", "bin/asap_update_data",],
26 license = 'GPL',
27 install_requires = ["ipython>=0.11", "matplotlib>=0.99", "numpy>=1.3"],
28 setup_requires = [ "scons>=1.0" ],
29 ext_modules =[ asapso ],
30 cmdclass={'build_ext': scons_ext}
31
32 )
Note: See TracBrowser for help on using the repository browser.