File: setup.py

package info (click to toggle)
configobj 4.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 704 kB
  • ctags: 240
  • sloc: python: 2,557; makefile: 15
file content (48 lines) | stat: -rwxr-xr-x 1,683 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# setup.py
# Install script for ConfigObj
# Copyright (C) 2005 Michael Foord, Mark Andrews, Nicola Larosa
# E-mail: fuzzyman AT voidspace DOT org DOT uk
#         mark AT la-la DOT com
#         nico AT tekNico DOT net

# This software is licensed under the terms of the BSD license.
# http://www.voidspace.org.uk/python/license.shtml
# Basically you're free to copy, modify, distribute and relicense it,
# So long as you keep a copy of the license with it.

# Scripts maintained at http://www.voidspace.org.uk/python/index.shtml
# For information about bugfixes, updates and support, please join the
# Rest2Web mailing list:
# http://lists.sourceforge.net/lists/listinfo/rest2web-develop
# Comments, suggestions and bug reports welcome.
"""
**setup.py** for ``configobj`` and ``validate`` modules.
"""

if __name__ == '__main__':
    import sys
    from distutils.core import setup
    from configobj import __version__ as VERSION

    NAME = 'configobj'
    MODULES = 'configobj', 'validate'
    DESCRIPTION = 'Config file reading, writing, and validation.'
    URL = 'http://www.voidspace.org.uk/python/configobj.html'
    LICENSE = 'BSD'
    PLATFORMS = ["Platform Independent"]

    if sys.version < '2.2.3':
        from distutils.dist import DistributionMetadata
        DistributionMetadata.classifiers = None
        DistributionMetadata.download_url = None

    setup(name= NAME,
          version= VERSION,
          description= DESCRIPTION,
          license = LICENSE,
          platforms = PLATFORMS,
          author= 'Michael Foord & Nicola Larosa',
          author_email= 'fuzzyman@voidspace.org.uk',
          url= URL,
          py_modules = MODULES,
         )