FFT_tools: update docstrings for Sphinx 1.3
[FFT-tools.git] / setup.py
index 6d744b5e0b8bfcf94eaa1f7342d6806f9699a845..b8efd42dbac15a8322ecf682a7e156bbcc484371 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -6,30 +6,33 @@ import os.path
 from FFT_tools import __version__
 
 
-classifiers = """\
-Development Status :: 2 - Pre-Alpha
-Intended Audience :: Developers
-Intended Audience :: Science/Research
-Operating System :: POSIX
-Operating System :: Unix
-License :: OSI Approved :: BSD License
-Programming Language :: Python
-Topic :: Scientific/Engineering
-Topic :: Software Development :: Libraries :: Python Modules
-"""
-
+package_name='FFT-tools'
 _this_dir = os.path.dirname(__file__)
 
-setup(name='FFT-tools',
+setup(name=package_name,
       version=__version__,
       maintainer='W. Trevor King',
-      maintainer_email='wking@drexel.edu',
-      url = 'http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/FFT-tools/',
-      download_url = 'http://www.physics.drexel.edu/~wking/code/python/FFT-tools-%s.tar.gz' % __version__,
-      license = 'GNU General Public License (GPL)',
-      platforms = ['all'],
-      description = doclines[0],
-      long_description = open(os.path.join(_this_dir, 'README'), 'r').read(),
-      classifiers = filter(None, classifiers.split('\n')),
-      py_modules = ['FFT_tools'],
+      maintainer_email='wking@tremily.us',
+      url='http://blog.tremily.us/posts/{}/'.format(package_name),
+      download_url='http://git.tremily.us/?p={}.git;a=snapshot;h={};sf=tgz'.format(package_name, __version__),
+      license='GNU General Public License (GPL)',
+      platforms=['all'],
+      description=__doc__,
+      long_description=open(os.path.join(_this_dir, 'README'), 'r').read(),
+      classifiers=[
+        'Development Status :: 2 - Pre-Alpha',
+        'Intended Audience :: Developers',
+        'Intended Audience :: Science/Research',
+        'Operating System :: OS Independent',
+        'License :: OSI Approved :: GNU General Public License (GPL)',
+        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
+        'Programming Language :: Python',
+        'Programming Language :: Python :: 2',
+        'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: 3',
+        'Programming Language :: Python :: 3.2',
+        'Topic :: Scientific/Engineering',
+        'Topic :: Software Development :: Libraries :: Python Modules',
+        ],
+      py_modules=['FFT_tools'],
       )