forked from tschaume/gnuplot-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·45 lines (36 loc) · 1.25 KB
/
setup.py
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
#! /usr/bin/env python
# Copyright (C) 2001-2003 Michael Haggerty <[email protected]>
#
# This file is licensed under the GNU Lesser General Public License
# (LGPL). See LICENSE.txt for details.
"""Setup script for the Gnuplot module distribution.
"""
try:
from setuptools import setup
except ImportError:
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='[email protected]',
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'],
)