Last change
on this file since 2521 was 2517, checked in by Malte Marquarding, 13 years ago |
More updates to get a distutils/scons build going
|
File size:
1.1 KB
|
Line | |
---|
1 | import glob
|
---|
2 | try:
|
---|
3 | from setuptools import setup
|
---|
4 | except ImportError, ex:
|
---|
5 | from distutils.core import setup
|
---|
6 | from distutils.core import Extension
|
---|
7 | from scons_ext import scons_ext
|
---|
8 | from distutils import ccompiler
|
---|
9 |
|
---|
10 | PKGNAME = "asap"
|
---|
11 | asapso = Extension(name="%s._%s" % (PKGNAME, PKGNAME), sources=[])
|
---|
12 |
|
---|
13 | setup(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
|
---|
21 | data 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.