Sort NamedItems by abbrev first, since that's often what we use.
[chemdb.git] / setup.py
1 # Copyright (C) 2012 W. Trevor King
2 #
3 # This file is part of update-copyright.
4 #
5 # update-copyright is free software: you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation, either version 3 of the
8 # License, or (at your option) any later version.
9 #
10 # update-copyright is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with update-copyright.  If not, see
17 # <http://www.gnu.org/licenses/>.
18
19 "Track chemical inventories and produce inventories and door warnings."
20
21 import codecs as _codecs
22 from distutils.core import setup as _setup
23 import os.path as _os_path
24
25 from chemdb import __version__
26
27
28 _this_dir = _os_path.dirname(__file__)
29
30 _setup(
31     name='chemdb',
32     version=__version__,
33     maintainer='W. Trevor King',
34     maintainer_email='wking@drexel.edu',
35     url='http://blog.tremily.us/posts/ChemDB/',
36     download_url='http://git.tremily.us/?p=chemdb.git;a=snapshot;h={};sf=tgz'.format(__version__),
37     license='GNU General Public License (GPL)',
38     platforms=['all'],
39     description=__doc__,
40     long_description=_codecs.open(
41         _os_path.join(_this_dir, 'README'), 'r', encoding='utf-8').read(),
42     classifiers=[
43         'Development Status :: 3 - Alpha',
44         'Framework :: Django',
45         'Intended Audience :: Science/Research',
46         'Operating System :: OS Independent',
47         'License :: OSI Approved :: GNU General Public License (GPL)',
48         'Programming Language :: Python',
49         'Topic :: Database',
50         'Topic :: Scientific/Engineering :: Chemistry',
51         ],
52     packages=['chemdb', 'chemdb.templatetags'],
53     provides=['chemdb', 'chemdb.templatetags'],
54     package_data = {
55         'chemdb': [
56             'fixtures/*',
57             'static/chemdb/*',
58             'templates/chemdb/*.html',
59             'templates/chemdb/doc/*',
60             ]},
61     )