source: ceda_http_fileserver/trunk/ceda_http_fileserver/setup.py @ 7040

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/ceda_http_fileserver/trunk/ceda_http_fileserver/setup.py@7040
Revision 7040, 2.8 KB checked in by pjkersha, 9 years ago (diff)

Incomplete - task 9: Data Browser Replacement

  • fixed client byte range requests bug - added 'bytes=' prefix and added support for default start and end indices e.g. bytes=-9 or bytes=100-
  • Property svn:keywords set to Id
Line 
1#!/usr/bin/env python
2"""Distribution Utilities setup program for CEDA (Centre for Environmental Data
3Archival) HTTP File Server WSGI Application Package
4
5NERC DataGrid Project
6"""
7__author__ = "P J Kershaw"
8__date__ = "15/06/10"
9__copyright__ = "(C) 2010 Science and Technology Facilities Council"
10__license__ = """http://www.apache.org/licenses/LICENSE-2.0"""
11__contact__ = "Philip.Kershaw@stfc.ac.uk"
12__revision__ = '$Id$'
13
14# Bootstrap setuptools if necessary.
15from ez_setup import use_setuptools
16use_setuptools()
17
18from setuptools import setup, find_packages
19import setuptools
20
21setup(
22    name =              'ceda_http_file_server',
23    version =           '0.2.0',
24    description =       'CEDA HTTP File Server WSGI Application',
25    long_description =  '''\
26A WSGI based HTTP file server application extended and enhanced from an
27original package 'wsgi-fileserver' by OSAF / Mikeal Rogers.
28
29It supports block based file read/write with configurable block size, client
30range requests e.g. get the first 600 bytes: 0-599 and provides hooks for
31easy integration with PasteDeploy.s
32''',
33    author =            'Philip Kershaw',
34    author_email =      'Philip.Kershaw@stfc.ac.uk',
35    maintainer =        'Philip Kershaw',
36    maintainer_email =  'Philip.Kershaw@stfc.ac.uk',
37    url =               'http://proj.badc.rl.ac.uk/badc/wiki/DevGroup/FileBrowserUpgrade',
38    platforms =         ['POSIX', 'Linux', 'Windows'],
39    install_requires =  ['PasteDeploy', 'PasteScript'],
40    license =           __license__,
41    test_suite =        'ceda.server.wsgi.fileserver.test',
42    packages =          find_packages(),
43    package_data =      {
44        'ceda.server.wsgi.fileserver.test': ['*.ini'], 
45        'ceda.server.wsgi.fileserver.test.htdocs': ['/my*.*', 'sub.dir1/*.PNG'],
46        },
47#    package_data =      {
48#        'ceda.server.wsgi.fileserver.test': [
49#            '*.ini',
50#            'htdocs/*.*',
51#            'htdocs/sub.dir1/*.*',
52#            'htdocs/sub.dir1/SubDir 3/*.*',
53#            'htdocs/.sub-dir2/*.*',
54#        ]
55#    },
56    classifiers = [
57        'Development Status :: 3 - Alpha',
58        'Environment :: Console',
59        'Environment :: Web Environment',
60        'Intended Audience :: Developers',
61        'Intended Audience :: System Administrators',
62        'Intended Audience :: Science/Research',
63        'License :: OSI Approved :: BSD License',
64        'Natural Language :: English',
65        'Operating System :: Microsoft :: Windows',
66        'Operating System :: POSIX :: Linux',
67        'Programming Language :: Python',
68        'Topic :: Internet :: WWW/HTTP :: WSGI :: Application'
69        'Topic :: Internet',
70        'Topic :: Scientific/Engineering',
71        'Topic :: System :: Distributed Computing',
72        'Topic :: Software Development :: Libraries :: Python Modules'
73    ],
74    zip_safe = False
75)
Note: See TracBrowser for help on using the repository browser.