Rev | Line | |
---|
[2490] | 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 |
---|
[2508] | 7 | from scons_ext import scons_ext |
---|
[2490] | 8 | from distutils import ccompiler |
---|
| 9 | |
---|
| 10 | PKGNAME = "asap" |
---|
[2504] | 11 | asapso = Extension(name="%s._%s" % (PKGNAME, PKGNAME), sources=[]) |
---|
[2490] | 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 | ''', |
---|
[2504] | 23 | package_dir = { PKGNAME: 'python' }, |
---|
| 24 | packages = [ PKGNAME ], |
---|
[2490] | 25 | scripts = ["bin/asap", "bin/asap_update_data",], |
---|
| 26 | license = 'GPL', |
---|
[2504] | 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.