server: Add a fallback MIME type (application/octet-stream)
[package-cache.git] / setup.py
1 # Copyright (C) 2014 W. Trevor King <wking@tremily.us>
2 #
3 # This file is part of package-cache.
4 #
5 # package-cache is free software: you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the Free
7 # Software Foundation, either version 3 of the License, or (at your option) any
8 # later version.
9 #
10 # package-cache is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
13 # details.
14 #
15 # You should have received a copy of the GNU General Public License along with
16 # package-cache.  If not, see <http://www.gnu.org/licenses/>.
17
18 "A caching proxy for package downloads"
19
20 import codecs as _codecs
21 from distutils.core import setup
22 import os.path as _os_path
23
24 from package_cache import __version__
25
26
27 _this_dir = _os_path.dirname(__file__)
28
29
30 setup(
31     name='package-cache',
32     version=__version__,
33     maintainer='W. Trevor King',
34     maintainer_email='wking@tremily.us',
35     url='http://blog.tremily.us/posts/package-cache/',
36     download_url='https://github.com/wking/package-cache/archive/v{}.tar.gz'.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 :: 2 - Pre-Alpha',
44         'Environment :: No Input/Output (Daemon)',
45         'Intended Audience :: System Administrators',
46         'Operating System :: OS Independent',
47         'License :: OSI Approved :: GNU General Public License (GPL)',
48         'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
49         'Programming Language :: Python',
50         'Programming Language :: Python :: 3',
51         'Programming Language :: Python :: 3.3',
52         'Programming Language :: Python :: 3.4',
53         'Topic :: Internet :: Proxy Servers',
54         'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
55         'Topic :: System :: Software Distribution',
56         ],
57     packages=['package_cache'],
58     scripts=['package-cache'],
59     provides=['package_cache'],
60     )