Source

noor / setup.py

from distutils.core import setup

import noor


classifiers=[
    'Development Status :: 4 - Beta',
    'Operating System :: OS Independent',
    'Environment :: X11 Applications :: GTK',
    'Environment :: Console',
    # Have not been tested on MacOS
    # 'Environment :: MacOS X',
    'Intended Audience :: End Users/Desktop',
    'License :: OSI Approved :: GNU General Public License (GPL)',
    'Natural Language :: English',
    'Programming Language :: Python',
    'Topic :: Religion']

def get_long_description():
    lines = open('README.txt').read().splitlines(False)
    end = lines.index('License')
    return '\n' + '\n'.join(lines[:end]) + '\n'

setup(name='noor',
      version=noor.VERSION,
      description='A python Quran viewer',
      long_description=get_long_description(),
      author='Ali Gholami Rudi',
      author_email='aligrudi@users.sourceforge.net',
      url='http://noor.sf.net/',
      packages=['noor'],
      scripts=['noorgtk.py', 'noorhtmls.py', 'noortxt.py'],
      package_data={'noor': ['data/suras.txt', 'data/quran-text.txt']},
      license='GNU GPL',
      classifiers=classifiers)