File: setup.py

package info (click to toggle)
python-gnuplot 1.8-1.1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 940 kB
  • ctags: 472
  • sloc: python: 2,017; makefile: 44; sh: 24
file content (42 lines) | stat: -rwxr-xr-x 1,221 bytes parent folder | download | duplicates (5)
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
#! /usr/bin/env python

# Copyright (C) 2001-2003 Michael Haggerty <mhagger@alum.mit.edu>
#
# This file is licensed under the GNU Lesser General Public License
# (LGPL).  See LICENSE.txt for details.

"""Setup script for the Gnuplot module distribution.

"""

from distutils.core import setup

# Get the version number from the __init__ file:
from __init__ import __version__

long_description = """\
Gnuplot.py is a Python package that allows you to create graphs from
within Python using the gnuplot plotting program.
"""

setup (
    # Distribution meta-data
    name='gnuplot-py',
    version=__version__,
    description='A Python interface to the gnuplot plotting program.',
    long_description=long_description,
    author='Michael Haggerty',
    author_email='mhagger@alum.mit.edu',
    url='http://gnuplot-py.sourceforge.net',
    license='LGPL',
    # This line is a workaround for a spelling error in earlier
    # versions of distutils.  The error has been fixed as of
    # python2.3, but we leave this line here for compatibility with
    # older python versions.
    licence='LGPL',

    # Description of the package in the distribution
    package_dir={'Gnuplot' : '.'},
    packages=['Gnuplot'],
    )